Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C14E264FD09 for ; Sat, 6 Sep 2008 17:58:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07783-02 for ; Sat, 6 Sep 2008 17:58:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id DD6F864FCF2 for ; Sat, 6 Sep 2008 17:57:59 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m86KvvRp025090; Sat, 6 Sep 2008 16:57:58 -0400 (EDT) To: "Jaime Casanova" cc: "Ryan Bradetich" , pgsql-patches Subject: Re: [PgFoundry] Unsigned Data Types [1 of 2] In-reply-to: <3073cc9b0809061341q5c747488i85491e4c8e2420ba@mail.gmail.com> References: <3073cc9b0809061341q5c747488i85491e4c8e2420ba@mail.gmail.com> Comments: In-reply-to "Jaime Casanova" message dated "Sat, 06 Sep 2008 15:41:29 -0500" Date: Sat, 06 Sep 2008 16:57:57 -0400 Message-ID: <25089.1220734677@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/72 X-Sequence-Number: 7087 "Jaime Casanova" writes: > seems there is something wrong in the unlikely macro (i'm using GCC > 4.2.3 in Ubuntu 4.2.3-2ubuntu7 with amd64) > postgres=# select -256::uint1; > ERROR: uint1 out of range No, that's just because this is parsed as -(256::uint1) regards, tom lane