Disable duplicate index creation

Поиск
Список
Период
Сортировка
От Andrus
Тема Disable duplicate index creation
Дата
Msg-id f4rlpq$21j5$1@news.hub.org
обсуждение исходный текст
Ответы Re: Disable duplicate index creation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Gary Fu
Дата:
Сообщение: allocate chunk of sequence
Следующее
От: Lza
Дата:
Сообщение: Historical Data Question