Re: PATCH: Batch/pipelining support for libpq
Craig Ringer <craig@2ndquadrant.com>
From: Craig Ringer <craig@2ndquadrant.com>
To: David Steele <david@pgmasters.net>
Cc: Vaishnavi Prabakaran <vaishnaviprabakaran@gmail.com>,
Daniel Verite <daniel@manitou-mail.org>, Michael Paquier <michael.paquier@gmail.com>, "Prabakaran, Vaishnavi" <VaishnaviP@fast.au.fujitsu.com>,
Haribabu Kommi <kommi.haribabu@gmail.com>, "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>,
Dmitry Igrishin <dmitigr@gmail.com>, Andres Freund <andres@anarazel.de>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Manuel Kniep <m.kniep@web.de>, "fujita.etsuro@lab.ntt.co.jp" <fujita.etsuro@lab.ntt.co.jp>, "Iwata,
Aya" <iwata.aya@jp.fujitsu.com>
Date: 2017-03-25T12:50:47Z
Lists: pgsql-hackers
On 24 March 2017 at 23:21, David Steele <david@pgmasters.net> wrote: > Hi Vaishnavi, > > On 3/19/17 9:32 PM, Vaishnavi Prabakaran wrote: >> >> On Fri, Mar 17, 2017 at 12:37 AM, Daniel Verite <daniel@manitou-mail.org >> >> Please let me know if you think this is not enough but wanted to update >> section 33.6 also? > > > Daniel, any input here? > >> > I would also like to hear Craig's opinion on it before applying this >> fix >> > to the original patch, just to make sure am not missing anything >> here. > > > Craig? I'm fairly confident that I overlooked single row mode entirely in the original patch, though it's long enough ago that it's hard for me to remember exactly. I don't really have much of an opinion on the best handling of it. I would expect to be setting single-row mode just before I requested the *result* from the next pending query, since it relates to result processing rather than query dispatch. But that's about all the opinion I have here. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Add libpq pipeline mode support to pgbench
- 9aa491abbf07 14.0 landed
-
Implement pipeline mode in libpq
- acb7e4eb6b1c 14.0 landed