diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-13 16:26:55 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-13 16:26:55 -0300 |
commit | 82d0ae919ff8e7a9cb9283420a8834c9b9344128 (patch) | |
tree | f455d7b6f00163e4ee43f36a69cb38b651029adf | |
parent | e87b00b5f650a3c87db67049842f743d534b1cb1 (diff) | |
download | postgresql-82d0ae919ff8e7a9cb9283420a8834c9b9344128.tar.gz postgresql-82d0ae919ff8e7a9cb9283420a8834c9b9344128.zip |
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
-rw-r--r-- | src/include/nodes/parsenodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 4a91d7fb282..62d3683be5e 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -3271,7 +3271,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 { |