Skip site navigation (1) Skip section navigation (2)

Re: REINDEX ALL and CLUSTER ALL

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: REINDEX ALL and CLUSTER ALL
Date: 2002-08-27 14:17:06
Message-ID: 200208271417.g7REH6u20869@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Christopher Kings-Lynne wrote:
> Would it be worth adding REINDEX ALL and CLUSTER ALL as actual SQL commands?
> This would be neat.  Plus, it means we don't have to worry about having
> unix-only script in the distro once we have Win32 support.
> 
> Actually, we should just leave the 'ALL' off.  That will make them behave
> like VACUUM without arguments...

Wow, now that is a nify idea!   Let me add it to TODO and we can get rid
of the shell scripts entirely:

        o Allow CLUSTER to cluster all tables, remove clusterdb
	o Allow REINDEX to rebuild all indexes, remove /contrib/reindex

If we ever get the index growth fixed, we will not need the reindex
change, I guess, but maybe if they have some index corruption but they
are not sure where it may be helpful.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-hackers by date

Next:From: scott.marloweDate: 2002-08-27 15:40:31
Subject: Re: Default privileges for new databases (was Re: Can't
Previous:From: Gavin SherryDate: 2002-08-27 14:08:53
Subject: Re: [HACKERS] CREATE TEMP TABLE .... ON COMMIT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group