pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make float exponent output on Windows look the same as elsewhere
Date: Fri, 12 Oct 2018 15:15:11 +0000
Message-ID: <E1gAz9j-0001tE-PR@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1gAz9j-0001tE-PR@gemulon.postgresql.org>
Permalink:  ../E1gAz9j-0001tE-PR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gAz9j-0001tE-PR@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Make float exponent output on Windows look the same as elsewhere
  In-Reply-To: <E1gAz9j-0001tE-PR@gemulon.postgresql.org>
  References: <E1gAz9j-0001tE-PR@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox