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

Commitcfa929f

Browse files
committed
Fix incorrect implementation of log(x) for numeric, as well as
incorrect descriptions of a couple of log-related functions.I will not force an initdb for this, but log() on a numeric won'twork until you do one...
1 parent440b0fe commitcfa929f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/include/catalog/pg_proc.h

Lines changed: 5 additions & 5 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.127 2000/03/14 23:06:44 thomas Exp $
10+
* $Id: pg_proc.h,v 1.128 2000/03/19 01:12:18 tgl Exp $
1111
*
1212
* NOTES
1313
* The script catalog/genbki.sh reads this file and generates .bki
@@ -484,7 +484,7 @@ DESCR("square root");
484484
DATA(insertOID=231 (dcbrtPGUID11ftt1f701"701"10000100dcbrt- ));
485485
DESCR("cube root");
486486
DATA(insertOID=232 (dpowPGUID11ftt2f701"701 701"10000100dpow- ));
487-
DESCR("exponential (x^y)");
487+
DESCR("exponentiation (x^y)");
488488
DATA(insertOID=233 (dexpPGUID11ftt1f701"701"10000100dexp- ));
489489
DESCR("natural exponential (e^x)");
490490
DATA(insertOID=234 (dlog1PGUID11ftt1f701"701"10000100dlog1- ));
@@ -1625,7 +1625,7 @@ DESCR("base 10 logarithm");
16251625
DATA(insertOID=1340 (logPGUID11ftt1f701"701"10000100dlog10- ));
16261626
DESCR("base 10 logarithm");
16271627
DATA(insertOID=1341 (lnPGUID11ftt1f701"701"10000100dlog1- ));
1628-
DESCR("base 10 logarithm");
1628+
DESCR("natural logarithm");
16291629
DATA(insertOID=1342 (roundPGUID11ftt1f701"701"10000100dround- ));
16301630
DESCR("round to integral part");
16311631
DATA(insertOID=1343 (truncPGUID11ftt1f701"701"10000100dtrunc- ));
@@ -2270,8 +2270,8 @@ DATA(insert OID = 1739 ( numeric_powerPGUID 11 f t t 2 f 1700 "1700 1700" 100
22702270
DESCR("m raised to the power of n");
22712271
DATA(insertOID=1740 (numericPGUID11ftt1f1700"23"10000100int4_numeric- ));
22722272
DESCR("(internal)");
2273-
DATA(insertOID=1741 (logPGUID14ftt1f1700"1700"10000100"select(10, $1)"- ));
2274-
DESCR("logarithm basem of n");
2273+
DATA(insertOID=1741 (logPGUID14ftt1f1700"1700"10000100"select log(10, $1)"- ));
2274+
DESCR("logarithm base10 of n");
22752275
DATA(insertOID=1742 (numericPGUID11ftt1f1700"700"10000100float4_numeric- ));
22762276
DESCR("(internal)");
22772277
DATA(insertOID=1743 (numericPGUID11ftt1f1700"701"10000100float8_numeric- ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp