Re: Call pqPipelineFlush from PQsendFlushRequest

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call pqPipelineFlush from PQsendFlushRequest
Date: 2024-02-01 20:00:42
Message-ID: 2956501.1706817642@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> On 2023-Nov-07, Michael Paquier wrote:
>> Indeed, it looks a bit strange that there is no flush if the buffer
>> threshold is reached once the message is sent, so your suggestion
>> sounds right. Alvaro?

> Pushed, thanks.

I observe that this patch did not touch libpq.sgml, which still says

Note that the request is not itself flushed to the server automatically;
use <function>PQflush</function> if necessary.

Doesn't that require some rewording?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-02-01 20:02:57 Re: Flushing large data immediately in pqcomm
Previous Message Sergey Dudoladov 2024-02-01 19:50:15 Re: Add connection active, idle time to pg_stat_activity