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

Commit959ea7f

Browse files
committed
Remove useless code.
Apparent copy-and-pasteo in standby_desc_invalidations() had twoentries for msg->id == SHAREDINVALRELMAP_ID.Aleksander AlekseevDiscussion: <20160923090814.GB1238@e733>
1 parent8e6b4ee commit959ea7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/backend/access/rmgrdesc/standbydesc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,11 @@ standby_desc_invalidations(StringInfo buf,
121121
elseif (msg->id==SHAREDINVALSMGR_ID)
122122
appendStringInfoString(buf," smgr");
123123
/* not expected, but print something anyway */
124-
elseif (msg->id==SHAREDINVALRELMAP_ID)
125-
appendStringInfoString(buf," relmap");
126124
elseif (msg->id==SHAREDINVALRELMAP_ID)
127125
appendStringInfo(buf," relmap db %u",msg->rm.dbId);
128126
elseif (msg->id==SHAREDINVALSNAPSHOT_ID)
129127
appendStringInfo(buf," snapshot %u",msg->sn.relId);
130128
else
131-
appendStringInfo(buf,"unknown id %d",msg->id);
129+
appendStringInfo(buf,"unrecognized id %d",msg->id);
132130
}
133131
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp