"Kevin O'Gorman" <kogorman@pacbell.net> writes:
> pg_backup_custom.c: In function `_DoDeflate':
> pg_backup_custom.c:846: `z_streamp' undeclared (first use in this function)
> pg_backup_custom.c:846: parse error before `zp'
> pg_backup_custom.c:849: `ctx' undeclared (first use in this function)
> pg_backup_custom.c:852: `AH' undeclared (first use in this function)
> pg_backup_custom.c:854: `zp' undeclared (first use in this function)
> pg_backup_custom.c:854: `flush' undeclared (first use in this function)
> pg_backup_custom.c: In function `_EndDataCompressor':
> pg_backup_custom.c:912: `ctx' undeclared (first use in this function)
> pg_backup_custom.c:912: parse error before `)'
> pg_backup_custom.c:913: `z_streamp' undeclared (first use in this function)
> pg_backup_custom.c:918: `zp' undeclared (first use in this function)
Hmm. Looks like Philip neglected to see to it that pg_dump will compile
when libz is not present --- the "#include <zlib.h>" is properly ifdef'd
out, but the code isn't. Over to you, Philip ...
regards, tom lane