| From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Inherit parent's AM for partition MERGE/SPLIT operations |
| Date: | 2024-04-30 09:00:58 |
| Message-ID: | E1s1jM9-000lFy-Kr@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/259c96fa8f78c0446eba1880850ea6fbe5092120
Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml | 2 ++
src/backend/commands/tablecmds.c | 6 ++++++
src/test/regress/expected/partition_merge.out | 18 ++++++++++++++++++
src/test/regress/expected/partition_split.out | 23 +++++++++++++++++++++--
src/test/regress/sql/partition_merge.sql | 13 +++++++++++++
src/test/regress/sql/partition_split.sql | 14 ++++++++++++++
6 files changed, 74 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Korotkov | 2024-04-30 09:14:22 | pgsql: Stabilize regression tests introduced by 259c96fa8f |
| Previous Message | Tom Lane | 2024-04-30 05:26:59 | Re: pgsql: Reject SSL connection if ALPN is used but there's no common prot |