Re: Proposal : REINDEX SCHEMA - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Proposal : REINDEX SCHEMA
Date
Msg-id CAB7nPqQjqdt0oE=32e3g=HEbha4rdLXSn95W3-YkEGrmv17zsw@mail.gmail.com
Whole thread Raw
In response to Re: Proposal : REINDEX SCHEMA  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Proposal : REINDEX SCHEMA  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Tue, Dec 9, 2014 at 4:44 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Tue, Dec 9, 2014 at 10:10 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> On Tue, Dec 2, 2014 at 3:42 PM, Michael Paquier
>> <michael.paquier@gmail.com> wrote:
>>> Adding on top of that a couple of things cleaned up, like docs and
>>> typos, and I got the patch attached. Let's have a committer have a
>>> look a it now, I am marking that as "Ready for Committer".
>> For the archives, this has been committed as fe263d1. Thanks Simon for
>> looking and the final push. And sorry that I didn't spot the issue
>> with tap tests when reviewing, check-world passed but my dev VM missed
>> necessary perl packages.
> While re-looking at that. I just found that when selecting the
> relations that are reindexed for a schema we ignore materialized view
> as the key scan is only done using 'r' as relkind. The patch attached
> fixes that.
Here is an updated patch doing as well that:
- Regression test checking if user has permissions on schema was broken
- Silent NOTICE messages of REINDEX by having client_min_messages set
to WARINING (thoughts about having a plpgsql function doing
consistency checks of relfilenode before and after reindex?)
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Proposal : REINDEX SCHEMA
Next
From: Michael Paquier
Date:
Subject: committsdesc.c not ignored in contrib/pg_xlogdump