1
/*-------------------------------------------------------------------------
7
* Portions Copyright (c) 1996-2005, 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.35 2004-12-31 22:03:38 pgsql 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,
30
extern char *FigureColname(Node *node);
32
#endif /* PARSE_TARGET_H */