From 01767533e37fa255722cc0088ed67a0309875963 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Wed, 2 Sep 2020 14:56:59 +0900 Subject: [PATCH] Fix thinko with definition of REINDEXOPT_MISSING_OK This had no direct consequences, but let's be consistent and it would be confusing when adding new flags. Oversight in 1d65416. Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20200902024148.GB20149@telsasoft.com --- src/include/nodes/parsenodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 23840bb8e6..d52c563305 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -3352,7 +3352,7 @@ typedef struct ConstraintsSetStmt /* Reindex options */ #define REINDEXOPT_VERBOSE (1 << 0) /* print progress info */ #define REINDEXOPT_REPORT_PROGRESS (1 << 1) /* report pgstat progress */ -#define REINDEXOPT_MISSING_OK (2 << 1) /* skip missing relations */ +#define REINDEXOPT_MISSING_OK (1 << 2) /* skip missing relations */ typedef enum ReindexObjectType {