1 /*-------------------------------------------------------------------------
7 * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL: pgsql/src/include/parser/parse_target.h,v 1.33 2004/08/29 04:13:09 momjian Exp $
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 void markTargetListOrigins(ParseState *pstate, List *targetlist);
22 extern TargetEntry *transformTargetEntry(ParseState *pstate,
23 Node *node, Node *expr,
24 char *colname, bool resjunk);
25 extern void updateTargetListEntry(ParseState *pstate, TargetEntry *tle,
26 char *colname, int attrno,
28 extern List *checkInsertTargets(ParseState *pstate, List *cols,
31 #endif /* PARSE_TARGET_H */