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

shoaib88 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/master by this push:
     new 945a259d Add missing include for PR: Add index scan (#2351) (#2379)
945a259d is described below

commit 945a259d86d42204f186f79dec758585afde0eaa
Author: John Gemignani <[email protected]>
AuthorDate: Tue Apr 14 12:01:26 2026 -0700

    Add missing include for PR: Add index scan (#2351) (#2379)
    
    The CI build did not fail the PR (we need to verify why and correct
    it) due to the missing include -
    
    src/backend/utils/adt/age_global_graph.c:273:25: error: implicit 
declaration of
    function ‘namestrcpy’; did you mean ‘strcpy’? 
[-Wimplicit-function-declaration]
      273 |                         namestrcpy(lval, NameStr(*label_name_ptr));
          |                         ^~~~~~~~~~
          |                         strcpy
    
    The build still works as the linker was able to resolve it. This PR
    will add it in to correct the error going forward.
---
 src/backend/utils/adt/age_global_graph.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/utils/adt/age_global_graph.c 
b/src/backend/utils/adt/age_global_graph.c
index a9308970..f99d75ab 100644
--- a/src/backend/utils/adt/age_global_graph.c
+++ b/src/backend/utils/adt/age_global_graph.c
@@ -27,6 +27,7 @@
 #include "utils/lsyscache.h"
 #include "utils/memutils.h"
 #include "utils/snapmgr.h"
+#include "utils/builtins.h"
 
 #include "utils/age_global_graph.h"
 #include "catalog/ag_graph.h"

Reply via email to