From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove variable "concurrent" from ReindexStmt
Date: Fri, 04 Sep 2020 01:51:18 +0000
Message-ID: <E1kE0so-00043J-7g@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/844c05abc3f1c1703bf17cf44ab66351ed9711d2
Modified Files
--------------
src/backend/commands/indexcmds.c | 33 ++++++++++++++++++++-------------
src/backend/nodes/copyfuncs.c | 1 -
src/backend/nodes/equalfuncs.c | 1 -
src/backend/parser/gram.y | 12 ++++++++----
src/backend/tcop/utility.c | 8 ++++----
src/include/commands/defrem.h | 6 +++---
src/include/nodes/parsenodes.h | 2 +-
7 files changed, 36 insertions(+), 27 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Remove variable "concurrent" from ReindexStmt
In-Reply-To: <E1kE0so-00043J-7g@gemulon.postgresql.org>
References: <E1kE0so-00043J-7g@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox