Re: Alter index rename concurrently to - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: Alter index rename concurrently to
Date
Msg-id 75C2BE03-A646-4517-A037-703824EE6721@yandex-team.ru
Whole thread Raw
In response to Alter index rename concurrently to  (Andrey Klychkov <aaklychkov@mail.ru>)
Responses Re[2]: Alter index rename concurrently to  (Andrey Klychkov <aaklychkov@mail.ru>)
List pgsql-hackers
Hi!

> 16 июля 2018 г., в 22:58, Andrey Klychkov <aaklychkov@mail.ru> написал(а):
> Dear hackers!
>
> I have an idea to facilitate work with index rebuilding.
> ....
> "ALTER INDEX ... RENAME CONCURRENTLY TO ..."

The idea seems useful. I'm not an expert in CIC, but your post do not cover one very important topic. When we use
CREATEINDEX CONCURRENTLY we pay for less intrusive lock by scanning data twice. What is the price of RENAME
CONCURRENTLY?Should this mode be default? 

Best regards, Andrey Borodin.

pgsql-hackers by date:

Previous
From: Andrey Klychkov
Date:
Subject: Alter index rename concurrently to
Next
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions