From 0fc13f582a3136d1ffb6e71aa20e758fe886a62a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 25 Aug 1998 03:17:29 +0000 Subject: Make sure resdomno for update/insert match attribute number for rewrite system. Restructure parse_target to make it easier to understand. --- src/include/parser/parse_target.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/include/parser/parse_target.h') diff --git a/src/include/parser/parse_target.h b/src/include/parser/parse_target.h index b3fc020fde3..884fb299c47 100644 --- a/src/include/parser/parse_target.h +++ b/src/include/parser/parse_target.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_target.h,v 1.9 1998/08/05 04:49:15 scrappy Exp $ + * $Id: parse_target.h,v 1.10 1998/08/25 03:17:29 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -25,9 +25,8 @@ extern List *transformTargetList(ParseState *pstate, List *targetlist); extern List *makeTargetNames(ParseState *pstate, List *cols); extern TargetEntry * -transformTargetIdent(ParseState *pstate, +MakeTargetEntryIdent(ParseState *pstate, Node *node, - TargetEntry *tent, char **resname, char *refname, char *colname, @@ -35,7 +34,7 @@ transformTargetIdent(ParseState *pstate, extern Node * CoerceTargetExpr(ParseState *pstate, Node *expr, Oid type_id, Oid attrtype); -TargetEntry * MakeTargetlistExpr(ParseState *pstate, +TargetEntry * MakeTargetEntryExpr(ParseState *pstate, char *colname, Node *expr, List *arrayRef, -- cgit v1.2.3