pgsql: Fix build with !USE_WIDE_UPPER_LOWER

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix build with !USE_WIDE_UPPER_LOWER
Date: 2017-09-22 13:28:26
Message-ID: E1dvO0I-0007it-L2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix build with !USE_WIDE_UPPER_LOWER

The placement of the ifdef blocks in formatting.c was pretty bogus, so
the code failed to compile if USE_WIDE_UPPER_LOWER was not defined.

Reported-by: Peter Geoghegan <pg(at)bowt(dot)ie>
Reported-by: Noah Misch <noah(at)leadboat(dot)com>

Branch
------
REL_10_STABLE

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

Modified Files
--------------
src/backend/utils/adt/formatting.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-22 13:33:36 Re: [COMMITTERS] pgsql: Fix bool/int type confusion
Previous Message Peter Eisentraut 2017-09-22 12:56:39 Re: [COMMITTERS] pgsql: Fix bool/int type confusion