i've installed postgres on ubuntu and am trying to do a pg_dump but get the error message:
"pg_dump: [archiver] WARNING: requested compression not available in this installation -- archive will be uncompressed"
i've read that this is because i didn't install zlib along with postgres.
how can i install zlib for postgres now that postgres is already installed?
pg_dump myDb -U myUser --schema=public --format=c --compress=9 > somefile.dmp
it's because of the --format=c, but i would like to have it compressed (which custom (c) does by default).