Add mention of REPACK CONCURRENTLY to Explicit Locking docs

From: Artur Zakirov <zaartur(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Add mention of REPACK CONCURRENTLY to Explicit Locking docs
Date: 2026-11-26 11:41:15
Message-ID: CAKNkYnx-vp96S5WOeLn9CMV772S+5JTf7TOd-nKwBVXq0shyZA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hey,

The "Explicit Locking" documentation page [1] mentions REPACK and
REPACK CONCURRENTLY only in the ACCESS EXCLUSIVE part. REPACK
CONCURRENTLY also acquires SHARE UPDATE EXCLUSIVE lock for the whole
run (except the last swap step).

I attached a simple patch to add REPACK CONCURRENTLY into the SHARE
UPDATE EXCLUSIVE part.

1 - https://www.postgresql.org/docs/devel/explicit-locking.html#LOCKING-TABLES

--
Kind regards,
Artur

Attachment Content-Type Size
add_repack_explicit_locking_doc.patch application/octet-stream 942 bytes

Browse pgsql-hackers by date

  From Date Subject
Previous Message Amit Kapila 2026-11-26 11:28:33 Re: Proposal: Conflict log history table for Logical Replication