Content-Length: 269237 | pFad | http://github.com/postgrespro/postgres/commit/959ea7fa76120449efa5d85ae351abd1d6e5480c

CC Remove useless code. · postgrespro/postgres@959ea7f · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/959ea7fa76120449efa5d85ae351abd1d6e5480c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy