Refactor ReindexStmt and its "concurrent" boolean - Mailing list pgsql-hackers

From Michael Paquier
Subject Refactor ReindexStmt and its "concurrent" boolean
Date
Msg-id 20200902110326.GA14963@paquier.xyz
Whole thread Raw
Responses Re: Refactor ReindexStmt and its "concurrent" boolean
List pgsql-hackers
Hi all,

$subject has been mentioned a couple of times, including today:
https://www.postgresql.org/message-id/20200902010012.GE1489@paquier.xyz

We have a boolean argument in ReindexStmt to control a concurrent
run, and we also have in parallel of that a bitmask to control the
options of the statement, which feels like a duplicate.  Attached is a
patch to refactor the whole, adding CONCURRENTLY as a member of the
available options.  This simplifies a bit the code.

Any thoughts?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Re: [HACKERS] Custom compression methods
Next
From: Julien Rouhaud
Date:
Subject: Re: Refactor ReindexStmt and its "concurrent" boolean