pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove pg_wait_for_backend_termination().
Date: Tue, 15 Jun 2021 00:30:00 +0000
Message-ID: <E1lswxs-0004in-I1@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lswxs-0004in-I1@gemulon.postgresql.org>
Permalink:  ../E1lswxs-0004in-I1@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lswxs-0004in-I1@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Remove pg_wait_for_backend_termination().
  In-Reply-To: <E1lswxs-0004in-I1@gemulon.postgresql.org>
  References: <E1lswxs-0004in-I1@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox