aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2024-01-08 11:39:56 -0800
committerNoah Misch <noah@leadboat.com>2024-01-08 11:39:56 -0800
commitd3c5f37dd543498cc7c678815d3921823beec9e9 (patch)
tree9c430f23ec95036ded0b8bb16446b30528159c9e /doc/src
parent0efc8318477714600567d15812dc8d15841e269e (diff)
downloadpostgresql-d3c5f37dd543498cc7c678815d3921823beec9e9.tar.gz
postgresql-d3c5f37dd543498cc7c678815d3921823beec9e9.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. 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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/dblink.sgml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/dblink.sgml b/doc/src/sgml/dblink.sgml
index e8de5a65cb6..81f35986c88 100644
--- a/doc/src/sgml/dblink.sgml
+++ b/doc/src/sgml/dblink.sgml
@@ -37,6 +37,15 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><literal>DblinkGetResult</literal></term>
+ <listitem>
+ <para>
+ Waiting to receive the results of a query from a remote server.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>