aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-09-23 10:44:50 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-09-23 10:44:50 -0400
commit959ea7fa76120449efa5d85ae351abd1d6e5480c (patch)
tree30c35ab08dc1705e56849f6356ec4a97d400062a /src
parent8e6b4ee21f486e6800aaa6955ff3d98e1a521b49 (diff)
downloadpostgresql-959ea7fa76120449efa5d85ae351abd1d6e5480c.tar.gz
postgresql-959ea7fa76120449efa5d85ae351abd1d6e5480c.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/rmgrdesc/standbydesc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/access/rmgrdesc/standbydesc.c b/src/backend/access/rmgrdesc/standbydesc.c
index 13797a3d2f4..8f19bb0a609 100644
--- a/src/backend/access/rmgrdesc/standbydesc.c
+++ b/src/backend/access/rmgrdesc/standbydesc.c
@@ -122,12 +122,10 @@ standby_desc_invalidations(StringInfo buf,
appendStringInfoString(buf, " smgr");
/* not expected, but print something anyway */
else if (msg->id == SHAREDINVALRELMAP_ID)
- appendStringInfoString(buf, " relmap");
- else if (msg->id == SHAREDINVALRELMAP_ID)
appendStringInfo(buf, " relmap db %u", msg->rm.dbId);
else if (msg->id == SHAREDINVALSNAPSHOT_ID)
appendStringInfo(buf, " snapshot %u", msg->sn.relId);
else
- appendStringInfo(buf, " unknown id %d", msg->id);
+ appendStringInfo(buf, " unrecognized id %d", msg->id);
}
}