summaryrefslogtreecommitdiff
path: root/src/backend/nodes/copyfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-09-04 10:36:35 +0900
committerMichael Paquier <michael@paquier.xyz>2020-09-04 10:43:32 +0900
commit844c05abc3f1c1703bf17cf44ab66351ed9711d2 (patch)
tree01aa1f9f5f00cc713bf28a3040f81d9239ca6da6 /src/backend/nodes/copyfuncs.c
parent67a472d71c98c3d2fa322a1b4013080b20720b98 (diff)
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
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r--src/backend/nodes/copyfuncs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c
index 89c409de664..0409a40b82a 100644
--- a/src/backend/nodes/copyfuncs.c
+++ b/src/backend/nodes/copyfuncs.c
@@ -4450,7 +4450,6 @@ _copyReindexStmt(const ReindexStmt *from)
COPY_NODE_FIELD(relation);
COPY_STRING_FIELD(name);
COPY_SCALAR_FIELD(options);
- COPY_SCALAR_FIELD(concurrent);
return newnode;
}