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-09-17 08:35:31
Message-ID: CACJufxEtB=NHQ4Ysyoac2U2S0RJEUzLcc6dUPse_5tpUD6AQWg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 17, 2025 at 3:35 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> On Wed, Sep 17, 2025 at 6:08 AM Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru> wrote:
> >
> > 2. Patch v56-0001-refactor-v56-check_partitions_for_split.no-cfbot
> > applied with cosmetic changes.
> >

In the previous thread
(https://postgr.es/m/CACJufxGWCVf5r9kE-z6MyR2b+wkaU15Q5m2tKz4cvBhYX3-x1g@mail.gmail.com)
I refactored src/test/regress/sql/partition_merge.sql permission related tests.

attached is refactor for src/test/regress/sql/partition_split.sql
permission related tests.
I grouped the permission-related tests together and
removed unnecessary CREATE ROLE commands.
overall readability improved, i think.

Attachment Content-Type Size
v57-0001-partition_split.sql-test-refactor-based-on-v57.no-cfbot application/octet-stream 10.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karina Litskevich 2025-09-17 08:45:29 pg_stat_statements: faster search by queryid
Previous Message Steven Niu 2025-09-17 08:25:35 Re: pgbench: remove an unused function argument