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

Commitd7b1610

Browse files
committed
Repair round(numeric) function. An initdb would be required to get the
fixed version, otherwise you'll continue to encounter breakage.
1 parent84f26ed commitd7b1610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/catalog/pg_proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_proc.h,v 1.179 2000/12/10 21:19:02 petere Exp $
10+
* $Id: pg_proc.h,v 1.180 2000/12/21 20:48:16 petere Exp $
1111
*
1212
* NOTES
1313
* The script catalog/genbki.sh reads this file and generates .bki
@@ -2335,7 +2335,7 @@ DATA(insert OID = 1706 ( signPGUID 12 f t t t 1 f 1700 "1700" 100 0 0 100n
23352335
DESCR("sign of value");
23362336
DATA(insertOID=1707 (roundPGUID12fttt2f1700"1700 23"10000100numeric_round- ));
23372337
DESCR("value rounded to 'scale'");
2338-
DATA(insertOID=1708 (roundPGUID14fttt1f1700"1700"10000100"selectnumeric_round($1,0)"- ));
2338+
DATA(insertOID=1708 (roundPGUID14fttt1f1700"1700"10000100"selectround($1,0)"- ));
23392339
DESCR("value rounded to 'scale' of zero");
23402340
DATA(insertOID=1709 (truncPGUID12fttt2f1700"1700 23"10000100numeric_trunc- ));
23412341
DESCR("value truncated to 'scale'");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp