Re: Non-standard function names - Mailing list pgsql-sql

From Tom Lane
Subject Re: Non-standard function names
Date
Msg-id 3357.1088008006@sss.pgh.pa.us
Whole thread Raw
In response to Non-standard function names  (Clive Page <cgp@star.le.ac.uk>)
List pgsql-sql
Clive Page <cgp@star.le.ac.uk> writes:
> The problems come with LN and LOG which Postgres uses for logarithms to
> base e and 10 respectively: the JDBC standard uses LOG and LOG10
> respectively, so that any fix would mean LOG changed its meaning.  I don't
> see an easy solution here; maybe both LOGE and LOG10 could be provided, at
> least there would then be only one difference from the JDBC standard.

loge() strikes me as pointless; you might as well just use ln().
I don't have any objections to the other proposed additions though.
        regards, tom lane


pgsql-sql by date:

Previous
From: Stef
Date:
Subject: ERROR: Unable to format timestamp; internal coding error
Next
From: Tom Lane
Date:
Subject: Re: ERROR: Unable to format timestamp; internal coding error