]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Inherit parent's AM for partition MERGE/SPLIT operations
authorAlexander Korotkov <akorotkov@postgresql.org>
Tue, 30 Apr 2024 08:55:13 +0000 (11:55 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Tue, 30 Apr 2024 09:00:39 +0000 (12:00 +0300)
commit259c96fa8f78c0446eba1880850ea6fbe5092120
tree4d9276334eea315a703e859e73b780e1303982fc
parent60ae37a8bc02f7a4beef442ee7b4656fba0e4e71
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
doc/src/sgml/ref/alter_table.sgml
src/backend/commands/tablecmds.c
src/test/regress/expected/partition_merge.out
src/test/regress/expected/partition_split.out
src/test/regress/sql/partition_merge.sql
src/test/regress/sql/partition_split.sql