Re: BUG #1608: integer negative limit in plpgsql function arguments - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1608: integer negative limit in plpgsql function arguments
Date
Msg-id 27256.1114009813@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1608: integer negative limit in plpgsql function arguments  ("Paul" <paul@allinea.com>)
List pgsql-bugs
"Paul" <paul@allinea.com> writes:
> -- this doesn't work (and I think it should!)
> SELECT print_test_id(-2147483648);

"2147483648" isn't an integer constant; it's int8, and therefore so
is the result of the minus operator.  Sorry, this isn't going to
change.

            regards, tom lane

pgsql-bugs by date:

Previous
From:
Date:
Subject: Re: BUG #1605: Is this a bug of PostgreSQL?Or, is the parameter of Windows set?
Next
From: "Oliver Siegmar"
Date:
Subject: BUG #1609: Bug in interval datatype for 64 Bit timestamps