Re: [PgFoundry] Unsigned Data Types [1 of 2] - Mailing list pgsql-patches

From Tom Lane
Subject Re: [PgFoundry] Unsigned Data Types [1 of 2]
Date
Msg-id 25089.1220734677@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PgFoundry] Unsigned Data Types [1 of 2]  ("Jaime Casanova" <jcasanov@systemguards.com.ec>)
Responses Re: [PgFoundry] Unsigned Data Types [1 of 2]
Re: [PgFoundry] Unsigned Data Types [1 of 2]
List pgsql-patches
"Jaime Casanova" <jcasanov@systemguards.com.ec> 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

pgsql-patches by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: [PgFoundry] Unsigned Data Types [1 of 2]
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] TODO item: Implement Boyer-Moore searching (First time hacker)