"Joshua D. Drake" <[EMAIL PROTECTED]> writes:
>> 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.
You're omitting the (probably) several pages of C code that would be
needed to detect whether the index is really a duplicate or not.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match