BUG #7807: "sign" function returns double

From: a_rares(at)yahoo(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7807: "sign" function returns double
Date: 2013-01-14 14:21:08
Message-ID: E1TukuS-0002HE-AA@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7807
Logged by: Andrei Rares
Email address: a_rares(at)yahoo(dot)com
PostgreSQL version: 9.1.7
Operating system: GNU/Linux 3.2.0-35-generic x86_64
Description:

In the documentation
(http://www.postgresql.org/docs/9.1/static/functions-math.html) it is
written that the return type is the same as the input, but a query like
'select sign(1::int)' returns a double

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Casey Allen Shobe 2013-01-14 18:04:45 Re: wrong search_path being used
Previous Message fahar.abbas 2013-01-14 11:04:58 BUG #7806: installation failed for postgis on Windows