deferring/disabling unique index

Поиск
Список
Период
Сортировка
От Oleg Lebedev
Тема deferring/disabling unique index
Дата
Msg-id 993DBE5B4D02194382EC8DF8554A52731D78F8@postoffice.waterford.org
обсуждение исходный текст
Список pgsql-general
Hi,
 
I need to know if there is a way to defer or disable a unique index on a table during an update. One way would be to set indisunique to false, perform update and then set to true. But, this seems to be an ugly solution.
 
I've posted a similar message 6 months ago and at that time deferring unique constraints was on a todo list. I wonder if this has been added to 7.4.1 release. If not, what is the best way to disable an index on a table?
 
Thanks.
 
Oleg

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: why I can call pg_stat_get_backend_idset directly
Следующее
От: Mike Nolan
Дата:
Сообщение: Re: order by is ambiguous