From 844c05abc3f1c1703bf17cf44ab66351ed9711d2 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Fri, 4 Sep 2020 10:36:35 +0900 Subject: 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/nodes/copyfuncs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/backend/nodes/copyfuncs.c') 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; } -- cgit v1.2.3