Trig functions in manual

From: James Thompson <jamest(at)math(dot)ksu(dot)edu>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Trig functions in manual
Date: 2000-04-18 02:30:49
Message-ID: Pine.LNX.4.21.0004172125130.12909-100000@calvin.flinthills.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I'm trying to use the trig functions mentioned in the postgresql manual.
Namely the cosine function listed as

cos(float8) float8 cosine cos(0.4)

In both 6.5.3 and 7.0beta3 the function doesn't exist. I get. . .

obe-> \df cosine
result|function|arguments|description
------+--------+---------+-----------
(0 rows)

obe-> \df cos
result|function|arguments|description
------+--------+---------+-----------
(0 rows)

I didn't see any additional ./configure options to activate the math
functions, nor did I see any recent mention of this in the mail
archives. Am I missing something?

Also FWIW the manual lists the power function as pow which also doesn't
exist as pow but as power.

obe-> \df pow
result |function|arguments |description
-------+--------+----------------+--------------------------
numeric|power |numeric numeric |m raised to the power of n
(1 row)

Thanks,
James

->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561
Kansas State University Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Perrin - Demography 2000-04-18 03:25:51 Re: excel to postgres
Previous Message Fabrice Scemama 2000-04-18 01:35:46 Re: excell to postgres