[Pkg-postgresql-public] pg_bulkload package sponsorship

Christoph Berg myon at debian.org
Thu May 31 20:39:02 UTC 2012

Re: Alexander 2012-05-31 <CA+3pxd5C-AHwNHnUL5Yq8AsOs3+gj7sL8KxCUzDH6JMs5NkC+g at mail.gmail.com>
> I guess `cp -arl' should be good enough. Out-of-tree build, 0 bytes
> space overhead. Having no patch to Makefiles even saves a couple of
> kilobytes. If libpq version issue can be resolved.

Nod. I thought about building in place and calling "make install"
earlier, but this method should work as well. (The problem could be to
determine what to actually copy - at least debian/ should be

> The problem is not libpq per se, but PG_VERSION_NUM in
> /usr/include/postgresql/pg_config.h

Ah, that's a problem then, sure.

> Which implies in-the-tree build in different environment for every
> version of PostgreSQL. Long live OpenVZ.

Is PG_VERSION_NUM the only thing taken from that file? If you are
building for several PG versions, can't you just "gcc -D" it while
building instead? (Not sure if that's a problem pg_buildext should

(Btw, I'll see to change pgapt.debian.net to really provide libpq-dev
packages for every version. They will not be installable at the same
time, though.)

cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20120531/0a920168/attachment.pgp>

More information about the Pkg-postgresql-public mailing list