dblink: Replace WAIT_EVENT_EXTENSION with custom wait events
authorMichael Paquier <michael@paquier.xyz>
Thu, 5 Oct 2023 01:23:22 +0000 (10:23 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 5 Oct 2023 01:23:22 +0000 (10:23 +0900)
commitc789f0f6cc5da084f75f2556bada572a1a05e39a
tree413fd06460072991dd23cfc6213d3f49b57af8f1
parentd61f2538a39f1dbeead01bc972fca597c769f518
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
contrib/dblink/dblink.c
doc/src/sgml/dblink.sgml