| From: | Alexander Pyhalov <a(dot)pyhalov(at)postgrespro(dot)ru> |
|---|---|
| To: | Ilya Gladyshev <ilya(dot)v(dot)gladyshev(at)gmail(dot)com> |
| Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
| Subject: | Re: CREATE INDEX CONCURRENTLY on partitioned index |
| Date: | 2026-05-28 13:55:26 |
| Message-ID: | 6472861e485554974ff40375e6d4b81a@postgrespro.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Alexander Pyhalov писал(а) 2025-07-01 09:43:
> Ilya Gladyshev писал(а) 2024-07-13 01:17:
>> On 12.07.2024 01:01, Michael Paquier wrote:
>>
>>> Please let's move this point to its own thread and deal with it with
>>> an independent patch. Hiding that in a thread that's already quite
>>> long is not a good idea. This needs proper review, and a separate
>>> thread with a good subject to describe the problem will attract a
>>> better audience to deal with the problem you are seeing.
>>>
>>> I was not paying much attention, until you've mentioned that this
>>> was
>>> an issue with HEAD.
>>> --
>>> Michael
>>
>> Sure, created a separate thread [1]. Please disregard the second patch
>> in this thread. Duplicating the last version of the relevant patch
>> here to avoid any confusion.
>>
>> [1]
>> https://www.postgresql.org/message-id/b72f2d89-820a-4fa2-9058-b155cf646f4f%40gmail.com
>
> Hi. We've found an issue with this patch. CIC can pop last active
> snapshot when operating on partitioned table without leaves. This seems
> to be similar to the issue, fixed by
...
Hi.
The patch evidently fails to do concurrent index creation on master, as
childStmt looses "concurrent" property.
Attaching fixed patch.
--
Best regards,
Alexander Pyhalov,
Postgres Professional
| Attachment | Content-Type | Size |
|---|---|---|
| v7-0001-Allow-CREATE-INDEX-CONCURRENTLY-on-partitioned-table.patch | text/x-diff | 29.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2026-05-28 14:17:16 | Re: Add RISC-V Zbb popcount optimization |
| Previous Message | Ilmar Y | 2026-05-28 13:41:58 | Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement |