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
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to