Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

Dmitry Koval <d.koval@postgrespro.ru>

From: Dmitry Koval <d.koval@postgrespro.ru>
To: jian he <jian.universality@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-09-16T22:08:17Z
Lists: pgsql-hackers

Attachments

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