Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios... - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...
Date
Msg-id 3.0.5.32.20000708111636.009b5100@mail.rhyme.com.au
Whole thread Raw
In response to Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...  (JanWieck@t-online.de (Jan Wieck))
Responses Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
At 21:47 7/07/00 +0200, Jan Wieck wrote:
>
>    And how should binary distributions like RPM's handle  it?  I
>    assume  that  this  problem is already on it's way because of
>    the integration of zlib into pg_dump. The only way I  see  is
>    having  different  RPM's  for  each  possible  combination of
>    available helper libs.  Or  is  there  another  way  to  work
>    around?

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?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: libpq / SQL3
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...