Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

From: Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Date: 2025-09-16 22:08:17
Message-ID: 57a94d8a-d7b6-4c5e-9001-be1cd403b172@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, Jiah He!

Thank you for the patch!

1.
>can simplified to
> if (list_member_oid(mergingPartitions, existingRelid))
> newPartitionOid = existingRelid;

Applied (with small additional changes).

2. Patch v56-0001-refactor-v56-check_partitions_for_split.no-cfbot
applied with cosmetic changes.

--
With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com

Attachment Content-Type Size
v57-0001-Implement-ALTER-TABLE-.-MERGE-PARTITIONS-.-comma.patch text/plain 170.2 KB
v57-0002-Implement-ALTER-TABLE-.-SPLIT-PARTITION-.-comman.patch text/plain 233.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Masahiko Sawada 2025-09-16 22:00:40 Re: [PATCH] Add tests for Bitmapset