Re: BUG #10823: Better REINDEX syntax.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: dmigowski(at)ikoffice(dot)de, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #10823: Better REINDEX syntax.
Date: 2014-07-30 17:29:31
Message-ID: 32524.1406741371@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> On Tue, Jul 1, 2014 at 10:33:07AM +0000, dmigowski(at)ikoffice(dot)de wrote:
>> Compared to CLUSTER and VACUUM FULL we need to specify a database to the
>> REINDEX command. Why? It would be logical to reindex the current database,
>> exactly like CLUSTER does. So why isn't the DATABASE parameter optional?

> Wow, yeah, that is kind of odd, e.g.

I don't find it all that odd. We should not be encouraging routine
database-wide reindexes.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2014-07-30 17:35:55 Re: BUG #10823: Better REINDEX syntax.
Previous Message Bruce Momjian 2014-07-30 16:07:50 Re: BUG #10823: Better REINDEX syntax.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-07-30 17:35:55 Re: BUG #10823: Better REINDEX syntax.
Previous Message Robert Haas 2014-07-30 17:27:24 commitfest status