From 72a73d2c824f10007f9a5d80dc9250c666ec1f44 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Wed, 21 Jun 2023 09:04:45 +0300 Subject: [PATCH] Fix update of current block in access statistic --- pgxn/neon/access_stat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pgxn/neon/access_stat.c b/pgxn/neon/access_stat.c index e7a4f67009..ec4d47e9ca 100644 --- a/pgxn/neon/access_stat.c +++ b/pgxn/neon/access_stat.c @@ -162,6 +162,7 @@ bool is_sequential_access(RelFileNode rnode, ForkNumber forkNum, BlockNumber blk } /* Place entry to the tail of LRU list */ dlist_push_tail(&lru, &entry->lru_node); + entry->blkno = blkno; } return is_seq_access; }