Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.org (8.10.1/8.10.1) with ESMTP id e68CjOW20130 for ; Sat, 8 Jul 2000 08:45:24 -0400 (EDT) Received: from fwd06.sul.t-online.com by mailout01.sul.t-online.com with smtp id 13Atz0-0007zy-04; Sat, 8 Jul 2000 14:45:22 +0200 Received: from hot.jw.home (340000654369-0001@[62.224.109.227]) by fwd06.sul.t-online.com with esmtp id 13Atyx-2KTH6mC; Sat, 8 Jul 2000 14:45:19 +0200 Received: (from wieck@localhost) by hot.jw.home (8.8.5/8.8.5) id NAA30899 for pgsql-hackers@postgreSQL.org; Sat, 8 Jul 2000 13:29:17 +0200 From: JanWieck@t-online.de (Jan Wieck) Message-Id: <200007081129.NAA30899@hot.jw.home> Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios.... In-Reply-To: <3.0.5.32.20000708120031.00ce8100@mail.rhyme.com.au> from Philip Warner at "Jul 8, 2000 12:00:31 pm" To: PostgreSQL HACKERS Date: Sat, 8 Jul 2000 13:29:17 +0200 (MEST) Reply-To: Jan Wieck X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 340000654369-0001@t-dialin.net X-Archive-Number: 200007/492 Philip Warner wrote: > At 21:49 7/07/00 -0400, Tom Lane wrote: > > > >Not bloody likely! Do you want to be in a position where you restart > >your postmaster and suddenly chunks of your database are inaccessible? > >That's what could happen to you if someone moves or deletes libz.so. > > My question was limited to it's use in pg_dump; rather than basing > pg_dump's compression bahaviour on configure, base it on it's runtime > environment. But my guess is you still would be inclined, rather strongly, > against it. > > > >If we do go with using zlib instead of homegrown code > > This begs the obvious question: should pg_dump be using Jan's compression > code? In all cases/when zlib is not available? It can't. My code is designed for in-memory attribute values. It doesn't support streaming - which I assume is required for pg_dump. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #