Skip to content

Commit 6d50fd4

Browse files
committed
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
1 parent 09b236a commit 6d50fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/nodes/parsenodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3215,7 +3215,7 @@ typedef struct ConstraintsSetStmt
32153215
*/
32163216

32173217
/* Reindex options */
3218-
#define REINDEXOPT_VERBOSE 1 << 0 /* print progress info */
3218+
#define REINDEXOPT_VERBOSE (1 << 0) /* print progress info */
32193219

32203220
typedef enum ReindexObjectType
32213221
{

0 commit comments

Comments
 (0)