teg@redhat.com (Trond Eivind Glomsrød) writes:
>>> But what _does_ use zlib in PostgreSQL?
>>
>> On a quick search I can only see pg_backup using it.
> I see many more, including the postmaster:
AFAIK the only actual *use* of zlib is in pg_dump/pg_restore.
Pretty much all our executables will be *linked* to it, however.
This is because Autoconf doesn't conveniently support making different
LIBS lists for every executable, and so we just use one one-size-fits-
all list for all of 'em. (Perhaps AC 2.5* will make this better?)
regards, tom lane