Remove variable "concurrent" from ReindexStmt
authorMichael Paquier <michael@paquier.xyz>
Fri, 4 Sep 2020 01:36:35 +0000 (10:36 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 4 Sep 2020 01:43:32 +0000 (10:43 +0900)
commit844c05abc3f1c1703bf17cf44ab66351ed9711d2
tree01aa1f9f5f00cc713bf28a3040f81d9239ca6da6
parent67a472d71c98c3d2fa322a1b4013080b20720b98
Remove variable "concurrent" from ReindexStmt

This node already handles multiple options using a bitmask, so having a
separate boolean flag is not necessary.  This simplifies the code a bit
with less arguments to give to the reindex routines, by replacing the
boolean with an equivalent bitmask value.

Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/20200902110326.GA14963@paquier.xyz
src/backend/commands/indexcmds.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/include/commands/defrem.h
src/include/nodes/parsenodes.h