Re: A new function to wait for the backend exit after termination
Noah Misch <noah@leadboat.com>
From: Noah Misch <noah@leadboat.com>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, Magnus Hagander <magnus@hagander.net>, Fujii Masao <masao.fujii@oss.nttdata.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>, pgsql-hackers@lists.postgresql.org, Muhammad Usama <m.usama@gmail.com>
Date: 2021-06-14T16:40:27Z
Lists: pgsql-hackers
On Sat, Jun 12, 2021 at 01:27:43PM -0500, Justin Pryzby wrote: > On Sat, Jun 12, 2021 at 08:21:39AM -0700, Noah Misch wrote: > > On Sat, Jun 12, 2021 at 12:12:12AM -0500, Justin Pryzby wrote: > > > Even if it's not removed, the descriptions should be cleaned up. > > > > > > | src/include/catalog/pg_proc.dat- descr => 'terminate a backend process and if timeout is specified, wait for its exit or until timeout occurs', > > > => I think doesn't need to change or mention the optional timeout at all > > > > Agreed, these strings generally give less detail. I can revert that to the > > v13 wording, 'terminate a server process'. > > Maybe you'd also update the release notes. What part of the notes did you expect to change that the patch did not change? > I suggest some edits from the remaining parts of the original patch. These look good. I will push them when I push the other part.
Commits
-
Copy-edit text for the pg_terminate_backend() "timeout" parameter.
- 0aac73e6a260 14.0 landed
-
Remove pg_wait_for_backend_termination().
- 5f1df62a459b 14.0 landed
-
Add functions to wait for backend termination
- aaf043257205 14.0 landed
-
Fix typo in comment.
- 6742e14959a3 14.0 cited