Re: PQfformat question and retrieving bytea data in C - Mailing list pgsql-general

From Dmitriy Igrishin
Subject Re: PQfformat question and retrieving bytea data in C
Date
Msg-id CAAfz9KOe_479JzAKR9UrB=ab1xa81mpNJCOoMbwyjqFhu5o-CA@mail.gmail.com
Whole thread Raw
In response to Re: PQfformat question and retrieving bytea data in C  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List 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 by date:

Previous
From: Moshe Jacobson
Date:
Subject: Re: Dropping a column on parent table doesn't propagate to children?
Next
From: Achilleas Mantzios
Date:
Subject: Re: psql & unix env variables