pgsql: postgres_fdw: Replace WAIT_EVENT_EXTENSION with custom wait even

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Replace WAIT_EVENT_EXTENSION with custom wait even
Date: 2023-10-05 00:50:55
Message-ID: E1qoCZq-0004ig-TJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d61f2538a39f1dbeead01bc972fca597c769f518

Modified Files
--------------
contrib/postgres_fdw/connection.c | 23 ++++++++++++++++++++---
doc/src/sgml/postgres-fdw.sgml | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-10-05 01:24:18 pgsql: dblink: Replace WAIT_EVENT_EXTENSION with custom wait events
Previous Message Nathan Bossart 2023-10-04 19:41:47 pgsql: Document that --sync-method takes an argument.