Re: psql & readline & win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql & readline & win32
Date: 2006-02-13 18:45:55
Message-ID: 200602131845.k1DIjt508859@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >>> At that point, psql becomes GPL, no question.
> >>
> >> Which means it's not happening, no?
>
> > To clearify, I meant the psql binary becomes GPL.
>
> There is no such thing as "the binary becomes GPL". GPL applies to
> the source code.

OK.

> > When we build psql with readline, which is our default on many
> > platforms, we are already be GPL'ing psql, at least according to the
> > copyright holders, FSF.
>
> No, we are NOT doing that, not even according to FSF. Our usage of
> a pre-installed readline library falls under this exception in the
> standard GPL terms:
>
> However, as a
> special exception, the source code distributed need not include
> anything that is normally distributed (in either source or binary
> form) with the major components (compiler, kernel, and so on) of the
> operating system on which the executable runs, unless that component
> itself accompanies the executable.
>
> When we link to a readline library that is normally present on the
> target system, we do not become covered by the GPL, because of this
> exception. But shipping readline in our package would be a flat
> violation of the GPL unless we are willing to relicense.

Interesting, but that phrase is for what you need to distribute for an
already-GPL source code. See the "GPL-related disputes" section:

http://en.wikipedia.org/wiki/Gpl

and an old email from me on the topic:

http://archives.postgresql.org/pgsql-general/2003-08/msg01811.php

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-02-13 19:02:33 Using stats_command_string for xact statistics
Previous Message Tom Lane 2006-02-13 18:25:58 Re: User Defined Types in Java