aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-10-05 10:23:22 +0900
committerMichael Paquier <michael@paquier.xyz>2023-10-05 10:23:22 +0900
commitc789f0f6cc5da084f75f2556bada572a1a05e39a (patch)
tree413fd06460072991dd23cfc6213d3f49b57af8f1 /doc/src
parentd61f2538a39f1dbeead01bc972fca597c769f518 (diff)
downloadpostgresql-c789f0f6cc5da084f75f2556bada572a1a05e39a.tar.gz
postgresql-c789f0f6cc5da084f75f2556bada572a1a05e39a.zip
dblink: Replace WAIT_EVENT_EXTENSION with custom wait events
Two custom wait events are added here: - "DblinkConnect", when waiting to establish a connection to a remote server. - "DblinkGetConnect", when waiting to establish a connection to a remote server but it could not be found in the list of already-opened ones. Author: Masahiro Ikeda Discussion: https://postgr.es/m/197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/dblink.sgml26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/src/sgml/dblink.sgml b/doc/src/sgml/dblink.sgml
index 7d25f24f490..e8de5a65cb6 100644
--- a/doc/src/sgml/dblink.sgml
+++ b/doc/src/sgml/dblink.sgml
@@ -14,6 +14,32 @@
</para>
<para>
+ <filename>dblink</filename> can report the following wait events under the wait
+ event type <literal>Extension</literal>.
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term><literal>DblinkConnect</literal></term>
+ <listitem>
+ <para>
+ Waiting to establish a connection to a remote server.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>DblinkGetConnect</literal></term>
+ <listitem>
+ <para>
+ Waiting to establish a connection to a remote server when it could not
+ be found in the list of already-opened connections.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>
See also <xref linkend="postgres-fdw"/>, which provides roughly the same
functionality using a more modern and standards-compliant infrastructure.
</para>