diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-12-21 20:48:16 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-12-21 20:48:16 +0000 |
commit | d7b161031dde7bff0ec09d623ec74246e63b9038 (patch) | |
tree | e8e421d26f2c05f7faa236880ccba53f45e88dff /src | |
parent | 84f26edfff981716156a79e2823be76f6c509d44 (diff) | |
download | postgresql-d7b161031dde7bff0ec09d623ec74246e63b9038.tar.gz postgresql-d7b161031dde7bff0ec09d623ec74246e63b9038.zip |
Repair round(numeric) function. An initdb would be required to get the
fixed version, otherwise you'll continue to encounter breakage.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/catalog/pg_proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index cb9ff0ca396..c0914fd601b 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_proc.h,v 1.179 2000/12/10 21:19:02 petere Exp $ + * $Id: pg_proc.h,v 1.180 2000/12/21 20:48:16 petere Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -2335,7 +2335,7 @@ DATA(insert OID = 1706 ( sign PGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100 n DESCR("sign of value"); DATA(insert OID = 1707 ( round PGUID 12 f t t t 2 f 1700 "1700 23" 100 0 0 100 numeric_round - )); DESCR("value rounded to 'scale'"); -DATA(insert OID = 1708 ( round PGUID 14 f t t t 1 f 1700 "1700" 100 0 0 100 "select numeric_round($1,0)" - )); +DATA(insert OID = 1708 ( round PGUID 14 f t t t 1 f 1700 "1700" 100 0 0 100 "select round($1,0)" - )); DESCR("value rounded to 'scale' of zero"); DATA(insert OID = 1709 ( trunc PGUID 12 f t t t 2 f 1700 "1700 23" 100 0 0 100 numeric_trunc - )); DESCR("value truncated to 'scale'"); |