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 | 83c2c97114de330dc0c1a11f0edfe0f9bf116614 (patch) | |
tree | f6d4e86cc457a4463a932de5c3622ada8f58e899 /src | |
parent | 9064cc139d10d6e45a370dd8761a02f7e7da36f4 (diff) | |
download | postgresql-83c2c97114de330dc0c1a11f0edfe0f9bf116614.tar.gz postgresql-83c2c97114de330dc0c1a11f0edfe0f9bf116614.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
Diffstat (limited to 'src')
-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 4a198420abc..03865e71651 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -2893,7 +2893,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 { |