Re: Can not decompress a compressed string under plpy!

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: Can not decompress a compressed string under plpy!
Дата
Msg-id gv3asb$bov$4@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на Can not decompress a compressed string under plpy!  (Timmy <timheit@netvigator.com>)
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: package for debugger/wizard was: Feedback on PG?
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Can I pause the pg_dump or pg_restore