Re: Binary data in bytea field

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Binary data in bytea field
Дата
Msg-id 3C9CCE10.3090703@joeconway.com
обсуждение исходный текст
Ответ на Binary data in bytea field  (Iklódi Lajos <il@mithrandir.hu>)
Список pgsql-sql
Iklódi Lajos wrote:
> I have a table with field of tyte bytea. I'm reading this table with C,
> libpq.
> The result is a string, with octal groups, like '\200'.
> Is it possible to get data as it is, every byte in one byte?
> Thanks
> 

Sure -- just use a binary cursor.

HTH,

Joe





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

Предыдущее
От: Jim Martinez
Дата:
Сообщение: Re: false No rows returned error
Следующее
От: Iklódi Lajos
Дата:
Сообщение: Re: Binary data in bytea field