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: CACMqXC+wE7He-W0LdrzMhbkoQPXvNydQ15knD45ktN8-3FiwvQ@mail.gmail.com (view raw or flat)
Thread:
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:

  https://commitfest.postgresql.org/action/patch_view?id=769

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.

-- 
marko

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

Responses

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-2014 The PostgreSQL Global Development Group