mirror of
https://gitee.com/he3db/he3pg.git
synced 2024-12-02 04:07:34 +08:00
just precache the target index
This commit is contained in:
parent
a5698c60bc
commit
7c34503e33
@ -792,7 +792,7 @@ ReadBufferExtended(Relation reln, ForkNumber forkNum, BlockNumber blockNum,
|
||||
*/
|
||||
pgstat_count_buffer_read(reln);
|
||||
/* precache index */
|
||||
if (isPreCacheIndex)
|
||||
if (isPreCacheIndex && preCacheIndexNode == reln->rd_node->relNode)
|
||||
{
|
||||
BlockNumber precacheblocks;
|
||||
precacheblocks = smgrnblocks(eln->rd_smgr, forkNum);
|
||||
|
Loading…
Reference in New Issue
Block a user