pgsql: Assorted further cleanup for integer-conversion patch. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Assorted further cleanup for integer-conversion patch.
Date
Msg-id E1PJqwl-00055A-0i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Expose quote_literal_cstr() from core.
Next
From: h-saito@pgfoundry.org (Hiroshi Saito)
Date:
Subject: psqlodbc - psqlodbc: addition of a change history.