Re: Why does cluster need the indexname?

From: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Why does cluster need the indexname?
Date: 2000-06-16 20:36:03
Message-ID: 394A8FB2.906D2C3E@nsi.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

> I always thought that CLUSTER was being redundant in the other
> direction: if you've told it the index name, there's no need to
> tell it the base table name. It can find that out from the index.
>

Good point. That would make the most sense:

CLUSTER index_name

if index_name was a primary key to a table, then there's no need to specify
the table.

-Tony

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2000-06-16 21:07:13 Re: Big 7.1 open items
Previous Message Don Baccus 2000-06-16 19:37:36 Re: Big 7.1 open items