Re: Pipeline mode and PQpipelineSync()
От | Boris Kolpackov |
---|---|
Тема | Re: Pipeline mode and PQpipelineSync() |
Дата | |
Msg-id | boris.20210624110900@codesynthesis.com обсуждение исходный текст |
Ответ на | Re: Pipeline mode and PQpipelineSync() (Alvaro Herrera <alvaro.herrera@2ndquadrant.com>) |
Список | pgsql-hackers |
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!
В списке pgsql-hackers по дате отправления: