From c789f0f6cc5da084f75f2556bada572a1a05e39a Mon Sep 17 00:00:00 2001
From: Michael Paquier
Date: Thu, 5 Oct 2023 10:23:22 +0900
Subject: 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
---
doc/src/sgml/dblink.sgml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
(limited to 'doc/src')
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
@@ -13,6 +13,32 @@
session.
+
+ dblink can report the following wait events under the wait
+ event type Extension.
+
+
+
+
+ DblinkConnect
+
+
+ Waiting to establish a connection to a remote server.
+
+
+
+
+
+ DblinkGetConnect
+
+
+ Waiting to establish a connection to a remote server when it could not
+ be found in the list of already-opened connections.
+
+
+
+
+
See also , which provides roughly the same
functionality using a more modern and standards-compliant infrastructure.
--
cgit v1.2.3