Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix thinko with definition of REINDEXOPT_MISSING_OK
authorMichael Paquier <michael@paquier.xyz>
Wed, 2 Sep 2020 05:56:59 +0000 (14:56 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 2 Sep 2020 05:56:59 +0000 (14:56 +0900)
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

index 23840bb8e64e13c14ff89102a2e820e4041c8fad..d52c563305ae963bdbe23bb4baba2acc14a9cc86 100644 (file)
@@ -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
 {