Re: Should duplicate indexes on same column and same

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Should duplicate indexes on same column and same
Дата
Msg-id 1166054092.6494.4.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Should duplicate indexes on same column and same  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Should duplicate indexes on same column and same  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
> > Sorry ,
> > i guess i digressed .
> > Lemme put the question once again.
> >
> > psql> CREATE INDEX x on test (col1);
> > psql> CREATE INDEX y on test (col1);
> >
> > What is (are) the downsides of disallowing the
> > second index. which is *exactly* same as
> > previous?
>
> The cost of preventing every stupid database use is too high.

Although a notice that says:

NOTICE: CREATE DUPLICATE INDEX y on test (col1);

Probably isn't out of order.

Sincerely,

Joshua D. Drake

>
--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




В списке pgsql-admin по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Should duplicate indexes on same column and same
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should duplicate indexes on same column and same