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

From: David Fetter <david(at)fetter(dot)org>
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:44:08
Message-ID: 20091102154408.GA13004@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 02, 2009 at 12:00:29PM +0100, 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?

New features only go into git head (aka CVS TIP), so for future
reference, only patch that. One of the ways PostgreSQL has earned its
reputation for stability is by never adding a feature to a released
version :)

> (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?

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2009-11-02 16:10:50 Re: libpq - extending PQexecParams/PQexecPrepared to specify resultFormat for individual result columns
Previous Message Robert Haas 2009-11-02 15:33:34 Re: Architecture of walreceiver (Streaming Replication)