Fixed DECIMAL data type to handle specified precision in atttypmod

Jan
This commit is contained in:
Jan Wieck 1999-04-27 13:33:43 +00:00
parent 6e702210c2
commit 26909a0797
1 changed files with 2 additions and 2 deletions

View File

@ -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
{