pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Vik Fearing <vik@postgresfriends.org>
Cc: cary huang <hcary328@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Add support for AT LOCAL
Date: Sun, 15 Oct 2023 23:02:45 -0400
Message-ID: <2188264.1697425365@sss.pgh.pa.us> (raw )
In-Reply-To: <CA+hUKGLYaVJ7df+Uu=ctUunRcqUsGY55feVQa-1pzz1=PT=z3w@mail.gmail.com >
References: <e3b4c42d-739d-4375-9401-2f62ad59d326@postgresfriends.org >
<ZSTUWON7DOfo-2ES@paquier.xyz >
<a2bd6444-7fe4-44cd-8cb6-d7ac13f4d3e0@postgresfriends.org >
<ZSjCZJrxGL0-wv-G@paquier.xyz >
<65b620bd-4f05-4381-97c3-5ec9ac39d5b9@postgresfriends.org >
<ZSjQj34RZBY_HY0c@paquier.xyz >
<CA+hUKGK=DOC+hE-62FKfZy=Ybt5uLkrg3zCZD-jFykM-iPn8yw@mail.gmail.com >
<2129576.1697407071@sss.pgh.pa.us >
<CA+hUKGJE7rfnswHh021=vJmV3wAjmWfbb2BGp6CfeMk0rPyPLQ@mail.gmail.com >
<CA+hUKGL04vme+yztreEFhGucv2d9ema+8_a+i43EUFdpYCPXfw@mail.gmail.com >
<ZSyYqySa74x_RAH_@paquier.xyz >
<CA+hUKGLYaVJ7df+Uu=ctUunRcqUsGY55feVQa-1pzz1=PT=z3w@mail.gmail.com >
Thomas Munro <thomas.munro@gmail.com> writes:
> On Mon, Oct 16, 2023 at 2:58 PM Michael Paquier <michael@paquier.xyz> wrote:
>> Another theory would be one of these weird compiler optimization issue
>> from xlc? In recent history, there was 8d2a01ae12cd.
> Yeah, there are more like that too. xlc 12.1 is dead (like the OS
> version it shipped with). New versions are available on cfarm if we
> care about this target. But I am conscious of the cosmic law that if
> you blame the compiler too soon you can cause the bug to move into
> your code...
I'm having a hard time not believing that this is a compiler bug.
Looking back at 8d2a01ae12cd and its speculation that xlc is overly
liberal about reordering code around sequence points ... I wonder
if it'd help to do this calculation in a local variable, and only
assign the final value to result->time ? But we have to reproduce
the problem first.
regards, tom lane
view thread (60+ messages) latest in thread
Message-ID: <2188264.1697425365@sss.pgh.pa.us>
Permalink: ../2188264.1697425365@sss.pgh.pa.us/
Also on: postgresql.org/message-id/2188264.1697425365@sss.pgh.pa.us
copy link · copy postgr.es
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, michael@paquier.xyz, vik@postgresfriends.org, hcary328@gmail.com, pgsql-hackers@lists.postgresql.org
Subject: Re: Add support for AT LOCAL
In-Reply-To: <2188264.1697425365@sss.pgh.pa.us>
* 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