Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Date: 2025-06-06 02:28:00
Message-ID: CACJufxGZSsrRQnfp=T3t3wgisoouuA8pyW5SfWD1FTsW=x6JOg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi.
one more patch for regress tests.

ALTER TABLE salespeople MERGE PARTITIONS (salespeople10_20,
salespeople20_30, salespeople30_40) INTO salespeople10_40;
the trigger on the merged partition will be dropped.
For example, here, trigger on salespeople10_20 will be dropped.

I am surprised that partition_merge.sql doesn't have much \d+ command.
so I added two, which is necessary IMHO.

Attachment Content-Type Size
v40-0001-test-for-MERGE-PARTITION-TRIGGER.no-cfbot application/octet-stream 6.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2025-06-06 02:32:39 Re: [PATCH] Re: Proposal to Enable/Disable Index using ALTER INDEX
Previous Message Michael Paquier 2025-06-06 02:06:24 Re: Improve explicit cursor handling in pg_stat_statements