Re: PATCH: Batch/pipelining support for libpq

Daniel Verite <daniel@manitou-mail.org>

From: "Daniel Verite" <daniel@manitou-mail.org>
To: "Andres Freund" <andres@anarazel.de>
Cc: "Craig Ringer" <craig@2ndquadrant.com>,"Vaishnavi Prabakaran" <vaishnaviprabakaran@gmail.com>,"Michael Paquier" <michael.paquier@gmail.com>,"David Steele" <david@pgmasters.net>,"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>,"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-06-22T17:42:11Z
Lists: pgsql-hackers
	Andres Freund wrote:

> > One option may be to leave that decision to the user by providing a
> > PQBatchAutoFlush(true|false) property, along with a PQBatchFlush()
> > function.
> 
> What'd be the difference between PQflush() and PQbatchFlush()?

I guess no difference, I was just not seeing that libpq already provides
this functionality...

Best regards,
-- 
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


Commits

  1. Add libpq pipeline mode support to pgbench

  2. Implement pipeline mode in libpq