On Thu, 1 Feb 2024 at 21:00, Tom Lane <t...@sss.pgh.pa.us> wrote: > Note that the request is not itself flushed to the server > automatically; > use <function>PQflush</function> if necessary. > > Doesn't that require some rewording?
I agree that the current wording is slightly incorrect, but I think I prefer we keep it this way. The fact that we actually DO flush when some internal buffer is filled up seems more like an implementation detail, than behavior that people should actually be depending upon. And even knowing the actual behavior, still the only way to know that your data is flushed is by calling PQflush (since a user has no way of checking if we automatically flushed the internal buffer).