Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce5d04b

Browse files
committed
Fix under-parenthesized macro definitions
Lack of parens in the definitions could cause a statement using thesemacros to have unexpected semantics. In current code no bug isapparent, but best to fix the definitions to avoid problems down theline.Reported-by: Tom LaneDiscussion:https://postgr.es/m/19795.1568400476@sss.pgh.pa.us
1 parent6212276 commitce5d04b

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-
#defineREINDEXOPT_VERBOSE 1 << 0/* print progress info */
3316-
#defineREINDEXOPT_REPORT_PROGRESS 1 << 1/* report pgstat progress */
3315+
#defineREINDEXOPT_VERBOSE(1 << 0)/* print progress info */
3316+
#defineREINDEXOPT_REPORT_PROGRESS(1 << 1)/* report pgstat progress */
33173317

33183318
typedefenumReindexObjectType
33193319
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp