[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: etch-backports / postgresql-8.2



Hi,

Martin Pitt [2008-01-26 16:56 +0100]:
> 
> Gerfried Fuchs [2008-01-24 18:08 +0100]:
> > > >>i think currently are the following flags are wrong `pg_config`:
> > > >>BINDIR = /usr/bin
> > > >>PKGLIBDIR = /usr/lib
> > > >>PGXS = /usr/lib/pgxs/src/makefiles/pgxs.mk
> 
> Whoops, this is indeed wrong. I believe this worked correctly in some
> earlier version, but I don't take a look at the output very often.
> I'll get that fixed and I'll add a test suite check for this to make
> sure it stays fixed in the future.

Back home now, where I can actually investigate this.

The version specific pg_config in /usr/lib/postgresql/$version/bin
(which should be used for server-side extensions) is correct.

BINDIR and PKGLIBDIR from above from /usr/bin/pg_config are also
correct for *client side* applications (i. e. those which only use
libpq-dev).

pgxs is only for server-side extensions and thus not available in
libpq-dev. I will fix pg_config to show a proper error message in that
case.

I added test cases for this to postgresql-common now, so no bug report
necessary any more.

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: