BUG #1444: ::int2 parser bug

From: "Ioseph Kim" <pgsql-kr(at)postgresql(dot)or(dot)kr>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1444: ::int2 parser bug
Date: 2005-01-28 00:19:43
Message-ID: 20050128001943.42D9C9A581C@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1444
Logged by: Ioseph Kim
Email address: pgsql-kr(at)postgresql(dot)or(dot)kr
PostgreSQL version: 7.4x ~
Operating system: ALL
Description: ::int2 parser bug
Details:

> select int2(-32768);
int2
--------
-32768

--------------------------

> select -32768::int2;
ERROR: integer out of range
--------------------------

> select '-32768'::int2;
int2
--------
-32768

--------------------------

It seems to bug.

This bug occured ::int4 parsing too.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John Anson 2005-01-28 05:02:45 BUG #1445: Installation failed during "Activating Procedural Languages" - "Failed to connect to the database"
Previous Message Michael Fuhr 2005-01-27 23:23:10 Re: plpython triggers TD["new"] = None