Skip to content

Commit f364664

Browse files
authored
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
1 parent 201399f commit f364664

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

src/include/nodes/ag_nodes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ typedef enum ag_node_tag
7878
cypher_merge_information_t
7979
} ag_node_tag;
8080

81+
extern const char *node_names[];
82+
extern const ExtensibleNodeMethods node_methods[];
83+
8184
void register_ag_nodes(void);
8285

8386
ExtensibleNode *_new_ag_node(Size size, ag_node_tag tag);

src/include/optimizer/cypher_createplan.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#ifndef AG_CYPHER_CREATEPLAN_H
2121
#define AG_CYPHER_CREATEPLAN_H
2222

23+
#include "nodes/extensible.h"
24+
2325
Plan *plan_cypher_create_path(PlannerInfo *root, RelOptInfo *rel,
2426
CustomPath *best_path, List *tlist,
2527
List *clauses, List *custom_plans);
@@ -36,4 +38,9 @@ Plan *plan_cypher_merge_path(PlannerInfo *root, RelOptInfo *rel,
3638
CustomPath *best_path, List *tlist,
3739
List *clauses, List *custom_plans);
3840

41+
extern const CustomScanMethods cypher_create_plan_methods;
42+
extern const CustomScanMethods cypher_set_plan_methods;
43+
extern const CustomScanMethods cypher_delete_plan_methods;
44+
extern const CustomScanMethods cypher_merge_plan_methods;
45+
3946
#endif

src/include/optimizer/cypher_pathnode.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#ifndef AG_CYPHER_PATHNODE_H
2121
#define AG_CYPHER_PATHNODE_H
2222

23+
#include "nodes/extensible.h"
24+
2325
#define CREATE_PATH_NAME "Cypher Create"
2426
#define SET_PATH_NAME "Cypher Set"
2527
#define DELETE_PATH_NAME "Cypher Delete"
@@ -34,4 +36,9 @@ CustomPath *create_cypher_delete_path(PlannerInfo *root, RelOptInfo *rel,
3436
CustomPath *create_cypher_merge_path(PlannerInfo *root, RelOptInfo *rel,
3537
List *custom_private);
3638

39+
extern const CustomPathMethods cypher_create_path_methods;
40+
extern const CustomPathMethods cypher_set_path_methods;
41+
extern const CustomPathMethods cypher_delete_path_methods;
42+
extern const CustomPathMethods cypher_merge_path_methods;
43+
3744
#endif

tools/gen_keywordlist.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
#define %s_H
113113
114114
#include "common/kwlookup.h"
115+
#include "parser/cypher_keywords.h"
115116
116117
EOM
117118

0 commit comments

Comments
 (0)