Re: Disabling an index temporarily

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Disabling an index temporarily
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B53773C2D@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: Disabling an index temporarily  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: Disabling an index temporarily  (Julien Rouhaud <julien.rouhaud@dalibo.com>)
Re: Disabling an index temporarily  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
Tatsuo Ishii wrote:
>> Wouldn't something like:
>>
>> ALTER INDEX foo SET DISABLED;
>>
>> See more in line with our grammar?
>
> But this will affect other sessions, no?

Not if it is used in a transaction that ends with a ROLLBACK,
but then you might as well use DROP INDEX, except
that DROP INDEX takes an access exclusive lock.

Yours,
Laurenz Albe


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Using quicksort for every external sort run
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Logical replication and multimaster