Re: PQfformat question and retrieving bytea data in C

Поиск
Список
Период
Сортировка
От Jason Armstrong
Тема Re: PQfformat question and retrieving bytea data in C
Дата
Msg-id CAF2ce0o+_LjzXuBEUha1CL3cL5rCNdnF7StwYZSaP9uZ627EMQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PQfformat question and retrieving bytea data in C  (Chris Angelico <rosuav@gmail.com>)
Ответы Re: PQfformat question and retrieving bytea data in C  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-general
Thank-you for the thoughtful answers.

I have updated my C library to return the binary data correctly. I
note the restriction on not being able to retrieve different columns
in different formats.

I found that my perl DBI interface wasn't happy either with the
'escape' output format, so I changed bytea_output to 'hex', and
DBD::Pg is also happy now (I also read that the hex format is more
efficient).

--
Jason Armstrong


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

Предыдущее
От: Nicola Cisternino
Дата:
Сообщение: Re: String comparision in PostgreSQL
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: String comparision in PostgreSQL