Re: Assertion on create index concurrently

From: Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Assertion on create index concurrently
Date: 2021-06-27 19:33:44
Message-ID: a988c2c0-5c6c-27e4-3acb-a4e2bdebd064@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 27/6/21 18:37, Tom Lane wrote:
> Michael Paquier <michael(at)paquier(dot)xyz> writes:
>> On Sat, Jun 26, 2021 at 09:48:45PM +0300, Andrey Lepikhov wrote:
>>> This problem affects PG 9.6 - 13. The master branch was fixed 9 months ago
>>> by commit 83158f7, that made this operation transactional, but still.
>
>> This looks like a good argument for back-patching 83158f7 all the way
>> down, as 813fb03 exists since 9.4. Any thoughts from others?
>
> +1 ... 83158f7 has survived long enough to have reasonable confidence
> in it.
Technically, 83158f7 is trivial patch. I think, some efforts is required
only for PG9.6. I prepared a patch for this version.

--
regards,
Andrey Lepikhov
Postgres Professional

Attachment Content-Type Size
0001-Back-patch-of-83158f7-for-PG9_6.patch text/plain 2.4 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2021-06-28 02:19:48 Re: Assertion on create index concurrently
Previous Message Alexander Lakhin 2021-06-27 19:00:00 Re: BUG #17072: Assert for clogGroupNext failed due to a race condition in TransactionGroupUpdateXidStatus()