From: Jan Wieck Date: Tue, 5 Jan 1999 11:12:11 +0000 (+0000) Subject: Restricted maximum precision for NUMERIC to 1000 digits. X-Git-Tag: REL6_5~837 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5626a2089f9eb244770f0463afb70a35242738a;p=postgresql Restricted maximum precision for NUMERIC to 1000 digits. Anything else is CPU overkill. Jan --- diff --git a/src/include/utils/numeric.h b/src/include/utils/numeric.h index 1b96b86d54..9f395f8edb 100644 --- a/src/include/utils/numeric.h +++ b/src/include/utils/numeric.h @@ -5,7 +5,7 @@ * * 1998 Jan Wieck * - * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.2 1998/12/30 20:46:06 wieck Exp $ + * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.3 1999/01/05 11:12:11 wieck Exp $ * * ---------- */ @@ -20,7 +20,7 @@ * The hardcoded limits and defaults of the numeric data type * ---------- */ -#define NUMERIC_MAX_PRECISION 4000 +#define NUMERIC_MAX_PRECISION 1000 #define NUMERIC_DEFAULT_PRECISION 30 #define NUMERIC_DEFAULT_SCALE 6