diff options
author | Michael Paquier | 2024-01-16 01:13:42 +0000 |
---|---|---|
committer | Michael Paquier | 2024-01-16 01:13:42 +0000 |
commit | 4794c2d31714235700ed68edafa10d1928c9bbb2 (patch) | |
tree | 4ead26663e9ae6eb6e6d195880bc5a7dd950e4c1 /src/interfaces/libpq/exports.txt | |
parent | 83eb244e419efd43959fdd544ff8c30e175565ef (diff) |
libpq: Add PQsendPipelineSync()
This new function is equivalent to PQpipelineSync(), except that it does
not flush anything to the server except if the size threshold of the
output buffer is reached; the user must subsequently call PQflush()
instead.
Its purpose is to reduce the system call overhead of pipeline mode, by
giving to applications more control over the timing of the flushes when
manipulating commands in pipeline mode.
Author: Anton Kirilov
Reviewed-by: Jelte Fennema-Nio, Robert Haas, Álvaro Herrera, Denis
Laxalde, Michael Paquier
Discussion: https://postgr.es/m/CACV6eE5arHFZEA717=iKEa_OewpVFfWJOmsOdGrqqsr8CJVfWQ@mail.gmail.com
Diffstat (limited to 'src/interfaces/libpq/exports.txt')
-rw-r--r-- | src/interfaces/libpq/exports.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt index 28b861fd93b..088592deb16 100644 --- a/src/interfaces/libpq/exports.txt +++ b/src/interfaces/libpq/exports.txt @@ -192,3 +192,4 @@ PQclosePortal 189 PQsendClosePrepared 190 PQsendClosePortal 191 PQchangePassword 192 +PQsendPipelineSync 193 |