1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-09 18:21:05 +03:00

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
This commit is contained in:
Alvaro Herrera 2019-09-13 16:26:55 -03:00
parent 835646503d
commit 00f167bed7

View File

@ -2942,7 +2942,7 @@ typedef struct ConstraintsSetStmt
*/ */
/* Reindex options */ /* Reindex options */
#define REINDEXOPT_VERBOSE 1 << 0 /* print progress info */ #define REINDEXOPT_VERBOSE (1 << 0) /* print progress info */
typedef enum ReindexObjectType typedef enum ReindexObjectType
{ {