pgsql: Remove pg_wait_for_backend_termination().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove pg_wait_for_backend_termination().
Date: 2021-06-15 00:30:00
Message-ID: E1lswxs-0004in-I1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5f1df62a459b51ab3bb625a0ee5e655429254257

Modified Files
--------------
doc/src/sgml/func.sgml | 17 ---------------
doc/src/sgml/release-14.sgml | 8 +------
src/backend/catalog/system_functions.sql | 5 -----
src/backend/storage/ipc/signalfuncs.c | 36 --------------------------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 4 ----
6 files changed, 2 insertions(+), 70 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-06-15 01:28:39 pgsql: Remove orphaned expected-result file.
Previous Message Alvaro Herrera 2021-06-14 20:32:45 pgsql: Fix logic bug in 1632ea43682f