dblink: Replace WAIT_EVENT_EXTENSION with custom wait events

Michael Paquier <michael@paquier.xyz>

Commit: c789f0f6cc5da084f75f2556bada572a1a05e39a
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-10-05T01:23:22Z
Releases: 17.0
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

Files

PathChange+/−
contrib/dblink/dblink.c modified +14 −2
doc/src/sgml/dblink.sgml modified +26 −0

Documentation touched

Discussion