Re: Disabling an index temporarily

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Disabling an index temporarily
Дата
Msg-id 21578.1450064093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Disabling an index temporarily  (Bill Moran <wmoran@potentialtech.com>)
Ответы Re: Disabling an index temporarily  (Victor Yegorov <vyegorov@gmail.com>)
Список pgsql-hackers
Bill Moran <wmoran@potentialtech.com> writes:
> I would think that NONUNIQUE should be the default, and you should have
> to specify something special to also disable unique indexes. Arguably,
> unique indexes are actually an implementation detail of unique
> constraints. Disabling a performance-based index doesn't cause data
> corruption, whereas disabling an index created as part of unique
> constraint can allow invalid data into the table.

Maybe I misunderstood, but I thought what was being discussed here is
preventing the planner from selecting an index for use in queries, while
still requiring all table updates to maintain validity of the index.
        regards, tom lane



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Using quicksort for every external sort run
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Disabling an index temporarily