提交 a8971931 编写于 作者: H Heikki Linnakangas

Remove obsolete commented out lines.

These calls are made in the caller, ReadBufferExtended(), now. These
are just leftovers.
上级 92724c92
......@@ -408,8 +408,6 @@ ReadBuffer_common(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
if (isExtend)
blockNum = smgrnblocks(smgr, forkNum);
// pgstat_count_buffer_read(smgr);
if (isLocalBuf)
{
bufHdr = LocalBufferAlloc(smgr, forkNum, blockNum, &found);
......@@ -440,7 +438,6 @@ ReadBuffer_common(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
if (!isExtend)
{
/* Just need to update stats before we exit */
// pgstat_count_buffer_hit(smgr);
*hit = true;
VacuumPageHit++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册