]> granicus.if.org Git - postgresql/commit
Assorted further cleanup for integer-conversion patch.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 2010 17:09:36 +0000 (12:09 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 20 Nov 2010 17:09:36 +0000 (12:09 -0500)
commitd1d8462d99620cd4384d77b0908d50a49c38eb31
tree577ce4c62b948de9111b32e26da5101a966a7de0
parent4343c0e546b216ab38a3397a4f0f7476d557b352
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.
src/backend/utils/adt/numutils.c
src/test/regress/expected/int2.out
src/test/regress/sql/int2.sql