|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/genam.h"#include "access/htup_details.h"#include "access/table.h"#include "catalog/pg_propgraph_label.h"#include "catalog/pg_propgraph_property.h"#include "miscadmin.h"#include "nodes/makefuncs.h"#include "parser/parse_collate.h"#include "parser/parse_expr.h"#include "parser/parse_graphtable.h"#include "parser/parse_node.h"#include "utils/fmgroids.h"#include "utils/lsyscache.h"#include "utils/relcache.h"#include "utils/syscache.h"
Go to the source code of this file.
Functions | |
| static const char * | get_gep_kind_name (GraphElementPatternKind gepkind) |
| Node * | transformGraphTablePropertyRef (ParseState *pstate, ColumnRef *cref) |
| static Node * | transformLabelExpr (GraphTableParseState *gpstate, Node *labelexpr) |
| static Node * | transformGraphElementPattern (ParseState *pstate, GraphElementPattern *gep) |
| static Node * | transformPathTerm (ParseState *pstate, List *path_term) |
| static Node * | transformPathPatternList (ParseState *pstate, List *path_pattern) |
| Node * | transformGraphPattern (ParseState *pstate, GraphPattern *graph_pattern) |
|
static |
Definition at line 40 of file parse_graphtable.c.
References EDGE_PATTERN_ANY, EDGE_PATTERN_LEFT, EDGE_PATTERN_RIGHT, fb(), PAREN_EXPR, and VERTEX_PATTERN.
Referenced by transformGraphElementPattern().
|
static |
Definition at line 224 of file parse_graphtable.c.
References assign_expr_collations(), ereport, errcode(), errmsg, ERROR, EXPR_KIND_WHERE, fb(), get_gep_kind_name(), IS_EDGE_PATTERN, lappend(), makeString(), ParseState::p_graph_table_pstate, pstrdup(), transformExpr(), transformLabelExpr(), and VERTEX_PATTERN.
Referenced by transformPathTerm().
| Node * transformGraphPattern | ( | ParseState * | pstate, |
| GraphPattern * | graph_pattern | ||
| ) |
Definition at line 299 of file parse_graphtable.c.
References assign_expr_collations(), castNode, EXPR_KIND_WHERE, GraphPattern::path_pattern_list, transformExpr(), transformPathPatternList(), and GraphPattern::whereClause.
Referenced by transformRangeGraphTable().
| Node * transformGraphTablePropertyRef | ( | ParseState * | pstate, |
| ColumnRef * | cref | ||
| ) |
Definition at line 79 of file parse_graphtable.c.
References CStringGetDatum(), ereport, errcode(), errmsg, ERROR, EXPR_KIND_SELECT_TARGET, fb(), Form_pg_propgraph_property, GETSTRUCT(), HeapTupleIsValid, IsA, linitial, list_length(), list_member(), lsecond, makeNode, ObjectIdGetDatum(), ParseState::p_expr_kind, ParseState::p_graph_table_pstate, parser_errposition(), ReleaseSysCache(), SearchSysCache2(), and strVal.
Referenced by transformColumnRef().
|
static |
Definition at line 151 of file parse_graphtable.c.
References arg, Assert, check_stack_depth(), CStringGetDatum(), elog, ereport, errcode(), errmsg, ERROR, fb(), get_rel_name(), GetSysCacheOid2, lappend(), lfirst, linitial, list_length(), makeBoolExpr(), makeNode, NIL, nodeTag, ObjectIdGetDatum(), strVal, and transformLabelExpr().
Referenced by transformGraphElementPattern(), and transformLabelExpr().
|
static |
Definition at line 268 of file parse_graphtable.c.
References Assert, ereport, errcode(), errmsg, ERROR, fb(), foreach_node, lappend(), list_length(), NIL, and transformPathTerm().
Referenced by transformGraphPattern().
|
static |
Definition at line 253 of file parse_graphtable.c.
References fb(), foreach_node, lappend(), NIL, and transformGraphElementPattern().
Referenced by transformPathPatternList().