Commit ce5d04b6 authored by Alvaro Herrera's avatar Alvaro Herrera

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
parent 6212276e
......@@ -3312,8 +3312,8 @@ typedef struct ConstraintsSetStmt
*/
/* Reindex options */
#define REINDEXOPT_VERBOSE 1 << 0 /* print progress info */
#define REINDEXOPT_REPORT_PROGRESS 1 << 1 /* report pgstat progress */
#define REINDEXOPT_VERBOSE (1 << 0) /* print progress info */
#define REINDEXOPT_REPORT_PROGRESS (1 << 1) /* report pgstat progress */
typedef enum ReindexObjectType
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment