pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boris Kolpackov <boris@codesynthesis.com>
To: Alvaro Herrera <alvaro.herrera@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Pipeline mode and PQpipelineSync()
Date: Thu, 24 Jun 2021 11:10:41 +0200
Message-ID: <boris.20210624110900@codesynthesis.com> (raw)
In-Reply-To: <202106231655.5tkagqvcxej5@alvherre.pgsql>
References: <boris.20210623125826@codesynthesis.com>
	<202106231655.5tkagqvcxej5@alvherre.pgsql>

Alvaro Herrera <alvaro.herrera@2ndquadrant.com> writes:

> Subject: [PATCH] Clarify that pipeline sync is mandatory
> 
> ---
>  doc/src/sgml/libpq.sgml | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
> index 441cc0da3a..0217f8d8c7 100644
> --- a/doc/src/sgml/libpq.sgml
> +++ b/doc/src/sgml/libpq.sgml
> @@ -5103,10 +5103,12 @@ int PQflush(PGconn *conn);
>       The server executes statements, and returns results, in the order the
>       client sends them.  The server will begin executing the commands in the
>       pipeline immediately, not waiting for the end of the pipeline.
> +     Do note that results are buffered on the server side; a synchronization
> +     point, establshied with <function>PQpipelineSync</function>, is necessary
> +     in order for all results to be flushed to the client.

s/establshied/established/

Otherwise, LGTM, thanks!





view thread (41+ messages)  latest in thread

Message-ID: <boris.20210624110900@codesynthesis.com>
Permalink:  ../boris.20210624110900@codesynthesis.com/
Also on:    postgresql.org/message-id/boris.20210624110900@codesynthesis.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: boris@codesynthesis.com, alvaro.herrera@2ndquadrant.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Pipeline mode and PQpipelineSync()
  In-Reply-To: <boris.20210624110900@codesynthesis.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox