DETACH PARTITION CONCURRENTLY
Attaching and detaching partitions with reduced locking, including DETACH PARTITION CONCURRENTLY and FINALIZE. Introduced in PostgreSQL 14.
Versions
- PostgreSQL 17 · worked-on · improved · moderate
Threads
- Partitioned index marked valid while a partition is pending detach
- BUG #19913: Parent ALTER TABLE during concurrent DETACH leaves pending partition unusable (42804)
- BUG #19884: pg_publication_tables omits a detach-pending partition in root mode
- Crashes on a partition whose concurrent detach never finished
- Plan-cache race when ATTACH PARTITION commits during generic plan construction
- BUG #19690: Possible stale partition descriptor after concurrent ATTACH PARTITION
- BUG #19580: Can not FINALIZE detach partition. Table in stuck
- BUG #19100: Different column type between partitioned table and detached pending partition table make errors
- BUG #18371: There are wrong constraint residues when detach hash partiton concurrently
- BUG #19070: issue with DETACH PARTITION CONCURRENTLY on a hash partition table
- Issue with DETACH PARTITION CONCURRENTLY on a hash partition table
- Use-after-free in expand_partitioned_rtentry
- Correct Behaviour for Concurrent partition detach
- BUG #18559: Crash after detaching a partition concurrently from another session
- BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943
- Need the ability to call alter table detach partition concurrently inside a procedure
- WaitForOlderSnapshots in DETACH PARTITION causes deadlocks
- handling multiple matching constraints in DetachPartitionFinalize()
- BUG #17339: Assert failed on attempt to detach a sequence concurrently
- Test of a partition with an incomplete detach has a timing issue
- ALTER TABLE .. DETACH PARTITION CONCURRENTLY
- tab-complete for ALTER TABLE .. DETACH PARTITION CONCURRENTLY
- ATTACH/DETACH PARTITION CONCURRENTLY
- lock level for DETACH PARTITION looks sketchy