postgresql/src/include/libpq
Noah Misch 63f6ecb6b0 Make dblink interruptible, via new libpqsrv APIs.
This replaces dblink's blocking libpq calls, allowing cancellation and
allowing DROP DATABASE (of a database not involved in the query).  Apart
from explicit dblink_cancel_query() calls, dblink still doesn't cancel
the remote side.  The replacement for the blocking calls consists of
new, general-purpose query execution wrappers in the libpqsrv facility.
Out-of-tree extensions should adopt these.

The original commit d3c5f37dd5 did not
back-patch.  Back-patch now to v16-v13, bringing coverage to all supported
versions.  This back-patch omits the orignal's refactoring in postgres_fdw.

Discussion: https://postgr.es/m/20231122012945.74@rfd.leadboat.com
2025-04-03 09:34:01 -07:00
..
auth.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
be-fsstubs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
be-gssapi-common.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
crypt.h Improve error handling of cryptohash computations 2022-01-11 09:55:16 +09:00
hba.h Make check_usermap() parameter names consistent. 2022-09-17 16:54:16 -07:00
ifaddr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq-be-fe-helpers.h Make dblink interruptible, via new libpqsrv APIs. 2025-04-03 09:34:01 -07:00
libpq-be.h Fix handling of SCRAM-SHA-256's channel binding with RSA-PSS certificates 2023-02-15 10:12:31 +09:00
libpq-fs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pqcomm.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pqformat.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pqmq.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pqsignal.h Add some missing PGDLLIMPORT markings 2022-05-12 15:08:45 +09:00
sasl.h Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
scram.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00