OSDN Git Service

Update copyright to 2004.
[pg-rex/syncrep.git] / src / include / parser / parse_target.h
1 /*-------------------------------------------------------------------------
2  *
3  * parse_target.h
4  *        handle target lists
5  *
6  *
7  * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/parser/parse_target.h,v 1.33 2004/08/29 04:13:09 momjian Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PARSE_TARGET_H
15 #define PARSE_TARGET_H
16
17 #include "parser/parse_node.h"
18
19
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,
27                                           List *indirection);
28 extern List *checkInsertTargets(ParseState *pstate, List *cols,
29                                    List **attrnos);
30
31 #endif   /* PARSE_TARGET_H */