| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Restructure repack worker teardown |
| Date: | 2026-05-26 15:25:34 |
| Message-ID: | E1wRtew-001DHv-1g@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)kurilemu(dot)de>
Reviewed-by: Antonin Houska <ah(at)cybertec(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-05-26 15:58:33 | pgsql: Add stack depth check to QueueFKConstraintValidation(). |
| Previous Message | Bruce Momjian | 2026-05-26 14:59:51 | pgsql: doc PG 19 relnotes: adjust item to mention pg_replication_slots |