mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Change resjunk to a boolean.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.32 1999/05/13 14:59:05 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.33 1999/05/17 17:03:32 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -495,14 +495,14 @@ findTargetlistEntry(ParseState *pstate, Node *node, List *tlist, int clause)
|
||||
case T_Attr:
|
||||
target_result = MakeTargetEntryIdent(pstate, node,
|
||||
&((Attr *) node)->relname, NULL,
|
||||
((Attr *) node)->relname, TRUE);
|
||||
((Attr *) node)->relname, true);
|
||||
lappend(tlist, target_result);
|
||||
break;
|
||||
|
||||
case T_Ident:
|
||||
target_result = MakeTargetEntryIdent(pstate, node,
|
||||
&((Ident *) node)->name, NULL,
|
||||
((Ident *) node)->name, TRUE);
|
||||
((Ident *) node)->name, true);
|
||||
lappend(tlist, target_result);
|
||||
break;
|
||||
|
||||
@ -517,7 +517,7 @@ findTargetlistEntry(ParseState *pstate, Node *node, List *tlist, int clause)
|
||||
|
||||
case T_FuncCall:
|
||||
case T_A_Expr:
|
||||
target_result = MakeTargetEntryExpr(pstate, "resjunk", expr, FALSE, TRUE);
|
||||
target_result = MakeTargetEntryExpr(pstate, "resjunk", expr, false, true);
|
||||
lappend(tlist, target_result);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user