X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D75489F9F3D for ; Sun, 28 May 2006 07:01:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 32458-07 for ; Sun, 28 May 2006 07:00:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from samwel.tk (bsamwel.xs4all.nl [82.92.179.183]) by postgresql.org (Postfix) with ESMTP id 777629FA326 for ; Sun, 28 May 2006 07:00:55 -0300 (ADT) Received: from localhost ([127.0.0.1]) by samwel.tk with esmtp (Exim 4.62) (envelope-from ) id 1FkI4l-0007Ui-Qw; Sun, 28 May 2006 12:00:47 +0200 Message-ID: <44797470.1020209@samwel.tk> Date: Sun, 28 May 2006 11:59:12 +0200 From: Bart Samwel User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Tom Lane CC: Jim Brown , pgsql-odbc@postgresql.org Subject: Re: Library General Public Licence References: <20060527220025.50046.qmail@web54213.mail.yahoo.com> <14289.1148793585@sss.pgh.pa.us> In-Reply-To: <14289.1148793585@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: bart@samwel.tk X-SA-Exim-Scanned: No (on samwel.tk); SAEximRunCond expanded to false X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/59 X-Sequence-Number: 7730 Tom Lane wrote: > Jim Brown writes: >> I wrote a proprietary MS-Windows application (I can >> just hear the groans... sorry) that I hope to sell. It >> uses a backend database, and I like the option of >> using PostgreSQL for that. I need to know clearly what >> I need to do to distribute the psqlODBC driver with my >> app. > > I'm not a lawyer either, but my reading of the LGPL says that you > can distribute an LGPL library along with a proprietary application > that uses the library so long as you > > (1) include the source code of the library (or offer to provide it > on request, but if you're sending out CDs you might as well just > put the source code on to begin with). > > (2) provide the proprietary app in a form that can be re-linked with > a user-modified version of the library, ie, .o files or equivalent. > > Basically what the LGPL is saying is that someone should be able to > change the source code of the library and still use it with your app. > > (1) is certainly no skin off your nose except for a few more MB on > the distribution media. (2) might annoy you, especially if you have > illusions of being able to prevent reverse-engineering of your > executables. My impression of common practice is that no one actually > pays much attention to requirement (2), but it's there in black and white > in the LGPL text. If you want to keep yourself perfectly clean and > aboveboard you should honor it. Fortunately ODBC drivers are decoupled from the actual programs that use them by a standard interface. If I am correct then this implies that (2) is always met for psqlODBC. Cheers, Bart