Fix typechecking problem pointed out by Thomas.
This commit is contained in:
parent
ffb38bd3ae
commit
91f4df2f2c
@ -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)
|
|||||||
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, */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user