Assorted further cleanup for integer-conversion patch.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/numutils.c | modified | +24 −29 |
| src/test/regress/expected/int2.out | modified | +1 −1 |
| src/test/regress/sql/int2.sql | modified | +1 −1 |