Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XCXhG-0004VP-UP for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Jul 2014 17:29:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XCXhG-0003dv-9C for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Jul 2014 17:29:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XCXhF-0003do-HE for pgsql-bugs@postgresql.org; Wed, 30 Jul 2014 17:29:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XCXhC-0000Zz-EV for pgsql-bugs@postgresql.org; Wed, 30 Jul 2014 17:29:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s6UHTVZ4032525; Wed, 30 Jul 2014 13:29:31 -0400 From: Tom Lane To: Bruce Momjian cc: dmigowski@ikoffice.de, pgsql-bugs@postgresql.org Subject: Re: BUG #10823: Better REINDEX syntax. In-reply-to: <20140730160750.GH2791@momjian.us> References: <20140701103307.15691.5420@wrigleys.postgresql.org> <20140730160750.GH2791@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 30 Jul 2014 12:07:50 -0400" Date: Wed, 30 Jul 2014 13:29:31 -0400 Message-ID: <32524.1406741371@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Bruce Momjian 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. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs