This is an automated email from the ASF dual-hosted git repository.
mtaha pushed a commit to branch PG18
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/PG18 by this push:
new f364664e Fix DockerHub build warning messages (#2252)
f364664e is described below
commit f364664e0d2835429d480c90683d193599e249cb
Author: John Gemignani <[email protected]>
AuthorDate: Tue Dec 2 10:51:54 2025 -0800
Fix DockerHub build warning messages (#2252)
PR fixes build warning messages on DockerHub and on my local build.
No regression tests needed.
modified: src/include/nodes/ag_nodes.h
modified: src/include/optimizer/cypher_createplan.h
modified: src/include/optimizer/cypher_pathnode.h
modified: tools/gen_keywordlist.pl
---
src/include/nodes/ag_nodes.h | 3 +++
src/include/optimizer/cypher_createplan.h | 7 +++++++
src/include/optimizer/cypher_pathnode.h | 7 +++++++
tools/gen_keywordlist.pl | 1 +
4 files changed, 18 insertions(+)
diff --git a/src/include/nodes/ag_nodes.h b/src/include/nodes/ag_nodes.h
index f0cc2204..121832c0 100644
--- a/src/include/nodes/ag_nodes.h
+++ b/src/include/nodes/ag_nodes.h
@@ -78,6 +78,9 @@ typedef enum ag_node_tag
cypher_merge_information_t
} ag_node_tag;
+extern const char *node_names[];
+extern const ExtensibleNodeMethods node_methods[];
+
void register_ag_nodes(void);
ExtensibleNode *_new_ag_node(Size size, ag_node_tag tag);
diff --git a/src/include/optimizer/cypher_createplan.h
b/src/include/optimizer/cypher_createplan.h
index 2d5d2e69..ab01f2b5 100644
--- a/src/include/optimizer/cypher_createplan.h
+++ b/src/include/optimizer/cypher_createplan.h
@@ -20,6 +20,8 @@
#ifndef AG_CYPHER_CREATEPLAN_H
#define AG_CYPHER_CREATEPLAN_H
+#include "nodes/extensible.h"
+
Plan *plan_cypher_create_path(PlannerInfo *root, RelOptInfo *rel,
CustomPath *best_path, List *tlist,
List *clauses, List *custom_plans);
@@ -36,4 +38,9 @@ Plan *plan_cypher_merge_path(PlannerInfo *root, RelOptInfo
*rel,
CustomPath *best_path, List *tlist,
List *clauses, List *custom_plans);
+extern const CustomScanMethods cypher_create_plan_methods;
+extern const CustomScanMethods cypher_set_plan_methods;
+extern const CustomScanMethods cypher_delete_plan_methods;
+extern const CustomScanMethods cypher_merge_plan_methods;
+
#endif
diff --git a/src/include/optimizer/cypher_pathnode.h
b/src/include/optimizer/cypher_pathnode.h
index 75c2b07d..67683202 100644
--- a/src/include/optimizer/cypher_pathnode.h
+++ b/src/include/optimizer/cypher_pathnode.h
@@ -20,6 +20,8 @@
#ifndef AG_CYPHER_PATHNODE_H
#define AG_CYPHER_PATHNODE_H
+#include "nodes/extensible.h"
+
#define CREATE_PATH_NAME "Cypher Create"
#define SET_PATH_NAME "Cypher Set"
#define DELETE_PATH_NAME "Cypher Delete"
@@ -34,4 +36,9 @@ CustomPath *create_cypher_delete_path(PlannerInfo *root,
RelOptInfo *rel,
CustomPath *create_cypher_merge_path(PlannerInfo *root, RelOptInfo *rel,
List *custom_private);
+extern const CustomPathMethods cypher_create_path_methods;
+extern const CustomPathMethods cypher_set_path_methods;
+extern const CustomPathMethods cypher_delete_path_methods;
+extern const CustomPathMethods cypher_merge_path_methods;
+
#endif
diff --git a/tools/gen_keywordlist.pl b/tools/gen_keywordlist.pl
index 49930043..58e66db8 100755
--- a/tools/gen_keywordlist.pl
+++ b/tools/gen_keywordlist.pl
@@ -112,6 +112,7 @@ printf $kwdef <<EOM, $base_filename, uc $base_filename, uc
$base_filename;
#define %s_H
#include "common/kwlookup.h"
+#include "parser/cypher_keywords.h"
EOM