pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vik Fearing <vik.fearing@dalibo.com>
To: Marko Tiikkaja <marko@joh.to>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: dmigowski@ikoffice.de
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #10823: Better REINDEX syntax.
Date: Wed, 03 Sep 2014 14:05:50 +0200
Message-ID: <5407041E.4010309@dalibo.com> (raw)
In-Reply-To: <540625BE.2060303@joh.to>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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



view thread (21+ messages)  latest in thread

Message-ID: <5407041E.4010309@dalibo.com>
Permalink:  ../5407041E.4010309@dalibo.com/
Also on:    postgresql.org/message-id/5407041E.4010309@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, marko@joh.to, alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, bruce@momjian.us, dmigowski@ikoffice.de, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #10823: Better REINDEX syntax.
  In-Reply-To: <5407041E.4010309@dalibo.com>
  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>

* 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