Re: Pipeline mode and PQpipelineSync()

From: Boris Kolpackov <boris(at)codesynthesis(dot)com>
To: Alvaro Herrera <alvaro(dot)herrera(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Pipeline mode and PQpipelineSync()
Date: 2021-06-24 09:10:41
Message-ID: boris.20210624110900@codesynthesis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvaro(dot)herrera(at)2ndquadrant(dot)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!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-06-24 09:32:15 Re: locking [user] catalog tables vs 2pc vs logical rep
Previous Message Boris Kolpackov 2021-06-24 09:06:42 Re: Pipeline mode and PQpipelineSync()