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

From Stephen Frost
Subject Re: Proposal : REINDEX SCHEMA
Date
Msg-id 20141012172725.GX28859@tamriel.snowman.net
Whole thread Raw
In response to Re: Proposal : REINDEX SCHEMA  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Proposal : REINDEX SCHEMA
Re: Proposal : REINDEX SCHEMA
List pgsql-hackers
* Alvaro Herrera (alvherre@2ndquadrant.com) wrote:
> Sawada Masahiko wrote:
> > Attached WIP patch adds new syntax REINEX SCHEMA which does reindexing
> > all table of specified schema.
> > There are syntax dose reindexing specified index, per table and per database,
> > but we can not do reindexing per schema for now.
>
> It seems doubtful that there really is much use for this feature, but if
> there is, I think a better syntax precedent is the new ALTER TABLE ALL
> IN TABLESPACE thingy, rather than your proposed REINDEX SCHEMA.
> Something like REINDEX TABLE ALL IN SCHEMA perhaps.

Yeah, I tend to agree that we should be looking at the 'ALL IN
TABLESPACE' and 'ALL IN SCHEMA' type of commands to keep things
consistent.  This might be an alternative for the vacuum / analyze /
reindex database commands also..
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Hide 'Execution time' in EXPLAIN (COSTS OFF)
Next
From: Gavin Flower
Date:
Subject: Re: Column Redaction