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:56 -0400
commita20435fe9aa52cd8c62f3b0ed359077a56824830 (patch)
tree77575f238639b9fc209a2dcd29b3dea4c0132ba1 /src
parente7f5d8ea1c75cc341a966897760a812e437c4668 (diff)
downloadpostgresql-a20435fe9aa52cd8c62f3b0ed359077a56824830.tar.gz
postgresql-a20435fe9aa52cd8c62f3b0ed359077a56824830.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);
}
}