Re: Why does cluster need the indexname?

Поиск
Список
Период
Сортировка
От G. Anthony Reina
Тема Re: Why does cluster need the indexname?
Дата
Msg-id 394A8FB2.906D2C3E@nsi.edu
обсуждение исходный текст
Ответ на Re: Why does cluster need the indexname?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: Big 7.1 open items
Следующее
От: Kaare Rasmussen
Дата:
Сообщение: Re: Big 7.1 open items