Remove pg_wait_for_backend_termination().
Noah Misch <noah@leadboat.com>
Remove pg_wait_for_backend_termination(). It was unable to wait on a backend that had already left the procarray. Users tolerant of that limitation can poll pg_stat_activity. Other users can employ the "timeout" argument of pg_terminate_backend(). Reviewed by Bharath Rupireddy. Discussion: https://postgr.es/m/20210605013236.GA208701@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +0 −17 |
| doc/src/sgml/release-14.sgml | modified | +1 −7 |
| src/backend/catalog/system_functions.sql | modified | +0 −5 |
| src/backend/storage/ipc/signalfuncs.c | modified | +0 −36 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +0 −4 |
Documentation touched
Discussion
- A new function to wait for the backend exit after termination 57 messages · 2020-10-21 → 2021-06-15