diff options
author | Noah Misch <noah@leadboat.com> | 2024-01-08 11:39:56 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2025-04-03 09:34:02 -0700 |
commit | 186c586c3717d050e99c14b45f8e52a5d74bc7ba (patch) | |
tree | 9b707800990ebfb02c0e3192f8036617691a4b1e /src/backend/access/gist/gist.c | |
parent | 5a3d5c0838bd9b8f7b71cb40af7ff8659f9f05ef (diff) | |
download | postgresql-186c586c3717d050e99c14b45f8e52a5d74bc7ba.tar.gz postgresql-186c586c3717d050e99c14b45f8e52a5d74bc7ba.zip |
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 d3c5f37dd543498cc7c678815d3921823beec9e9 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
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions