Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/include/nodes/ag_nodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
7 changes: 7 additions & 0 deletions src/include/optimizer/cypher_createplan.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
7 changes: 7 additions & 0 deletions src/include/optimizer/cypher_pathnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
1 change: 1 addition & 0 deletions tools/gen_keywordlist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
#define %s_H

#include "common/kwlookup.h"
#include "parser/cypher_keywords.h"

EOM

Expand Down