Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26909a0

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
Fixed DECIMAL data type to handle specified precision in atttypmod
Jan
1 parent6e70221 commit26909a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/parser/gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.70 1999/04/19 16:00:15 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.71 1999/04/27 13:33:43 wieck Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -3335,7 +3335,7 @@ Numeric: FLOAT opt_float
33353335
{
33363336
$$ = makeNode(TypeName);
33373337
$$->name = xlateSqlType("numeric");
3338-
$$->typmod =-1;
3338+
$$->typmod =$2;
33393339
}
33403340
| NUMERIC opt_numeric
33413341
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp