The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/16/libpq-pipeline-mode.html Description:
The calls to PQpipelineSync and PQsendFlushRequest may either report failure or success, but not that data could not be written as of yet because the request would block. Does this mean that 1. these functions will always block when invoked and the socket is not ready to accept the number of bytes that need to be written (assuming the number of bytes required to be written is greater than one byte) or 2. the synchronization or flush request need to be flushed manually with successive PQflush calls or 3. the functions will return an error condition when the connection is non-blocking and no data could be written. Any clarification in the documentation would be appreciated.