In a machine where INT64_IS_BUSTED, we can only support 32-bit values

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 54a8af058e73b452278031b4959bd2fe9be0ba0c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-09-24T15:34:07Z
Releases: 8.1.0
In a machine where INT64_IS_BUSTED, we can only support 32-bit values
for int8 and related types.  However we might be talking to a client
that has working int64; so pq_getmsgint64 really needs to check the
incoming value and throw an overflow error if we can't represent it
accurately.

Files

PathChange+/−
src/backend/libpq/pqformat.c modified +6 −2