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

libpq custom row processing

From: Marko Kreen <markokr(at)gmail(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: libpq custom row processing
Date: 2012-02-14 12:11:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg
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:

Attached is current state of the doc.

Any feedback is appreciated, either about API or
documentation clarity/typos or whether all interesting
scenarios are handled.


Attachment: libpq-altrowprocessor.html
Description: text/html (8.2 KB)


psycopg by date

Next:From: Federico Di GregorioDate: 2012-02-14 13:28:16
Subject: Re: libpq custom row processing
Previous:From: Daniele VarrazzoDate: 2012-02-13 22:43:11
Subject: Re: Psycopg2 and LIXA

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