Re: bytea on windows perl client

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: bytea on windows perl client
Дата
Msg-id 3D35A401.1090301@joeconway.com
обсуждение исходный текст
Ответ на bytea on windows perl client  (James Orr <james@lrgmail.com>)
Ответы Re: bytea on windows perl client
Re: bytea on windows perl client
Список pgsql-interfaces
James Orr wrote:> OK, if I load the output into vi.  The one from linux contains a 
bunch > of control characters etc.  The one from windows seems to be all 
text> like so> ...>
> \211PNG\015\012\000 and so on.

This is the escaped output form of bytea. It seems that on linux the 
perl script is either using a binary cursor, or automagically unescaping 
the output, while on windows it isn't. I'm not sure why that would 
happen, but hopefully one of the perl gurus hanging around will chime in.

Joe





В списке pgsql-interfaces по дате отправления:

Предыдущее
От: James Orr
Дата:
Сообщение: Re: bytea on windows perl client
Следующее
От: Jeremy Buchmann
Дата:
Сообщение: Re: bytea on windows perl client