mirror of
https://github.com/postgres/postgres.git
synced 2026-04-23 07:07:22 -04: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:
parent
da47e43dc3
commit
a0a40f611e
1 changed files with 2 additions and 2 deletions
|
|
@ -3300,8 +3300,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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue