Remove pg_wait_for_backend_termination().
authorNoah Misch <noah@leadboat.com>
Tue, 15 Jun 2021 00:29:37 +0000 (17:29 -0700)
committerNoah Misch <noah@leadboat.com>
Tue, 15 Jun 2021 00:29:37 +0000 (17:29 -0700)
commit5f1df62a459b51ab3bb625a0ee5e655429254257
tree8d8fcdab616967f0da00376efa902b96fa90055d
parent0aac73e6a2602696d23aa7a9686204965f9093dc
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
doc/src/sgml/func.sgml
doc/src/sgml/release-14.sgml
src/backend/catalog/system_functions.sql
src/backend/storage/ipc/signalfuncs.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat