Skip site navigation (1) Skip section navigation (2)

pgsql: Attempt to fix breakage caused by signed integer conversionpatc

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Attempt to fix breakage caused by signed integer conversionpatc
Date: 2010-11-20 06:09:35
Message-ID: E1PJgdj-0004Ew-C7@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Attempt to fix breakage caused by signed integer conversion patch.

Use INT_MIN rather than INT32_MIN as we do elsewhere in the code, and
try to work around nonexistence of INT64_MIN if necessary.  Adjust the
new regression tests to something hopefully saner, per observation by
Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=815810ed315a6d21203ec75a11f742f5ed655418

Modified Files
--------------
src/backend/utils/adt/numutils.c   |   12 +++++++++++-
src/test/regress/expected/int2.out |   12 ++++++------
src/test/regress/expected/int4.out |   14 +++++++-------
src/test/regress/expected/int8.out |   18 +++++++++---------
src/test/regress/sql/int2.sql      |    4 ++--
src/test/regress/sql/int4.sql      |    6 +++---
src/test/regress/sql/int8.sql      |    6 +++---
7 files changed, 41 insertions(+), 31 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2010-11-20 06:10:31
Subject: Re: pgsql: Speed up conversion of signed integers to C strings.
Previous:From: Tom LaneDate: 2010-11-20 04:47:16
Subject: Re: pgsql: Speed up conversion of signed integers to C strings.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group