Re: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns
Date
Msg-id b42b73150911020718r79665432xfb42609950234607@mail.gmail.com
Whole thread Raw
In response to libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns  (Ivo Raisr <ivosh@ivosh.net>)
List pgsql-hackers
On Mon, Nov 2, 2009 at 6:00 AM, Ivo Raisr <ivosh@ivosh.net> wrote:
> Hi guys,
> I hacked PostgreSQL 8.4.1 libpq and added a new function to specify
> resultFormat for individual result columns.
> Are you interested in a patch?
>
> (http://www.postgresql.org/docs/8.4/interactive/libpq-exec.html says:
> There is not currently a provision to obtain different result columns
> in different formats, although that is possible in the underlying
> protocol.
> So I made this possible.)

How exactly did you do it?  You can't change the arguments of existing
libpq functions, you would have had to add new ones...

merlin


pgsql-hackers by date:

Previous
From: Ivo Raisr
Date:
Subject: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns
Next
From: Euler Taveira de Oliveira
Date:
Subject: Re: Architecture of walreceiver (Streaming Replication)