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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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