Re: BUG #13504: Types in math functions table is incorrect - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #13504: Types in math functions table is incorrect
Date
Msg-id CAKFQuwb7C6+gDKfUzy5xWkQqwXs2ZwKTTeN8CvAPz0PH1uDCmQ@mail.gmail.com
Whole thread Raw
In response to BUG #13504: Types in math functions table is incorrect  (tgpfeiffer@web.de)
Responses Re: BUG #13504: Types in math functions table is incorrect  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thursday, July 16, 2015, <tgpfeiffer@web.de> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      13504
> Logged by:          Tobias Pfeiffer
> Email address:      tgpfeiffer@web.de <javascript:;>
> PostgreSQL version: 9.4.4
> Operating system:   --
> Description:
>
> On http://www.postgresql.org/docs/9.4/static/functions-math.html in Table
> 9-3 there is a number of issues in the "Return Type" column.
>
> For example:
> - for ln it says "same as input", but the output is actually double
> precision (both when checked with two eyes and `pg_typeof`)
> - same for log
> - for sign it says "same as input" but the output is actually numeric
>
> I have not checked all of the functions in that table, but at least the
> ones
> above need to be fixed, I think.
>
>
It would be helpful if you supplied the queries you used to make these
determinations.

David J.

pgsql-bugs by date:

Previous
From: priyanka@rirl.org
Date:
Subject: BUG #13505: Create Extension
Next
From: Tom Lane
Date:
Subject: Re: BUG #13505: Create Extension