Thread: pgsql: Assorted further cleanup for integer-conversion patch.

pgsql: Assorted further cleanup for integer-conversion patch.

From
Tom Lane
Date:
Assorted further cleanup for integer-conversion patch.

Avoid depending on LL notation, which is likely to not work in pre-C99
compilers; don't pointlessly use INT32_MIN/INT64_MIN in code that has
the numerical value hard-wired into it anyway; remove some gratuitous
style inconsistencies between pg_ltoa and pg_lltoa; fix int2 test case
so it actually tests int2.

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/numutils.c   |   53 ++++++++++++++++-------------------
src/test/regress/expected/int2.out |    2 +-
src/test/regress/sql/int2.sql      |    2 +-
3 files changed, 26 insertions(+), 31 deletions(-)