Обсуждение: pgsql: Remove pg_wait_for_backend_termination().

Поиск
Список
Период
Сортировка

pgsql: Remove pg_wait_for_backend_termination().

От
Noah Misch
Дата:
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(-)