Inherit parent's AM for partition MERGE/SPLIT operations
Alexander Korotkov <akorotkov@postgresql.org>
Inherit parent's AM for partition MERGE/SPLIT operations This commit makes new partitions created by ALTER TABLE ... SPLIT PARTITION and ALTER TABLE ... MERGE PARTITIONS commands inherit the paret table access method. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/84ada05b-be5c-473e-6d1c-ebe5dd21b190%40gmail.com Reviewed-by: Pavel Borisov
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_table.sgml | modified | +2 −0 |
| src/backend/commands/tablecmds.c | modified | +6 −0 |
| src/test/regress/expected/partition_merge.out | modified | +18 −0 |
| src/test/regress/expected/partition_split.out | modified | +21 −2 |
| src/test/regress/sql/partition_merge.sql | modified | +13 −0 |
| src/test/regress/sql/partition_split.sql | modified | +14 −0 |
Documentation touched
Discussion
- Add SPLIT PARTITION/MERGE PARTITIONS commands 298 messages · 2022-05-31 → 2026-06-30