pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vik Fearing <vik.fearing@dalibo.com>
To: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: dmigowski@ikoffice.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10823: Better REINDEX syntax.
Date: Wed, 30 Jul 2014 19:48:39 +0200
Message-ID: <53D92FF7.1040702@dalibo.com> (raw)
In-Reply-To: <20140730173555.GI2791@momjian.us>
References: <20140701103307.15691.5420@wrigleys.postgresql.org>
	<20140730160750.GH2791@momjian.us>
	<32524.1406741371@sss.pgh.pa.us>
	<20140730173555.GI2791@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 07/30/2014 07:35 PM, Bruce Momjian wrote:
> On Wed, Jul 30, 2014 at 01:29:31PM -0400, Tom Lane wrote:
>> Bruce Momjian <bruce@momjian.us> writes:
>>> On Tue, Jul  1, 2014 at 10:33:07AM +0000, dmigowski@ikoffice.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.
> 
> Uh, do we encourage database-wide VACUUM FULL or CLUSTER, as we use them
> there with no parameter.  Is there a reason REINDEX should be harder,
> and require a dummy argument to run?

I agree.  The request isn't for a naked REINDEX command, it's for a
naked REINDEX DATABASE command.
-- 
Vik


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (21+ messages)  latest in thread

Message-ID: <53D92FF7.1040702@dalibo.com>
Permalink:  ../53D92FF7.1040702@dalibo.com/
Also on:    postgresql.org/message-id/53D92FF7.1040702@dalibo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: vik.fearing@dalibo.com, bruce@momjian.us, tgl@sss.pgh.pa.us, dmigowski@ikoffice.de
  Subject: Re: BUG #10823: Better REINDEX syntax.
  In-Reply-To: <53D92FF7.1040702@dalibo.com>
  References: <20140701103307.15691.5420@wrigleys.postgresql.org> <20140730160750.GH2791@momjian.us> <32524.1406741371@sss.pgh.pa.us> <20140730173555.GI2791@momjian.us> <53D92FF7.1040702@dalibo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox