Re: [HACKERS] Re: [PATCHES] ':' and ';' operators

From: mascarm(at)mascari(dot)com
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: [PATCHES] ':' and ';' operators
Date: 1999-11-25 17:12:44
Message-ID: 383D6E0B.863050C8@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>
> > I don't have the SQL standards around here, but they should be the
> > reference,
>
> SQL doesn't address math functions at all, AFAICS. Given that lack,
> the names used in C's <math.h> look OK to me, with the exception that
> I'd rather see abs() than fabs().
>
> regards, tom lane

For what its worth (I'll probably get brow-beaten for even mentioning this :-) ),
the ODBC 2.0 specification allows clients to test ODBC data sources to determine
if the data source has implemented the following:

ABS(numeric),
ACOS(float),
ASIN(float),
ATAN(float),
ATAN2(float1, float2),
CEILING(numeric),
COS(float),
COT(float),
EXP(float),
FLOOR(numeric),
LOG(float),
MOD(integer1, integer2),
SIGN(numeric),
SIN(float),
SQRT(float),
TAN(float),
PI(),
RAND([integer]),
DEGREES(numeric),
LOG10(float),
POWER(numeric, integer),
RADIANS(numeric),
ROUND(numeric, integer),
TRUNCATE(numeric, integer)

Anways, thats the list for ODBC 2.0 -- I'm not sure what ODBC 3.0 has....

Mike

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-11-25 18:19:37 Re: [HACKERS] Concurrent VACUUM: first results
Previous Message Tim Holloway 1999-11-25 16:32:23 Re: [HACKERS] pid file for postmaster?