| От | James Orr |
|---|---|
| Тема | Re: bytea on windows perl client |
| Дата | |
| Msg-id | 200207171337.16475.james@lrgmail.com обсуждение исходный текст |
| Ответ на | Re: bytea on windows perl client (Jeremy Buchmann <jeremy@wellsgaming.com>) |
| Список | pgsql-interfaces |
On Wednesday 17 July 2002 01:17 pm, Jeremy Buchmann wrote: > >> \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 > > James, > > This may be a long shot, but try to binmode your output stream: > > Let us know how it works. I did this ... print "Content-type: image/png\n\n"; binmode STDOUT; print $image; Didn't work. - James
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера