Re: Empty bytea values on 9.2.1

Поиск
Список
Период
Сортировка
От Nils Gösche
Тема Re: Empty bytea values on 9.2.1
Дата
Msg-id 001101cdb686$b80fd290$282f77b0$@de
обсуждение исходный текст
Ответ на Re: Empty bytea values on 9.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Empty bytea values on 9.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-odbc
Tom wrote:

> 9.0 and later default to showing bytea output in "hex" format.  I
> wonder whether you are using a version of the ODBC code that handles
> that.

I am using version 9.01.02.00 which is rather recent, I think.

> If not, you many need to set "bytea_output" to "escape".

Good idea: That fixes it!

Interestingly, longer bytea values seem to work fine even without
setting bytea_output to 'escape'! It's only the empty arrays that
seem to make problems.

Regards,
--
Nils Gösche
"Don't ask for whom the <CTRL-G> tolls."




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Empty bytea values on 9.2.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Empty bytea values on 9.2.1