Re: Why does cluster need the indexname? - Mailing list pgsql-hackers

From G. Anthony Reina
Subject Re: Why does cluster need the indexname?
Date
Msg-id 394A8FB2.906D2C3E@nsi.edu
Whole thread Raw
In response to Re: Why does cluster need the indexname?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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




pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: Big 7.1 open items
Next
From: Kaare Rasmussen
Date:
Subject: Re: Big 7.1 open items