Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Philip Warner <pjw@rhyme.com.au>
Cc: Jan Wieck <JanWieck@Yahoo.com>, Peter Eisentraut <peter_e@gmx.net>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL HACKERS <pgsql-hackers@postgresql.org>
Date: 2000-07-08T01:19:50Z
Lists: pgsql-hackers
> This remoinded me of a question I wanted to ask Unix people: other OSs I
> use allow for dynamic linking, at runtime and in code, against shared
> libraries, and I know Unix must allow this. The places where zlib is used
> are pretty limited, so it might be worth considering doing the 'HAVE_ZLIB'
> kinds of checks at runtime. Then one binary fits all...
> 
> Is this hard or easy - at least on machines with a libz.so?
> 
> Is it worth doing?
> 
> I guess the alternative on rpm is to create both: pg_dump.zlib and
> pg_dump.nozlib, and install the right one?

We do dynamic loading for functions.  Not sure if we want to load zlib
dynamically if we can help it.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026