Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XP9KY-0006fu-Vp for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Sep 2014 12:06:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XP9KY-0001Xy-CA for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Sep 2014 12:06:30 +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 1XP9KX-0001Xo-D2 for pgsql-hackers@postgresql.org; Wed, 03 Sep 2014 12:06:29 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XP9KU-0000u4-45 for pgsql-hackers@postgresql.org; Wed, 03 Sep 2014 12:06:27 +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 5521C50808B8; Wed, 3 Sep 2014 14:05:52 +0200 (CEST) Message-ID: <5407041E.4010309@dalibo.com> Date: Wed, 03 Sep 2014 14:05:50 +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: Marko Tiikkaja , Alvaro Herrera CC: 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> In-Reply-To: <540625BE.2060303@joh.to> 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/02/2014 10:17 PM, Marko Tiikkaja wrote: > On 2014-08-29 01:00, Alvaro Herrera wrote: >> Vik Fearing wrote: >> >>> Here are two patches for this. >>> >>> The first one, reindex_user_tables.v1.patch, implements the variant that >>> only hits user tables, as suggested by you. >>> >>> The second one, reindex_no_dbname.v1.patch, allows the three >>> database-wide variants to omit the database name (voted for by Daniel >>> Migowski, Bruce, and myself; voted against by you). This patch is to be >>> applied on top of the first one. >> >> Not a fan. Here's a revised version that provides REINDEX USER TABLES, >> which can only be used without a database name; other modes are not >> affected i.e. they continue to require a database name. > > Yeah, I think I like this better than allowing all of them without the > database name. Why? It's just a noise word! >> I also renamed >> your proposed reindexdb's --usertables to --user-tables. > > I agree with this change. Me, too. >> Oh, I just noticed that if you say reindexdb --all --user-tables, the >> latter is not honored. Must fix before commit. > > Definitely. Okay, I'll look at that. > Is someone going to prepare an updated patch? Vik? Yes, I will update the patch. -- Vik -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers