Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XRpgf-0004HS-Pl for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Sep 2014 21:44:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XRpge-0004g4-Jc for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Sep 2014 21:44:24 +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 1XRpgc-0004fq-2Q for pgsql-hackers@postgresql.org; Wed, 10 Sep 2014 21:44:22 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XRpgT-0002fZ-C4 for pgsql-hackers@postgresql.org; Wed, 10 Sep 2014 21:44:20 +0000 Received: from [192.168.0.4] (ath91-3-88-167-161-184.fbx.proxad.net [88.167.161.184]) by mimolette.dalibo.net (Postfix) with ESMTPSA id 27F8550806A3; Wed, 10 Sep 2014 23:44:09 +0200 (CEST) Message-ID: <5410C602.1040905@dalibo.com> Date: Wed, 10 Sep 2014 23:43:30 +0200 From: Vik Fearing User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Stephen Frost CC: Marko Tiikkaja , Alvaro Herrera , Tom Lane , Bruce Momjian , dmigowski@ikoffice.de, PG Hackers Subject: Re: [BUGS] BUG #10823: Better REINDEX syntax. References: <20140701103307.15691.5420@wrigleys.postgresql.org> <20140730160750.GH2791@momjian.us> <32524.1406741371@sss.pgh.pa.us> <20140730173555.GI2791@momjian.us> <1840.1406742419@sss.pgh.pa.us> <53DB69DE.8040009@dalibo.com> <20140828230056.GD7705@eldon.alvh.no-ip.org> <540625BE.2060303@joh.to> <5407041E.4010309@dalibo.com> <20140908041750.GA16422@tamriel.snowman.net> In-Reply-To: <20140908041750.GA16422@tamriel.snowman.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 09/08/2014 06:17 AM, Stephen Frost wrote: > * Vik Fearing (vik.fearing@dalibo.com) wrote: >> On 09/02/2014 10:17 PM, Marko Tiikkaja wrote: >>> Yeah, I think I like this better than allowing all of them without the >>> database name. >> >> Why? It's just a noise word! > > Eh, because it ends up reindexing system tables too, which is probably > not what new folks are expecting. No behavior is changed at all. REINDEX DATABASE dbname; has always hit the system tables. Since dbname can *only* be the current database, there's no logic nor benefit in requiring it to be specified. > Also, it's not required when you say > 'user tables', so it's similar to your user_tables v1 patch in that > regard. The fact that REINDEX USER TABLES; is the only one that doesn't require the dbname seems very inconsistent and confusing. >> Yes, I will update the patch. > > Still planning to do this..? > > Marking this back to waiting-for-author. Yes, but probably not for this commitfest unfortunately. -- Vik -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers