Re: contrib and licensing

Lamar Owen <lamar.owen@wgcr.org>

From: Lamar Owen <lamar.owen@wgcr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "Dann Corbit" <DCorbit@connx.com>, "scott.marlowe" <scott.marlowe@ihs.com>, "Marc G. Fournier" <scrappy@hub.org>, "mlw" <pgsql@mohawksoft.com>, pgsql-hackers@postgresql.org
Date: 2003-04-03T16:38:59Z
Lists: pgsql-hackers
On Thursday 03 April 2003 09:29, Tom Lane wrote:
> Lamar Owen <lamar.owen@wgcr.org> writes:
> >>> And its stubs are in the backend, of all places.

> >> Really?  I must have missed that.

> > On Linux as compiled in Red Hat 9, at least:
> > [lowen@localhost lowen]$ ldd /usr/bin/postgres
> >         libreadline.so.4 => /usr/lib/libreadline.so.4 (0x401c6000)

> That's because our build mechanism links *all* needed libraries in *all*
> executables, rather than trying to distinguish which ones are actually
> used by each executable.  The ldd indication is the only connection to
> libreadline --- if it had been a statically-linked situation, you'd find
> no trace of readline (nor several other of these libraries, I suspect)
> in the backend executable.

As I said, its 'stub' is there.

But it is in (and used by) psql (as of 7.3.2).
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11