Re: Add SPLIT PARTITION/MERGE PARTITIONS commands

From: Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Date: 2025-10-31 15:41:14
Message-ID: 09414bf8-9326-431c-9422-b13bddf5f554@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Alexander!

>How this function could handle this case?
>
>list1: (NULL)
>list2: whatever containing NULL
>
>The outer loop will just quit after iterating the only element of
>list1 without even iterating list2.

Thanks for the case!
Patches with the fix are attached to email.

--
With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com

Attachment Content-Type Size
v64-0001-Implement-ALTER-TABLE-.-MERGE-PARTITIONS-.-comma.patch text/plain 169.8 KB
v64-0002-Implement-ALTER-TABLE-.-SPLIT-PARTITION-.-comman.patch text/plain 232.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marcus Gartner 2025-10-31 16:04:35 [PATCH] Fix LTREE subpath with negative offset
Previous Message Bruce Momjian 2025-10-31 15:41:12 Re: Should we update the random_page_cost default value?