Re: [PgFoundry] Unsigned Data Types [1 of 2]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: "Ryan Bradetich" <rbradetich(at)gmail(dot)com>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PgFoundry] Unsigned Data Types [1 of 2]
Date: 2008-09-06 20:57:57
Message-ID: 25089.1220734677@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-09-06 22:21:01 Re: [HACKERS] TODO item: Implement Boyer-Moore searching (First time hacker)
Previous Message Jaime Casanova 2008-09-06 20:41:29 Re: [PgFoundry] Unsigned Data Types [1 of 2]