Re: Can not decompress a compressed string under plpy! - Mailing list pgsql-general

From Jasen Betts
Subject Re: Can not decompress a compressed string under plpy!
Date
Msg-id gv3asb$bov$4@reversiblemaps.ath.cx
Whole thread Raw
In response to Can not decompress a compressed string under plpy!  (Timmy <timheit@netvigator.com>)
List pgsql-general
On 2009-05-20, Timmy <timheit@netvigator.com> wrote:
> Hi,
>    I have stored a compressed string in a table field.
> The compressed string is created by zlib using python.
> I want to decompress this string by zlib under plpy but plpy fails to do so.
> Is plpy not support decompression? Why?

are you storing it in a bytea column?
is the string correctly unescaped before you attempt decompressing it?
are you able to extract and decompress the string by other means (as
proof that it has been stored correctly)


pgsql-general by date:

Previous
From: Dave Page
Date:
Subject: Re: package for debugger/wizard was: Feedback on PG?
Next
From: Jasen Betts
Date:
Subject: Re: Can I pause the pg_dump or pg_restore