postgresql/src/include/libpq
Alvaro Herrera 2466d6654f
libpq-be-fe-helpers.h: wrap new cancel APIs
Commit 61461a300c introduced new functions to libpq for cancelling
queries.  This commit introduces a helper function that backend-side
libraries and extensions can use to invoke those.  This function takes a
timeout and can itself be interrupted while it is waiting for a cancel
request to be sent and processed, instead of being blocked.

This replaces the usage of the old functions in postgres_fdw and dblink.

Finally, it also adds some test coverage for the cancel support in
postgres_fdw.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://postgr.es/m/CAGECzQT_VgOWWENUqvUV9xQmbaCyXjtRRAYO8W07oqashk_N+g@mail.gmail.com
2024-03-28 11:31:03 +01:00
..
auth.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
be-fsstubs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
be-gssapi-common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
crypt.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
hba.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
ifaddr.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq-be-fe-helpers.h libpq-be-fe-helpers.h: wrap new cancel APIs 2024-03-28 11:31:03 +01:00
libpq-be.h Revert "Add notBefore and notAfter to SSL cert info display" 2024-03-22 22:58:41 +01:00
libpq-fs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq.h Move initialization of the Port struct to the child process 2024-03-12 13:42:38 +02:00
pqcomm.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pqformat.h Remove unused 'countincludesself' argument to pq_sendcountedtext() 2024-03-04 12:56:05 +02:00
pqmq.h Replace BackendIds with 0-based ProcNumbers 2024-03-03 19:38:22 +02:00
pqsignal.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
protocol.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sasl.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
scram.h Update copyright for 2024 2024-01-03 20:49:05 -05:00