From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)atentus(dot)com> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: REINDEX ALL and CLUSTER ALL |
Date: | 2002-08-27 16:18:13 |
Message-ID: | 200208271618.g7RGIDV28287@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alvaro Herrera wrote:
> On Tue, 27 Aug 2002, Bruce Momjian wrote:
>
> > 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
>
> Huh... I asked whether to do the CLUSTER ALL thing, and someone said it
> was just bloat; no one seemed to think it was useful, so I abandoned the
> idea.
Oh, we did? Yes, I remember that.
Well, seeing as we now need clusterdb command, it would be better to get
the backend to do it rather than have a separate command floating
around. A separate script is certainly more bloat than whatever code we
would add in cluster.c.
I think this may have been before we got on the idea of marking
pg_attribute with cluster info so we could more easily do cluster of all
tables.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-08-27 16:33:24 | Re: C vs. C++ contributions |
Previous Message | Alvaro Herrera | 2002-08-27 16:13:02 | Re: REINDEX ALL and CLUSTER ALL |