mingw: is configure --without-zlib ok?

Поиск
Список
Период
Сортировка
Искать

mingw: is configure --without-zlib ok?

От:
Matt England <mengland@mengland.net>
Дата:
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

Re: mingw: is configure --without-zlib ok?

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Matt England  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

Re: mingw: is configure --without-zlib ok?

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Tom Lane wrote:
> Matt England  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 zlib compression library will be
      used by default. If you don't want to use it then you must
      specify the  option for
      configure. Using this option disables
      support for compressed archives in pg_dump</> and
      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. +
FAQ