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
|
Список | 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 по дате отправления: