Re: [patch] libpq one-row-at-a-time API

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Marko Kreen <markokr@gmail.com>, Postgres Hackers <pgsql-hackers@postgresql.org>
Date: 2012-07-24T15:49:17Z
Lists: pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> writes:
> I'm arguing that *all* data getting must continue to do so through the
> result object, and bypassing the result to get at data is breaking the
> result abstraction in the libpq api.

That's a fair point, but the single-row mode without PQgetRowData still
fits that model, doesn't it?  From the point of view of libpqtypes it
just looks like you got a lot of one-row query results.

			regards, tom lane