Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: zengman <zengman(at)halodbtech(dot)com>
Cc: Stéphane Tachoires <stephane(dot)tachoires(at)gmail(dot)com>, Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Date: 2025-12-14 13:47:34
Message-ID: CAPpHfdvt64X0F3thjC0q9vOTU-JqG2M_MJfEeA2-_=odNOA3Dg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Man,

On Sun, Dec 14, 2025 at 2:51 PM zengman <zengman(at)halodbtech(dot)com> wrote:
> I just noticed two relatively large commits. I recall that not long ago we started attempting to adopt `palloc_object` and `palloc_array` in many places,
> yet in these two commits, some sections have used the new approach while others have not.
> Perhaps we could standardize the coding style for consistency.
>
> src/backend/commands/tablecmds.c
> src/backend/partitioning/partbounds.c

Could you, please, check the attached patch?

------
Regards,
Alexander Korotkov
Supabase

Attachment Content-Type Size
v1-0001-Fix-usage-of-palloc-in-MERGE-SPLIT-PARTITION-s-co.patch application/octet-stream 3.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Cramer 2025-12-14 13:48:57 Re: Proposal to allow setting cursor options on Portals
Previous Message Jelte Fennema-Nio 2025-12-14 13:41:53 Re: Proposal to allow setting cursor options on Portals