]> granicus.if.org Git - postgresql/blob - src/include/parser/parse_target.h
b89ed3a30d6643fcd7f2c9c52358aaf27fa407dd
[postgresql] / src / include / parser / parse_target.h
1 /*-------------------------------------------------------------------------
2  *
3  * parse_target.h
4  *        handle target lists
5  *
6  *
7  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: parse_target.h,v 1.29 2003/02/13 05:53:46 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 TargetEntry *transformTargetEntry(ParseState *pstate,
22                                          Node *node, Node *expr,
23                                          char *colname, bool resjunk);
24 extern void updateTargetListEntry(ParseState *pstate, TargetEntry *tle,
25                                           char *colname, int attrno,
26                                           List *indirection);
27 extern List *checkInsertTargets(ParseState *pstate, List *cols,
28                                    List **attrnos);
29
30 #endif   /* PARSE_TARGET_H */