Re: REINDEX SCHEMA/DATABASE/SYSTEM weak with dropped relations

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: REINDEX SCHEMA/DATABASE/SYSTEM weak with dropped relations
Date: 2020-09-02 00:20:13
Message-ID: 20200902002013.GC1489@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

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