Обсуждение: mingw: is configure --without-zlib ok?
My mingw system doesn't zlib installed. Is it safe to make a build with './configure --without-zlib'? What's the consequences of doing this? Will something not work properly in the resulting psql application/database? There does appear to be a mingw port of zlib, should I install that before proceeding? -Matt
Matt England <mengland@mengland.net> writes: > Is it safe to make a build with './configure --without-zlib'? > What's the consequences of doing this? Will something not work properly in > the resulting psql application/database? AFAIR the only thing you lose is the ability to create or read compressed custom-format dump files in pg_dump/pg_restore. You can certainly live without this --- unless you need to read compressed dumps that someone else sends you. regards, tom lane
Tom Lane wrote: > Matt England <mengland@mengland.net> writes: > > Is it safe to make a build with './configure --without-zlib'? > > > What's the consequences of doing this? Will something not work properly in > > the resulting psql application/database? > > AFAIR the only thing you lose is the ability to create or read > compressed custom-format dump files in pg_dump/pg_restore. You > can certainly live without this --- unless you need to read > compressed dumps that someone else sends you. And it is in our manual: The <productname>zlib</productname> compression library will be used by default. If you don't want to use it then you must specify the <option>--without-zlib</option> option for <filename>configure</filename>. Using this option disables support for compressed archives in <application>pg_dump</> and <application>pg_restore</>. -- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com + If your life is a hard drive, Christ can be your backup. +