REPACK
REPACK command replacing VACUUM FULL/CLUSTER, including the online CONCURRENTLY mode built on logical decoding.
Versions
- PostgreSQL 20 · in-development · improved · major · 3 commits · +192 / -26 lines
- PostgreSQL 19 · shipped · new · major · 24 commits · +7.3k / -2.2k lines
- PostgreSQL 18 · shipped · new · major · 1 commit · +75 / -73 lines
- PostgreSQL 17 · worked-on · new · major
Threads
- [PATCH] psql: Fix REPACK index completion after a column list
- Add mention of REPACK CONCURRENTLY to Explicit Locking docs
- repack: clarify final phase of concurrent mode in file header comment
- BUG #19932: `repack (concurrently)` does not work in `psql` with `AUTOCOMMIT` set to `off`
- repack with verbose output: not showing the number of removable row versions when using USING INDEX or CONCURRENTLY option
- Table AM callback for logical decoding support (REPACK CONCURRENTLY)
- BUG #19881: CLUSTER uses a disabled sort path when enable_sort is off
- Re: BUG #19881: CLUSTER uses a disabled sort path when enable_sort is off
- Incorrect CONTEXT reported for errors during REPACK CONCURRENTLY
- psql: Don't offer USING INDEX after REPACK (CONCURRENTLY) or (ANALYZE)
- REPACK enhancements
- BUG #19519: REPACK can fail due to missing chunk for toast value
- Re: BUG #19519: REPACK can fail due to missing chunk for toast value
- REPACK (CONCURRENTLY) decoding worker is canceled by lock_timeout
- [PATCH] Misleading error message for REPACK USING INDEX on shared catalogs
- [PATCH] psql: Complete INDEX after REPACK USING
- Add REPACK progress phases for logical decoding setup
- REPACK: warn about skipping foreign partitions
- REPACK (CONCURRENTLY) can't complete after ~105M concurrent updates/deletes
- REPACK hits assertion failure on postmaster death exit
- REPACK (CONCURRENTLY) might keep dropped-column data
- REPACK (CONCURRENTLY): do not block the table while waiting for the final lock
- REPACK (CONCURRENTLY) can crash a logical decoding session
- REPACK (CONCURRENTLY) can silently lose updates when the toast table is rewritten
- REPACK (CONCURRENTLY) can lose data in pg_dump output
- REPACK (CONCURRENTLY) loses missing values of columns added without a rewrite
- Correct some doc items due to the REPACK
- REPACK (CONCURRENTLY) backend waits indefinitely when decoding worker fails to start
- REPACK (CONCURRENTLY) doesn't handle invalid indexes
- [PATCH] Avoid a REPACK worker startup hang
- REPACK (CONCURRENTLY) fails when replica identity index is dropped
- Fix REPACK with WITHOUT OVERLAPS replica identity indexes
- REPACK (ANALYZE) within transaction block segfaults
- pg_stat_progress_cluster: do not default to CLUSTER
- REPACK (CONCURRENTLY) rewrites tables marked with user_catalog_table
- REPACK (CONCURRENTLY) fails with wrong error for materialized views
- REPACK (CONCURRENTLY) fails when table owner lacks CONNECT
- REPACK (CONCURRENTLY) doesn't check the table AM
- REPACK ONLY is accepted but ignored
- REPACK decoding worker startup/teardown differs from parallel.c
- Fwd: Re: repack with verbose output: not showing the number of removable row versions when using USING INDEX or CONCURRENTLY option
- on 19beta3: repack (concurrently) affects sessions with transaction isolation level repeatable read
- Tighten ACL check in repack_is_permitted_for_relation()
- Should CUSTER (ANALYZE) work?
- Adding REPACK [concurrently]
- Fix LSN format in REPACK worker debug message
- Do not lock tables in get_tables_to_repack
- Unexpected changes of CurrentResourceOwner and CurrentMemoryContext
- doc: REPACK is missing from the MAINTAIN privilege documentation
- REPACK CONCURRENTLY fails on tables with generated columns
- BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API
- [PATCH] Improve REPACK (CONCURRENTLY) error messages for unsupported configurations
- effective_wal_level is not decreasing after using REPACK (CONCURRENTLY)
- [PATCH] Fix REPACK decoding worker not cleaned up on FATAL exit
- [PATCH] Fix psql tab completion for REPACK boolean options
- [PATCH] Fix errhint messages for REPACK (CONCURRENTLY) restrictions
- [Bug]Vacuum full silently NULL out fast default columns
- off-by-one in pg_repack index loop
- [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY
- repack: fix a bug to reject deferrable primary key fallback for concurrent mode
- repack: fix uninitialized DecodingWorkerShared.initialized
- Re: Adding REPACK [concurrently]
- splitting src/bin/scripts/vacuumdb.c
- REPACK and naming
- Re: Adding REPACK [concurrently]
- trivial grammar refactor
- why there is not VACUUM FULL CONCURRENTLY?
- A concurrent VACUUM FULL?