[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PostgreSQL, LGPL and GPL.
From: |
Karen Hill |
Subject: |
Re: PostgreSQL, LGPL and GPL. |
Date: |
20 Oct 2006 12:43:36 -0700 |
User-agent: |
G2/1.0 |
John Hasler wrote:
> > Npgsql is LGPL. It means you must release the source of Npgsql when
> > distributing it, and if you modify Npgsql, but not have to release the
> > source under the (L)GPL of the software that calls Npgsql functions?
>
> Pretty much, but you must provide your software in a form that can be
> relinked.
>
What does that mean? In .NET, you add a reference to the Npgsql dll,
and then add "Using Npgsql;" to the top of the class you want to use
Npgsql in. So if you wrote something like this it would have to go
under the LGPL?:
Using Npgsql;
namespace foo{
class foobar
{
foobar()
{
String connectionString = "";
NpgsqlConnection conn = new NpgsqlConnection(connectionString);
}
}
}