On Thu, Aug 13, 2026 at 11:51 PM Marcos Pegoraro <[email protected]> wrote: > Cool, your version is much better than mine.
Thanks for the review! > Only on mvcc.sgml I think mine is better because explains other commands and > both which have CONCURRENTLY option explained only once. The wording in v1 could be read as saying that REPACK CONCURRENTLY never takes an ACCESS EXCLUSIVE lock. However, as described in the REPACK docs, it still takes an ACCESS EXCLUSIVE lock while swapping the table and index files. So I think v2 is more accurate. I agree that it would be nice to explain the CONCURRENTLY cases only once, but REPACK CONCURRENTLY differs from REFRESH MATERIALIZED VIEW CONCURRENTLY in that it does take an ACCESS EXCLUSIVE lock. Thoughts? Regards, -- Fujii Masao
