Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TuoFf-0008IF-1E for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Jan 2013 17:55:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TuoFe-0004aB-HK for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Jan 2013 17:55:14 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TukuU-0002F1-Ua for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 14:21:11 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TukuT-0002Ck-FX for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 14:21:10 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TukuT-0007n7-AZ for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 14:21:09 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TukuS-0002HE-AA for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 14:21:08 +0000 Date: Mon, 14 Jan 2013 14:21:08 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7807: "sign" function returns double To: pgsql-bugs@postgresql.org From: a_rares@yahoo.com X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 7807 Logged by: Andrei Rares Email address: a_rares@yahoo.com PostgreSQL version: 9.1.7 Operating system: GNU/Linux 3.2.0-35-generic x86_64 Description:=20=20=20=20=20=20=20=20 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 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs