Re: Assertion on create index concurrently

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Assertion on create index concurrently
Date: 2021-06-28 02:19:48
Message-ID: YNkxxH+uywCX5XSi@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Jun 27, 2021 at 10:33:44PM +0300, Andrey Lepikhov wrote:
> Technically, 83158f7 is trivial patch. I think, some efforts is required
> only for PG9.6. I prepared a patch for this version.

Thanks. This version had two problems:
- The comment on top of index_set_state_flags() was not updated, still
mentioning CatalogTupleUpdate().
- CatalogUpdateIndexes() does the job for the index updates, and using
it is more consistent with the other areas of index.c in
REL9_6_STABLE.

Just to keep a cleaner history, I have split your test case into a
separate commit, and applied that and the backpatch of 83158f7.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Munro 2021-06-28 02:45:56 Re: BUG #17064: Parallel VACUUM operations cause the error "global/pg_filenode.map contains incorrect checksum"
Previous Message Andrey Lepikhov 2021-06-27 19:33:44 Re: Assertion on create index concurrently