Re: [patch] libpq one-row-at-a-time API
Merlin Moncure <mmoncure@gmail.com>
From: Merlin Moncure <mmoncure@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marko Kreen <markokr@gmail.com>, Postgres Hackers <pgsql-hackers@postgresql.org>
Date: 2012-07-24T18:49:02Z
Lists: pgsql-hackers
On Tue, Jul 24, 2012 at 1:33 PM, Merlin Moncure <mmoncure@gmail.com> wrote: > The 'source' result (or source data that would be copied into the > destination result) would be stored in the PGconn, right? So, the idea > is that when you set up single row mode the connection generates a > template PGconn which is then copied out repeatedly during row-by-row > processing. I like it, but only if we're reasonably confident the > PGresult can be sufficiently optimized like that. hm, PGresAttDesc is unfortunately in the public header and as such probably can't be changed? merlin