pgsql: Make float exponent output on Windows look the same aselsewhere

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make float exponent output on Windows look the same aselsewhere
Дата
Msg-id E1gAz9j-0001tE-PR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f1885386f6246ac7b6f8d3f0aef247988f48ee7a

Modified Files
--------------
contrib/cube/expected/cube_sci_1.out               |  106 -
contrib/seg/expected/seg_1.out                     | 1266 -----
.../compat_informix-dec_test-MinGW32.stdout        | 1293 ------
.../expected/pgtypeslib-num_test-MinGW32.stdout    |    6 -
.../expected/pgtypeslib-num_test2-MinGW32.stdout   | 1117 -----
src/interfaces/ecpg/test/resultmap                 |   12 -
src/port/snprintf.c                                |   27 +
.../regress/expected/float4-exp-three-digits.out   |  259 --
.../expected/float8-exp-three-digits-win32.out     |  586 ---
src/test/regress/expected/geometry_1.out           | 4890 --------------------
.../regress/expected/int8-exp-three-digits.out     |  888 ----
src/test/regress/resultmap                         |   12 -
12 files changed, 27 insertions(+), 10435 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add TAP tests for pg_verify_checksums
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Correct attach/detach logic for FKs in partitions