Re: Re[2]: - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: Re[2]:
Date
Msg-id 20200527074736.GG103662@paquier.xyz
Whole thread Raw
In response to Re: Re[2]:  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re[4]:  (Andrey Klychkov <aaklychkov@mail.ru>)
Re: Re[2]:  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Tue, May 26, 2020 at 10:50:19AM -0400, Tom Lane wrote:
> 2. Is reindexdb handling the failure sanely?  While I'd agree that
> this behavior isn't especially desirable, it's the price of using
> REINDEX CONCURRENTLY.  On failure, you're expected to clean up
> manually by removing the leftover invalid index.  Perhaps the
> documentation isn't clear enough about that, but I don't see a
> bug there.

There is a paragraph about the handling of invalid indexes on the
reindex page:
https://www.postgresql.org/docs/devel/sql-reindex.html#SQL-REINDEX-CONCURRENTLY
"The recommended recovery method in such cases is to drop the invalid
index and try again to perform REINDEX CONCURRENTLY. The concurrent
index created during the processing has a name ending in the suffix
ccnew, or ccold if it is an old index definition which we failed to
drop. Invalid indexes can be dropped using DROP INDEX, including
invalid toast indexes."
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Tulegen Nuryshov
Date:
Subject: RE: error
Next
From: PG Bug reporting form
Date:
Subject: BUG #16465: Inconsistent results from comparison of row value expressions