]> granicus.if.org Git - postgresql/commit
Make float exponent output on Windows look the same as elsewhere.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Oct 2018 15:14:27 +0000 (11:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Oct 2018 15:14:27 +0000 (11:14 -0400)
commitf1885386f6246ac7b6f8d3f0aef247988f48ee7a
tree7e99f69d756666ae870157f415f3bab4d3c4ad81
parentb34e84f160a47d9070b304bfc1baf17596d71865
Make float exponent output on Windows look the same as elsewhere.

Windows, alone among our supported platforms, likes to emit three-digit
exponent fields even when two digits would do.  Adjust such results to
look like the way everyone else does it.  Eliminate a bunch of variant
expected-output files that were needed only because of this quirk.

Discussion: https://postgr.es/m/2934.1539122454@sss.pgh.pa.us
12 files changed:
contrib/cube/expected/cube_sci_1.out [deleted file]
contrib/seg/expected/seg_1.out [deleted file]
src/interfaces/ecpg/test/expected/compat_informix-dec_test-MinGW32.stdout [deleted file]
src/interfaces/ecpg/test/expected/pgtypeslib-num_test-MinGW32.stdout [deleted file]
src/interfaces/ecpg/test/expected/pgtypeslib-num_test2-MinGW32.stdout [deleted file]
src/interfaces/ecpg/test/resultmap [deleted file]
src/port/snprintf.c
src/test/regress/expected/float4-exp-three-digits.out [deleted file]
src/test/regress/expected/float8-exp-three-digits-win32.out [deleted file]
src/test/regress/expected/geometry_1.out [deleted file]
src/test/regress/expected/int8-exp-three-digits.out [deleted file]
src/test/regress/resultmap