1
/*-------------------------------------------------------------------------
7
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
12
*-------------------------------------------------------------------------
14
#ifndef PARSE_TARGET_H
15
#define PARSE_TARGET_H
17
#include "parser/parse_node.h"
20
extern List *transformTargetList(ParseState *pstate, List *targetlist);
21
extern List *transformExpressionList(ParseState *pstate, List *exprlist);
22
extern void markTargetListOrigins(ParseState *pstate, List *targetlist);
23
extern TargetEntry *transformTargetEntry(ParseState *pstate,
24
Node *node, Node *expr,
25
char *colname, bool resjunk);
26
extern Expr *transformAssignedExpr(ParseState *pstate, Expr *expr,
31
extern void updateTargetListEntry(ParseState *pstate, TargetEntry *tle,
32
char *colname, int attrno,
35
extern List *checkInsertTargets(ParseState *pstate, List *cols,
37
extern TupleDesc expandRecordVariable(ParseState *pstate, Var *var,
39
extern char *FigureColname(Node *node);
41
#endif /* PARSE_TARGET_H */