Re: Should duplicate indexes on same column and same

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com>, Lista Postgres <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Should duplicate indexes on same column and same
Date: 2006-12-13 23:55:53
Message-ID: 13302.1166054153@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Joshua D. Drake" <jd(at)commandprompt(dot)com> 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2006-12-13 23:59:09 Re: Should duplicate indexes on same column and same
Previous Message Joshua D. Drake 2006-12-13 23:54:52 Re: Should duplicate indexes on same column and same