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
add_repack_explicit_locking_doc.patch
Description: Binary data
