diff options
author | Jan Wieck | 1999-01-05 11:12:11 +0000 |
---|---|---|
committer | Jan Wieck | 1999-01-05 11:12:11 +0000 |
commit | b5626a2089f9eb244770f0463afb70a35242738a (patch) | |
tree | 48964ea61d7b5db9539e1e317b8a2da49c38a304 | |
parent | 814c8495a7ceb3e972decd84a0890a89e3689ca4 (diff) |
Restricted maximum precision for NUMERIC to 1000 digits.
Anything else is CPU overkill.
Jan
-rw-r--r-- | src/include/utils/numeric.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/numeric.h b/src/include/utils/numeric.h index 1b96b86d54c..9f395f8edbb 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 |