mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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
This commit is contained in:
@ -13,6 +13,32 @@
|
||||
session.
|
||||
</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.
|
||||
|
Reference in New Issue
Block a user