Re: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Ivo Raisr <ivosh(at)ivosh(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns
Date: 2009-11-02 15:18:59
Message-ID: b42b73150911020718r79665432xfb42609950234607@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 2, 2009 at 6:00 AM, Ivo Raisr <ivosh(at)ivosh(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-11-02 15:33:34 Re: Architecture of walreceiver (Streaming Replication)
Previous Message Euler Taveira de Oliveira 2009-11-02 15:14:36 Re: Architecture of walreceiver (Streaming Replication)