From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Assorted further cleanup for integer-conversion patch. |
Date: | 2010-11-20 17:09:55 |
Message-ID: | E1PJqwl-00055A-0i@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2010-11-20 17:31:21 | psqlodbc - psqlodbc: addition of a change history. |
Previous Message | Robert Haas | 2010-11-20 15:07:52 | pgsql: Expose quote_literal_cstr() from core. |