Re: Non-blocking synchronization in libpq using pipeline mode

2024-04-08 Thread Jan Behrens
On Mon, 25 Mar 2024 15:47:00 +0100 Jan Behrens wrote: > On Tue, 19 Mar 2024 12:49:23 +0100 > Alvaro Herrera wrote: > > > On 2024-Mar-06, PG Doc comments form wrote: > > > > > [...] > > > > [...] > > [...] > > [...] the documentat

Unclear which libpq functions set an error message for PQerrorMessage

2024-03-25 Thread Jan Behrens
ng functions set a message for PQerrorMessage: * PQsetnonblocking * PQflush (for the case when -1 and the case when 1 is returned) * PQenterPipelineMode * PQpipelineSync * PQsendFlushRequest * PQcancel * PQclientEncoding * PQsetClientEncoding (and probably more) Kind Regards Jan Behrens

Re: Non-blocking synchronization in libpq using pipeline mode

2024-03-25 Thread Jan Behrens
fer in pipeline mode without establishing a synchronization point. > Note that the request is not itself flushed to the server >automatically; use PQflush if necessary. > > which I think answers what you are asking. It answers the behavior for "PQsendFlushRequest", but it's still unclear how "PQpipelineSync" will act. > > -- > Álvaro HerreraBreisgau, Deutschland ? https://www.EnterpriseDB.com/ Kind Regards, Jan Behrens