Re: binary bytea

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: binary bytea
Дата
Msg-id 1741.1081566935@sss.pgh.pa.us
обсуждение исходный текст
Ответ на binary bytea  (David Kitzinger ARA/SWD <David.Kitzinger@ara.com>)
Список pgsql-novice
David Kitzinger ARA/SWD <David.Kitzinger@ara.com> writes:
> I'm confused. I have a bytea column that should be binary format
> (right?), yet PQfformat() says it is NOT binary

The column datatype has nothing to do with whether the data is presented
in binary or textual format.  The way you determine that is by making a
query in the right way.  See for instance the resultFormat parameter of
PQexecParams.

            regards, tom lane

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

Предыдущее
От: David Kitzinger ARA/SWD
Дата:
Сообщение: binary bytea
Следующее
От: "M. Bastin"
Дата:
Сообщение: Re: binary bytea