ArrayType * construct_array_builtin(Datum *elems, int nelems, Oid elmtype)
FuncCall * makeFuncCall(List *name, List *args, CoercionForm funcformat, int location)
A_Expr * makeSimpleA_Expr(A_Expr_Kind kind, char *name, Node *lexpr, Node *rexpr, int location)
char * pstrdup(const char *in)
void * palloc0(Size size)
Node * transformWhereClause(ParseState *pstate, Node *clause, ParseExprKind exprKind, const char *constructName)
void assign_expr_collations(ParseState *pstate, Node *expr)
ParseState * make_parsestate(ParseState *parentParseState)
ParseNamespaceItem * addRangeTableEntryForRelation(ParseState *pstate, Relation rel, int lockmode, Alias *alias, bool inh, bool inFromCl)
void addNSItemToQuery(ParseState *pstate, ParseNamespaceItem *nsitem, bool addToJoinList, bool addToRelNameSpace, bool addToVarNameSpace)
#define list_make2(x1, x2)
static Datum ObjectIdGetDatum(Oid X)
#define RelationGetRelationName(relation)
row_security_policy_hook_type row_security_policy_hook_permissive
row_security_policy_hook_type row_security_policy_hook_restrictive
List * test_rls_hooks_restrictive(CmdType cmdtype, Relation relation)
List * test_rls_hooks_permissive(CmdType cmdtype, Relation relation)
String * makeString(char *str)