diff options
author | Michael Paquier | 2023-10-05 00:50:42 +0000 |
---|---|---|
committer | Michael Paquier | 2023-10-05 00:50:42 +0000 |
commit | d61f2538a39f1dbeead01bc972fca597c769f518 (patch) | |
tree | ee576a27ee113919126403007bc69e183817bdb6 /doc/src/sgml/postgres-fdw.sgml | |
parent | 684d9bfdd5a6e6e368133707c678a2e2a984cc4e (diff) |
postgres_fdw: Replace WAIT_EVENT_EXTENSION with custom wait events
Three custom wait events are added here:
- "PostgresFdwCleanupResult", waiting while cleaning up PQgetResult() on
transaction abort.
- "PostgresFdwConnect", waiting to establish a connection to a remote
server.
- "PostgresFdwGetResult", waiting to receive a result from a remote
server.
Author: Masahiro Ikeda
Discussion: https://postgr.es/m/197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com
Diffstat (limited to 'doc/src/sgml/postgres-fdw.sgml')
-rw-r--r-- | doc/src/sgml/postgres-fdw.sgml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml index c177fd41bcb..33cc6e07b76 100644 --- a/doc/src/sgml/postgres-fdw.sgml +++ b/doc/src/sgml/postgres-fdw.sgml @@ -1042,6 +1042,44 @@ postgres=# SELECT postgres_fdw_disconnect_all(); </para> </sect2> + <sect2 id="postgres-fdw-wait-events"> + <title>Wait Events</title> + + <para> + <filename>postgres_fdw</filename> can report the following wait events + under the wait event type <literal>Extension</literal>: + </para> + + <variablelist> + <varlistentry> + <term><literal>PostgresFdwCleanupResult</literal></term> + <listitem> + <para> + Waiting for transaction abort on remote server. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>PostgresFdwConnect</literal></term> + <listitem> + <para> + Waiting to establish a connection to a remote server. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><literal>PostgresFdwGetResult</literal></term> + <listitem> + <para> + Waiting to receive the results of a query from a remote server. + </para> + </listitem> + </varlistentry> + </variablelist> + </sect2> + <sect2 id="postgres-fdw-configuration-parameters"> <title>Configuration Parameters</title> |