Re: Bad integer - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bad integer
Date
Msg-id 593.1010776579@sss.pgh.pa.us
Whole thread Raw
In response to Bad integer  (Dmitry Macsema <dmacsema@iname.com>)
List pgsql-bugs
Dmitry Macsema <dmacsema@iname.com> writes:
>   I'm getting "Bad integer 4020239173" error. From what I found on the
>   Web it seems to be a Postgres bug, not specific to any programming
>   language.

First I've heard of it.  You're going to have to provide a lot more
information if you want us to believe it's a Postgres problem.

The only occurrence of the string "bad integer" in current postgres
sources is

src/interfaces/jdbc/org/postgresql/errors.properties: postgresql.res.badint:Bad Integer {0}

which appears to be an exception thrown only by toInt().  Complaining
because someone tried to coerce an oversize value to integer is not
obviously a bug...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: ehm...
Next
From: Tom Lane
Date:
Subject: Re: ehm...