Re: PQfformat question and retrieving bytea data in C

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: "Jason Armstrong *EXTERN*" <ja(at)riverdrums(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: PQfformat question and retrieving bytea data in C
Date: 2012-08-30 11:38:24
Message-ID: CAAfz9KOe_479JzAKR9UrB=ab1xa81mpNJCOoMbwyjqFhu5o-CA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2012/8/30 Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2012-08-30 11:42:47 Would my postgresql 8.4.12 profit from doubling RAM?
Previous Message Albe Laurenz 2012-08-30 11:29:45 Re: PQfformat question and retrieving bytea data in C