Re: PQfformat question and retrieving bytea data in C

Поиск
Список
Период
Сортировка
От Dmitriy Igrishin
Тема Re: PQfformat question and retrieving bytea data in C
Дата
Msg-id CAAfz9KOe_479JzAKR9UrB=ab1xa81mpNJCOoMbwyjqFhu5o-CA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PQfformat question and retrieving bytea data in C  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-general


2012/8/30 Albe Laurenz <laurenz.albe@wien.gv.at>
Jason Armstrong wrote:
> 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.

Actually, PostgreSQL supports that if you use the line protocol
to talk to the server (see the description of "Bind (F)" in
http://www.postgresql.org/docs/9.1/static/protocol-message-formats.html)
.

Alas, this is not supported by the C API.
Maybe that would be a useful extension to libpq.
+1

--
// Dmitriy.


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

Предыдущее
От: Moshe Jacobson
Дата:
Сообщение: Re: Dropping a column on parent table doesn't propagate to children?
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: psql & unix env variables