Re: Should duplicate indexes on same column and same

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux