Re: Should duplicate indexes on same column and same - Mailing list pgsql-admin

From Joshua D. Drake
Subject Re: Should duplicate indexes on same column and same
Date
Msg-id 1166054092.6494.4.camel@localhost.localdomain
Whole thread Raw
In response to Re: Should duplicate indexes on same column and same  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Should duplicate indexes on same column and same
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Should duplicate indexes on same column and same
Next
From: Tom Lane
Date:
Subject: Re: Should duplicate indexes on same column and same