postgresql/src/include/libpq
Noah Misch d3c5f37dd5 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.  Use them in postgres_fdw,
replacing a local implementation from which the libpqsrv implementation
derives.  This is a bug fix for dblink.  Code inspection identified the
bug at least thirteen years ago, but user complaints have not appeared.
Hence, no back-patch for now.

Discussion: https://postgr.es/m/20231122012945.74@rfd.leadboat.com
2024-01-08 11:39:56 -08: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 Make dblink interruptible, via new libpqsrv APIs. 2024-01-08 11:39:56 -08:00
libpq-be.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq-fs.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
libpq.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pqcomm.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pqformat.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pqmq.h Update copyright for 2024 2024-01-03 20:49:05 -05: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