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

From: Andrew Chernow <ac(at)esilo(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 16:10:50
Message-ID: 4AEF048A.1090402@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ivo Raisr 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.)
>

Can you explain the use case for this? Have you investigated libpqtypes?

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-11-02 16:31:08 Some notes about Param handling with "Oracle style" plpgsql variables
Previous Message David Fetter 2009-11-02 15:44:08 Re: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns