Commit 26909a07 authored by Jan Wieck's avatar Jan Wieck

Fixed DECIMAL data type to handle specified precision in atttypmod

Jan
parent 6e702210
......@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.70 1999/04/19 16:00:15 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.71 1999/04/27 13:33:43 wieck Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
......@@ -3335,7 +3335,7 @@ Numeric: FLOAT opt_float
{
$$ = makeNode(TypeName);
$$->name = xlateSqlType("numeric");
$$->typmod = -1;
$$->typmod = $2;
}
| NUMERIC opt_numeric
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment