Re: redundants indexes can be created

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: redundants indexes can be created
Дата
Msg-id 486DFAD7.5030304@archonet.com
обсуждение исходный текст
Ответ на Re: redundants indexes can be created  (Cyril SCETBON <scetbon@echo.fr>)
Ответы Re: redundants indexes can be created
Список pgsql-general
Cyril SCETBON wrote:
> Richard Huxton wrote:
>> Cyril SCETBON wrote:
>>> Hi guys,
>>>
>>> Why postgres does not disallow creating redundants indexes ? Is it the
>>> same behaviour in postgresql 8.3 ?
>>
>> Why should it stop you?
>> Do you have an application that randomly generates indexes?
> I'm just wondering why postgresql/mysql work like that.

You ask for a particular index, it creates the index. Why complicate the
code checking for possible duplicate indexes if it's not a problem
people tend to encounter?

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Cyril SCETBON
Дата:
Сообщение: Re: redundants indexes can be created
Следующее
От: Bernd Helmle
Дата:
Сообщение: Re: redundants indexes can be created