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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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 | Content-Type | Size |
---|---|---|
libpq-altrowprocessor.html | text/html | 8.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Federico Di Gregorio | 2012-02-14 13:28:16 | Re: libpq custom row processing |
Previous Message | Daniele Varrazzo | 2012-02-13 22:43:11 | Re: Psycopg2 and LIXA |