Skip to content

Commit ce5d04b

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 6212276 commit ce5d04b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/nodes/parsenodes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3312,8 +3312,8 @@ typedef struct ConstraintsSetStmt
33123312
*/
33133313

33143314
/* Reindex options */
3315-
#define REINDEXOPT_VERBOSE 1 << 0 /* print progress info */
3316-
#define REINDEXOPT_REPORT_PROGRESS 1 << 1 /* report pgstat progress */
3315+
#define REINDEXOPT_VERBOSE (1 << 0) /* print progress info */
3316+
#define REINDEXOPT_REPORT_PROGRESS (1 << 1) /* report pgstat progress */
33173317

33183318
typedef enum ReindexObjectType
33193319
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy