pgsql: Remove variable "concurrent" from ReindexStmt

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Remove variable "concurrent" from ReindexStmt
Дата
Msg-id E1kE0so-00043J-7g@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove arbitrary restrictions on password length.
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: remove redundant initializations