提交 4837270b 编写于 作者: T Tom Lane

Fix silly typo that led to 'tleIsArrayAssign: I'm confused' message.

Indeed it was.
上级 a4566a7a
......@@ -3,7 +3,7 @@
* back to source text
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.65 2000/10/05 19:11:34 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.66 2000/10/05 21:52:08 tgl Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
......@@ -2104,7 +2104,7 @@ tleIsArrayAssign(TargetEntry *tle)
* So aref->refexpr ought to match the tle's target.
*/
if (aref->refexpr == NULL || !IsA(aref->refexpr, Var) ||
((Var *) aref->refexpr)->varno != tle->resdom->resno)
((Var *) aref->refexpr)->varattno != tle->resdom->resno)
elog(NOTICE, "tleIsArrayAssign: I'm confused ...");
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册