This is an automated email from the ASF dual-hosted git repository.

reshke pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new ef0c7c45974 Fix `contrib/indexscan` compile issues.
ef0c7c45974 is described below

commit ef0c7c459746181a53ebb962ff936228cb9d3817
Author: reshke <[email protected]>
AuthorDate: Sun Dec 14 18:52:57 2025 +0000

    Fix `contrib/indexscan` compile issues.
    
    Resolve postgresql-16 merge oversights
---
 contrib/indexscan/indexscan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/indexscan/indexscan.c b/contrib/indexscan/indexscan.c
index 944bf56b98c..6724158aa5d 100644
--- a/contrib/indexscan/indexscan.c
+++ b/contrib/indexscan/indexscan.c
@@ -114,7 +114,7 @@ readindextuple(readindexinfo *info, Relation irel, Relation 
hrel, Datum *values,
 
        if (hrel != NULL)
        {
-               if (heap_fetch(hrel, SnapshotAny, &htup, &hbuf))
+               if (heap_fetch(hrel, SnapshotAny, &htup, &hbuf, false))
                        values[4] = PointerGetDatum(hstatus_text(htup.t_data, 
true));
                else if (htup.t_data)
                        values[4] = PointerGetDatum(hstatus_text(htup.t_data, 
false));


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to