提交 adc507f2 编写于 作者: T Tom Lane

Fix some bogus code in ConstBit production --- it managed to work, but

only because 14627 still contained the same node that BitWithoutLength had
just produced.  Make it more transparent.  Also adjust ConstCharacter
to be coded the same way for consistency.
上级 b3d36a24
......@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.463 2004/06/25 21:55:55 tgl Exp $
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.464 2004/06/28 00:18:47 tgl Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
......@@ -5617,8 +5617,8 @@ ConstBit: BitWithLength
}
| BitWithoutLength
{
$$->typmod = -1;
$$ = $1;
$$->typmod = -1;
}
;
......@@ -5687,8 +5687,8 @@ ConstCharacter: CharacterWithLength
* of one, but should not be constrained if the length
* was not specified.
*/
$1->typmod = -1;
$$ = $1;
$$->typmod = -1;
}
;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册