Received: from candle.pha.pa.us (pgman@nav-43.dsl.navpoint.com [162.33.245.46]) by hub.org (8.10.1/8.10.1) with ESMTP id e681LhW22360 for ; Fri, 7 Jul 2000 21:21:43 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id VAA14375; Fri, 7 Jul 2000 21:19:50 -0400 (EDT) From: Bruce Momjian Message-Id: <200007080119.VAA14375@candle.pha.pa.us> Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios... In-Reply-To: <3.0.5.32.20000708111636.009b5100@mail.rhyme.com.au> "from Philip Warner at Jul 8, 2000 11:16:36 am" To: Philip Warner Date: Fri, 7 Jul 2000 21:19:50 -0400 (EDT) CC: Jan Wieck , Peter Eisentraut , Tom Lane , PostgreSQL HACKERS X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200007/472 > 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