postgres_fdw: Replace WAIT_EVENT_EXTENSION with custom wait events
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/connection.c | modified | +20 −3 |
| doc/src/sgml/postgres-fdw.sgml | modified | +38 −0 |
Documentation touched
Discussion
- Rethink the wait event names for postgres_fdw, dblink and etc 6 messages · 2023-08-18 → 2023-10-06