pgsql: Restructure repack worker teardown - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Restructure repack worker teardown
Date
Msg-id E1wRtew-001DHv-1g@gemulon.postgresql.org
Whole thread
List pgsql-committers
Restructure repack worker teardown

The original code would leave a shared memory segment unreleased if we
fail partway through initialization.  Change the shutdown order so that
we always free it.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Antonin Houska <ah@cybertec.at>
Discussion: https://postgr.es/m/agtNn6ZCmdI2KJFn@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1588d89af22f292e9ba44eaa33a14122e0754c3a

Modified Files
--------------
src/backend/commands/repack.c | 71 ++++++++++++++++++++++---------------------
1 file changed, 37 insertions(+), 34 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 19 relnotes: adjust item to mention pg_replication_slots
Next
From: Tom Lane
Date:
Subject: pgsql: Add stack depth check to QueueFKConstraintValidation().