2012/8/30 Albe Laurenz <laurenz.albe@xxxxxxxxxx>
-- Jason Armstrong wrote:Actually, PostgreSQL supports that if you use the line protocol
> 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.
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.