mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Fix typechecking problem pointed out by Thomas.
This commit is contained in:
parent
ffb38bd3ae
commit
91f4df2f2c
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* 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;
|
||||
|
||||
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 */
|
||||
/* names (even though they can be stored in Ident nodes, */
|
||||
|
Loading…
Reference in New Issue
Block a user