summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-13 16:26:55 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-13 16:26:55 -0300
commit00f167bed782363b4fe05ecd870155eb84336a8b (patch)
tree2bc6dcf010848fa74622e07759f8395beae1c21f /src
parent835646503d5d7782d890b7ad5039e64c08e2b89d (diff)
Fix under-parenthesized macro definitions
Lack of parens in the definitions could cause a statement using these macros to have unexpected semantics. In current code no bug is apparent, but best to fix the definitions to avoid problems down the line. Reported-by: Tom Lane Discussion: https://postgr.es/m/19795.1568400476@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/include/nodes/parsenodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 1481fff57de..e6e11142a84 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -2942,7 +2942,7 @@ typedef struct ConstraintsSetStmt
*/
/* Reindex options */
-#define REINDEXOPT_VERBOSE 1 << 0 /* print progress info */
+#define REINDEXOPT_VERBOSE (1 << 0) /* print progress info */
typedef enum ReindexObjectType
{