Re: [GENERAL] Disable duplicate index creation

2007-06-14 Thread Tom Lane
"Andrus" <[EMAIL PROTECTED]> writes: > PostgreSQL runs commands > create table test ( test integer primary key ); > create index i1 on test(test); > create index i2 on test(test); > without any error. > Now there are 3 same indexes on table. > How to fix this so that duplicate indexes are not all

[GENERAL] Disable duplicate index creation

2007-06-14 Thread Andrus
PostgreSQL runs commands create table test ( test integer primary key ); create index i1 on test(test); create index i2 on test(test); without any error. Now there are 3 same indexes on table. How to fix this so that duplicate indexes are not allowed ? Andrus. ---(end