Skip to content

Commit 959ea7f

Browse files
committed
Remove useless code.
Apparent copy-and-pasteo in standby_desc_invalidations() had two entries for msg->id == SHAREDINVALRELMAP_ID. Aleksander Alekseev Discussion: <20160923090814.GB1238@e733>
1 parent 8e6b4ee commit 959ea7f

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
else if (msg->id == SHAREDINVALSMGR_ID)
122122
appendStringInfoString(buf, " smgr");
123123
/* not expected, but print something anyway */
124-
else if (msg->id == SHAREDINVALRELMAP_ID)
125-
appendStringInfoString(buf, " relmap");
126124
else if (msg->id == SHAREDINVALRELMAP_ID)
127125
appendStringInfo(buf, " relmap db %u", msg->rm.dbId);
128126
else if (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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy