Re: [BUGS] BUG #10823: Better REINDEX syntax.

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Marko Tiikkaja <marko(at)joh(dot)to>
Cc: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, dmigowski(at)ikoffice(dot)de, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] BUG #10823: Better REINDEX syntax.
Date: 2014-09-02 20:24:15
Message-ID: 20140902202414.GB14037@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Marko Tiikkaja wrote:
> On 2014-08-29 01:00, Alvaro Herrera wrote:

> >Note: I don't like the reindexdb UI; if you just run "reindexdb -d
> >foobar" it will reindex everything, including system catalogs. I think
> >USER TABLES should be the default operation mode for reindex. If you
> >want plain old "REINDEX DATABASE foobar" which also hits the catalogs,
> >you should request that separately (how?). This patch doesn't change
> >this.
>
> This should probably be a separate patch if it's going to happen.

Yeh, no argument there.

> >Also note: if you say "user tables", information_schema is reindexed too,
> >which kinda sucks.
>
> *shrug* It sort of makes sense if you think of this as the opposite
> of REINDEX SYSTEM. I'm not at all sure whether including or
> excluding it would be the better choice here.

Yeah, probably not worth bothering.

> Do we have some kind of an agreement on what this patch should look
> like? Is someone going to prepare an updated patch? Vik?

I think the only issue left for this to be committable is reindexdb
--all previously mentioned.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marko Tiikkaja 2014-09-02 20:28:01 Re: [BUGS] BUG #10823: Better REINDEX syntax.
Previous Message Marko Tiikkaja 2014-09-02 20:17:02 Re: [BUGS] BUG #10823: Better REINDEX syntax.

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2014-09-02 20:27:01 Re: PL/pgSQL 2
Previous Message Martijn van Oosterhout 2014-09-02 20:18:51 Re: On partitioning