aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/heap/heapam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index f3812dd5871..de5bb9194e3 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -6986,6 +6986,7 @@ heap_compute_xid_horizon_for_tuples(Relation rel,
/* Iterate over all tids, and check their horizon */
hblkno = InvalidBlockNumber;
+ hpage = NULL;
for (int i = 0; i < nitems; i++)
{
ItemPointer htid = &tids[i];