We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aad28d commit 814c849Copy full SHA for 814c849
src/backend/utils/adt/numeric.c
@@ -5,7 +5,7 @@
5
*
6
* 1998 Jan Wieck
7
8
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.8 1999/01/04 17:51:58 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.9 1999/01/05 11:10:45 wieck Exp $
9
10
* ----------
11
*/
@@ -555,7 +555,6 @@ numeric_round(Numeric num, int32 scale)
555
556
557
precision = MAX(0, num->n_weight) + scale;
558
- precision = MIN(precision, NUMERIC_MAX_PRECISION);
559
typmod = (((precision + 2) << 16) | scale) + VARHDRSZ;
560
return numeric(num, typmod);
561
}
0 commit comments