From 7e4e7dfcc334198b83ccc86d15dc6aa6f8189a36 Mon Sep 17 00:00:00 2001
From: Tomas Vondra <tomas@2ndquadrant.com>
Date: Thu, 4 Apr 2024 15:58:57 +0200
Subject: [PATCH v14 10/19] review

---
 src/backend/executor/nodeBitmapHeapscan.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/backend/executor/nodeBitmapHeapscan.c b/src/backend/executor/nodeBitmapHeapscan.c
index cf778f61d52..6787547b9ff 100644
--- a/src/backend/executor/nodeBitmapHeapscan.c
+++ b/src/backend/executor/nodeBitmapHeapscan.c
@@ -99,6 +99,10 @@ BitmapHeapNext(BitmapHeapScanState *node)
 	 */
 	if (!node->initialized)
 	{
+		/*
+		 * XXX why don't we assign directly to the node-> fields? Then we
+		 * would not need these local variables at all.
+		 */
 		TBMIterator *tbmiterator = NULL;
 		TBMSharedIterator *shared_tbmiterator = NULL;
 
-- 
2.44.0

