pg_wait_backend() and pg_terminate_backend_and_wait() functions with wait and timeout capability

Edit
ID 2822
Title pg_wait_backend() and pg_terminate_backend_and_wait() functions with wait and timeout capability
Topic System Administration
Created 2020-11-03 07:49:33
Last modified 2021-04-08 09:41:42 (3 years, 6 months ago)
Latest email 2021-04-08 09:41:17 (3 years, 6 months ago)
Status
2021-03: Committed
2021-01: Moved to next CF
Target version
Authors Bharath Rupireddy (bharathrupireddy)
Reviewers Muhammad Usama (muhammad_usama), Hou Zhijie (houzj)Become reviewer
Committer Magnus Hagander (mha)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/2822
git checkout commitfest/cf/2822
Emails
A new function to wait for the backend exit after termination
First at 2020-10-21 13:02:15 by Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com>
Latest at 2021-04-08 09:41:17 by Magnus Hagander <magnus at hagander.net>
Latest attachment (v12-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-04-05 03:21:03 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com>
    Attachment (v12-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-04-05 03:21:03 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v11-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-03-19 06:07:26 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v10-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-03-17 01:31:39 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v9-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-03-16 09:38:04 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v8-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-03-15 03:27:57 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v7-0001-pg_terminate_backend-with-wait-and-timeout.patch) at 2021-03-07 09:09:36 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v6-0001-pg_terminate_backend-with-wait-timeout-and-pg_wai.patch) at 2020-12-04 09:13:28 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v5-0001-pg_terminate_backend-with-wait-timeout-and-pg_wai.patch) at 2020-12-04 06:29:51 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v4-0001-pg_terminate_backend-with-wait-timeout-and-pg_wai.patch) at 2020-12-03 03:56:08 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v3-0001-pg_terminate_backend-with-wait-timeout-and-pg_wai.patch) at 2020-10-31 10:58:18 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v2-0001-pg_wait_backend-and-pg_terminate_backend-with-wai.patch) at 2020-10-28 11:50:46 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v1-0001-pg_terminate_backend_and_wait.patch) at 2020-10-21 13:02:15 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
History
When Who What
2021-04-08 09:41:42 Magnus Hagander (mha) Closed in commitfest 2021-03 with status: Committed
2021-04-08 09:41:42 Magnus Hagander (mha) Changed committer to mha
2021-03-07 12:57:53 Bharath Rupireddy (bharathrupireddy) New status: Needs review
2021-03-06 17:06:50 Magnus Hagander (mha) New status: Waiting on Author
2021-02-01 12:54:56 Masahiko Sawada (masahikosawada) Closed in commitfest 2021-01 with status: Moved to next CF
2021-01-14 10:26:02 Fujii Masao (masaofujii) Removed masaofujii from committers
2020-12-30 12:00:32 Simon Riggs (simon) Changed name to pg_wait_backend() and pg_terminate_backend_and_wait() functions with wait and timeout capability
2020-12-04 09:29:01 Hou Zhijie (houzj) Posted review with messageid <160707414167.7564.9236053697198169704.pgcf@coridan.postgresql.org>
2020-12-04 09:29:01 Hou Zhijie (houzj) New status: Ready for Committer
2020-12-04 03:17:44 Hou Zhijie (houzj) New status: Needs review
2020-12-03 12:42:14 Hou Zhijie (houzj) New status: Ready for Committer
2020-12-03 01:56:10 Hou Zhijie (houzj) Added houzj as reviewer
2020-12-03 01:55:24 Hou Zhijie (houzj) New status: Waiting on Author
2020-11-30 15:45:06 Fujii Masao (masaofujii) Added masaofujii as committer
2020-11-30 14:39:31 Muhammad Usama (muhammad_usama) Posted review with messageid <160674717155.7563.13439910553399269588.pgcf@coridan.postgresql.org>
2020-11-30 14:39:31 Muhammad Usama (muhammad_usama) New status: Ready for Committer
2020-11-24 13:34:38 Muhammad Usama (muhammad_usama) Added muhammad_usama as reviewer
2020-11-03 07:49:55 Bharath Rupireddy (bharathrupireddy) Changed authors to Bharath Rupireddy (bharathrupireddy)
2020-11-03 07:49:33 Bharath Rupireddy (bharathrupireddy) Attached mail thread CALj2ACUBpunmyhYZw-kXCYs5NM+h6oG_7Df_Tn4mLmmUQifkqA@mail.gmail.com
2020-11-03 07:49:33 Bharath Rupireddy (bharathrupireddy) Created patch record
Edit