summaryrefslogtreecommitdiff
path: root/src/include/parser/parse_target.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-03-23 00:19:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-03-23 00:19:30 +0000
commit19956e0d5388b11a1cc3eaf2dbf628aa531ce331 (patch)
treef2c7071f4daee4588d4c004d809bd327baa4adde /src/include/parser/parse_target.h
parenta3f0b3d68f9a5357a3f72b40a45bcc714a9e0649 (diff)
Add error location info to ResTarget parse nodes. Allows error cursor to be supplied
for various mistakes involving INSERT and UPDATE target columns.
Diffstat (limited to 'src/include/parser/parse_target.h')
-rw-r--r--src/include/parser/parse_target.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/parser/parse_target.h b/src/include/parser/parse_target.h
index f66850da239..f1cb2bd8a1c 100644
--- a/src/include/parser/parse_target.h
+++ b/src/include/parser/parse_target.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/parser/parse_target.h,v 1.38 2006/03/05 15:58:57 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/parser/parse_target.h,v 1.39 2006/03/23 00:19:30 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,7 +24,8 @@ extern TargetEntry *transformTargetEntry(ParseState *pstate,
char *colname, bool resjunk);
extern void updateTargetListEntry(ParseState *pstate, TargetEntry *tle,
char *colname, int attrno,
- List *indirection);
+ List *indirection,
+ int location);
extern List *checkInsertTargets(ParseState *pstate, List *cols,
List **attrnos);
extern TupleDesc expandRecordVariable(ParseState *pstate, Var *var,