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

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: [PgFoundry] Unsigned Data Types [1 of 2]
Дата
Msg-id 3073cc9b0809061610s149ef06ah5bb601b081b29db6@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PgFoundry] Unsigned Data Types [1 of 2]  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PgFoundry] Unsigned Data Types [1 of 2]  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Sat, Sep 6, 2008 at 3:57 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "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)
>

actually, i thought that case is right but the -255::uint1 returning a
negative number (aka -255) is what bothers me


--
regards,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. (593) 87171157

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] TODO item: Implement Boyer-Moore searching (First time hacker)
Следующее
От: "Jaime Casanova"
Дата:
Сообщение: Re: [PgFoundry] Unsigned Data Types [1 of 2]