agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
[PATCH v1 1/2] Remove fallback declaration for tas().
329+ messages / 2 participants
[nested] [flat]

* [PATCH v1 1/2] Remove fallback declaration for tas().
@ 2026-05-04 21:04 Nathan Bossart <nathan@postgresql.org>
  0 siblings, 0 replies; 329+ messages in thread

From: Nathan Bossart @ 2026-05-04 21:04 UTC (permalink / raw)

The last definition of tas() in s_lock.c was removed in commit
718aa43a4e, and the last tas.s file was removed in commit
25f36066dd, so this is dead code.
---
 src/include/storage/s_lock.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index c9e52511990..dcfec8ce2af 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -697,13 +697,6 @@ extern void s_unlock(volatile slock_t *lock);
 #define SPIN_DELAY()	((void) 0)
 #endif	 /* SPIN_DELAY */
 
-#if !defined(TAS)
-extern int	tas(volatile slock_t *lock);		/* in port/.../tas.s, or
-												 * s_lock.c */
-
-#define TAS(lock)		tas(lock)
-#endif	 /* TAS */
-
 #if !defined(TAS_SPIN)
 #define TAS_SPIN(lock)	TAS(lock)
 #endif	 /* TAS_SPIN */
-- 
2.50.1 (Apple Git-155)


--T3UIK4uPypqlnd5v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename=v1-0002-Remove-HAS_TEST_AND_SET.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread

* [PATCH 1/2] Minor cleanup in initialize_change_context().
@ 2026-07-01 12:58 Antonin Houska <ah@cybertec.at>
  0 siblings, 0 replies; 329+ messages in thread

From: Antonin Houska @ 2026-07-01 12:58 UTC (permalink / raw)

First, use makeNode() to create an instance of ResultRelInfo, like we do
elsewhere in the tree.

Second, pass NULL for the 'partition_root_rri' argument of InitResultRelInfo
instead of 0.
---
 src/backend/commands/repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 4d177c868bb..c9b0c047477 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3010,8 +3010,8 @@ initialize_change_context(ChangeContext *chgcxt,
 	/* Only initialize fields needed by ExecInsertIndexTuples(). */
 	chgcxt->cc_estate = CreateExecutorState();
 
-	chgcxt->cc_rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
-	InitResultRelInfo(chgcxt->cc_rri, relation, 0, 0, 0);
+	chgcxt->cc_rri = makeNode(ResultRelInfo);
+	InitResultRelInfo(chgcxt->cc_rri, relation, 0, NULL, 0);
 	ExecOpenIndices(chgcxt->cc_rri, false);
 
 	/*
-- 
2.52.0


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Provide-the-executor-with-information-on-updated-col.patch



^ permalink  raw  reply  [nested|flat] 329+ messages in thread


end of thread, other threads:[~2026-07-01 12:58 UTC | newest]

Thread overview: 329+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-05-04 21:04 [PATCH v1 1/2] Remove fallback declaration for tas(). Nathan Bossart <nathan@postgresql.org>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>
2026-07-01 12:58 [PATCH 1/2] Minor cleanup in initialize_change_context(). Antonin Houska <ah@cybertec.at>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox