BUG #1444: ::int2 parser bug - Mailing list pgsql-bugs

From Ioseph Kim
Subject BUG #1444: ::int2 parser bug
Date
Msg-id 20050128001943.42D9C9A581C@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1444: ::int2 parser bug
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1444
Logged by:          Ioseph Kim
Email address:      pgsql-kr@postgresql.or.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.

pgsql-bugs by date:

Previous
From: "John Anson"
Date:
Subject: BUG #1445: Installation failed during "Activating Procedural Languages" - "Failed to connect to the database"
Next
From: "John Anson"
Date:
Subject: BUG #1446: MSI installion fails if the postgres database password contains an apostrophe