pgsql: Handle interrupts within a transaction context in REINDEX CONCUR

2019-10-24 Thread Michael Paquier
Handle interrupts within a transaction context in REINDEX CONCURRENTLY Phases 2 (building the new index) and 3 (validating the new index) checked for interrupts outside a transaction context, having as consequence to not release session-level locks taken on the parent relation and the old and new

pgsql: Handle interrupts within a transaction context in REINDEX CONCUR

2019-10-24 Thread Michael Paquier
Handle interrupts within a transaction context in REINDEX CONCURRENTLY Phases 2 (building the new index) and 3 (validating the new index) checked for interrupts outside a transaction context, having as consequence to not release session-level locks taken on the parent relation and the old and new