Skip site navigation (1) Skip section navigation (2)

Re: libpq custom row processing

From: Marko Kreen <markokr(at)gmail(dot)com>
To: Federico Di Gregorio <fog(at)dndg(dot)it>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: libpq custom row processing
Date: 2012-08-07 10:51:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg
On Tue, Feb 14, 2012 at 3:28 PM, Federico Di Gregorio <fog(at)dndg(dot)it> wrote:
> On 14/02/12 13:11, Marko Kreen wrote:
>> There is an item in current commitfest that might be interesting
>> to Psycopg - a way to provide custom callback to result
>> row processing.  By default, libpq takes row data from
>> network buffer and puts it into PGresult.  This can now
>> be overrided - column data can be converted immediately
>> to final format and even processed in-flight:

The callback API has been rolled back and final 9.2 will have
single-row-mode instead:

Callback API was hard to use and did not support iterative
result processing.  This API should fix both problems.


In response to


psycopg by date

Next:From: Federico Di GregorioDate: 2012-08-07 11:15:11
Subject: Re: libpq custom row processing
Previous:From: Richard HarleyDate: 2012-08-03 13:42:04
Subject: Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group