pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Inherit parent's AM for partition MERGE/SPLIT operations
Date: Tue, 30 Apr 2024 09:00:58 +0000
Message-ID: <E1s1jM9-000lFy-Kr@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1s1jM9-000lFy-Kr@gemulon.postgresql.org>
Permalink:  ../E1s1jM9-000lFy-Kr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1s1jM9-000lFy-Kr@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Inherit parent's AM for partition MERGE/SPLIT operations
  In-Reply-To: <E1s1jM9-000lFy-Kr@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox