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: Dodge a compiler bug affecting timetz_zone/timetz_izone.
Date: Fri, 20 Oct 2023 17:40:28 +0000
Message-ID: <E1qttU4-001X17-Fc@gemulon.postgresql.org> (raw)

Dodge a compiler bug affecting timetz_zone/timetz_izone.

This avoids a compiler bug occurring in AIX's xlc, even in pretty
late-model revisions.  Buildfarm testing has now confirmed that
only 64-bit xlc is affected.  Although we are contemplating
dropping support for xlc in v17, it's still supported in the
back branches, so we need this fix.

Back-patch of code changes from HEAD commit 19fa97731.
(The test cases were already back-patched, in 4a427b82c et al.)

Discussion: https://postgr.es/m/CA+hUKGK=DOC+hE-62FKfZy=Ybt5uLkrg3zCZD-jFykM-iPn8yw@mail.gmail.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1ad3a7bd396a802566239fa37e3435df20603d8b

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



view thread (7+ messages)  latest in thread

Message-ID: <E1qttU4-001X17-Fc@gemulon.postgresql.org>
Permalink:  ../E1qttU4-001X17-Fc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qttU4-001X17-Fc@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Dodge a compiler bug affecting timetz_zone/timetz_izone.
  In-Reply-To: <E1qttU4-001X17-Fc@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