Received: from acheron.rime.com.au (albatr.lnk.telstra.net [139.130.54.222]) by hub.org (8.10.1/8.10.1) with ESMTP id e681GUW09394 for ; Fri, 7 Jul 2000 21:16:31 -0400 (EDT) Received: from oberon (Oberon.rime.com.au [203.8.195.100]) by acheron.rime.com.au (8.9.3/8.9.3) with SMTP id LAA14355; Sat, 8 Jul 2000 11:08:48 +1000 Message-Id: <3.0.5.32.20000708111636.009b5100@mail.rhyme.com.au> X-Sender: pjw@mail.rhyme.com.au X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sat, 08 Jul 2000 11:16:36 +1000 To: Jan Wieck , Peter Eisentraut From: Philip Warner Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios... Cc: Jan Wieck , Tom Lane , PostgreSQL HACKERS In-Reply-To: <200007071947.VAA26359@hot.jw.home> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200007/471 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 |/