On Sun, 2006-02-05 at 02:25 +0100, Thomas Hallgren wrote:
> Question: When is zlib used in the backend today?
It isn't: zlib was only linked against the backend to simplify the build
process. In 8.2devel this has been corrected:
% ldd postgres
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002aaaaabc2000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00002aaaaacf5000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaaae0a000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaaaf21000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaab024000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaab1a9000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
See much discussion on this topic in the -hackers archive, and the fix
implemented by Martijn and Tom:
http://archives.postgresql.org/pgsql-patches/2005-11/msg00183.php
-Neil