Re: REINDEX SCHEMA/DATABASE/SYSTEM weak with dropped relations - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: REINDEX SCHEMA/DATABASE/SYSTEM weak with dropped relations
Date
Msg-id 20200902002013.GC1489@paquier.xyz
Whole thread Raw
In response to Re: REINDEX SCHEMA/DATABASE/SYSTEM weak with dropped relations  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
List pgsql-hackers
On Tue, Sep 01, 2020 at 01:25:27PM +0300, Anastasia Lubennikova wrote:
> Yes, this version is good.

Thanks.  I have added an extra comment for the case of RELKIND_INDEX
with REINDEXOPT_MISSING_OK while on it, as it was not really obvious
why the parent relation needs to be locked (at least attempted to) at
this stage.  And applied the change.  Thanks for the review,
Anastasia.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Manager for commit fest 2020-09
Next
From: Peter Geoghegan
Date:
Subject: Re: logtape.c stats don't account for unused "prefetched" block numbers