Re: Flushing large data immediately in pqcomm - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Flushing large data immediately in pqcomm
Date
Msg-id CAEudQAr05GsD-Lt8oZddf1L+KZp81oSaaaw_tw7X7sHwDOQNtA@mail.gmail.com
Whole thread Raw
In response to Re: Flushing large data immediately in pqcomm  (Jelte Fennema-Nio <postgres@jeltef.nl>)
List pgsql-hackers

Em seg., 8 de abr. de 2024 às 07:42, Jelte Fennema-Nio <postgres@jeltef.nl> escreveu:
On Sun, 7 Apr 2024 at 14:41, David Rowley <dgrowleyml@gmail.com> wrote:
> Looking at the code in socket_putmessage_noblock(), I don't understand
> why it's ok for PqSendBufferSize to be int but "required" must be
> size_t.  There's a line that does "PqSendBufferSize = required;". It
> kinda looks like they both should be size_t.  Am I missing something
> that you've thought about?


You and Ranier are totally right (I missed this assignment). Attached is v8.
+1
LGTM.

best regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Next
From: Kirill Reshke
Date:
Subject: Re: Add last_commit_lsn to pg_stat_database