Add mention of REPACK CONCURRENTLY to Explicit Locking docs

Started by Arthur Zakirov3 days ago1 messageshackers

Thread notes

1 note#docs
hackorum-bot#docs
hackorum-bot
2 days ago

@global #docs

#docs
Jump to latest
#1Arthur Zakirov
zaartur@gmail.com

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

Attachments:

t259865_1
add_repack_explicit_locking_doc.patchapplication/octet-stream; name=add_repack_explicit_locking_doc.patchDownload+3-0