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

Commitb5626a2

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
Restricted maximum precision for NUMERIC to 1000 digits.
Anything else is CPU overkill.Jan
1 parent814c849 commitb5626a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/utils/numeric.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*1998 Jan Wieck
77
*
8-
* $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.2 1998/12/30 20:46:06 wieck Exp $
8+
* $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.3 1999/01/05 11:12:11 wieck Exp $
99
*
1010
* ----------
1111
*/
@@ -20,7 +20,7 @@
2020
* The hardcoded limits and defaults of the numeric data type
2121
* ----------
2222
*/
23-
#defineNUMERIC_MAX_PRECISION4000
23+
#defineNUMERIC_MAX_PRECISION1000
2424
#defineNUMERIC_DEFAULT_PRECISION30
2525
#defineNUMERIC_DEFAULT_SCALE6
2626

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp