Commit 91f4df2f authored by Bruce Momjian's avatar Bruce Momjian

Fix typechecking problem pointed out by Thomas.

parent ffb38bd3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.27 1997/04/29 04:32:26 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.28 1997/05/08 02:45:53 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1047,7 +1047,7 @@ transformTargetList(ParseState *pstate, List *targetlist) ...@@ -1047,7 +1047,7 @@ transformTargetList(ParseState *pstate, List *targetlist)
char *resname; char *resname;
identname = ((Ident*)res->val)->name; identname = ((Ident*)res->val)->name;
handleTargetColname(pstate, &res->name, NULL, res->name); handleTargetColname(pstate, &res->name, NULL, identname );
/* here we want to look for column names only, not relation */ /* here we want to look for column names only, not relation */
/* names (even though they can be stored in Ident nodes, */ /* names (even though they can be stored in Ident nodes, */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment