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

From: JanWieck(at)t-online(dot)de (Jan Wieck)
To: PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios....
Date: 2000-07-08 11:29:17
Message-ID: 200007081129.NAA30899@hot.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

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(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Bolenok 2000-07-08 11:57:08 Re: help -- cursor inside a function
Previous Message nsrona 2000-07-08 09:01:02 Re: PostgreSQL and Windows NT

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2000-07-08 12:51:39 Re: fcntl(SETLK) [was Re: 2nd update on TOAST]
Previous Message Jan Wieck 2000-07-08 11:15:02 Re: fcntl(SETLK) [was Re: 2nd update on TOAST]

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2000-07-09 18:35:40 Re: [SQL] MAX() of 0 records.
Previous Message Tom Lane 2000-07-08 04:40:17 Re: How to get a self-conflicting row level lock?