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

From Victor Yegorov
Subject Re: Alter index rename concurrently to
Date
Msg-id CAGnEboiyFkmGbQFAvc+tViayyPnbJkWTd93kvmhhML+cQQ_OkA@mail.gmail.com
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
пн, 16 июл. 2018 г. в 21:58, Andrey Klychkov <aaklychkov@mail.ru>:

I made a patch to solve this issue (see the attachment).
It allows to avoid locks by a query like this:
“alter index <new_index> rename CONCURRENTLY to <old_index_name>”.



--
Victor Yegorov

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Next
From: Alvaro Herrera
Date:
Subject: Re: Fix some error handling for read() and errno