~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/include/parser/parse_target.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-------------------------------------------------------------------------
 
2
 *
 
3
 * parse_target.h
 
4
 *        handle target lists
 
5
 *
 
6
 *
 
7
 * Portions Copyright (c) 1996-2005, 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.35 2004-12-31 22:03:38 pgsql 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
extern char *FigureColname(Node *node);
 
31
 
 
32
#endif   /* PARSE_TARGET_H */