From: Michael Paquier <michael@paquier.xyz>
To: Christoph Berg <myon@debian.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: powerpc pg_atomic_compare_exchange_u32_impl: error: comparison of integer expressions of different signedness (Re: pgsql: For all ppc compilers, implement compare_exchange and) fetch_add
Date: Mon, 12 Oct 2020 10:16:46 +0900
Message-ID: <20201012011646.GD2346@paquier.xyz> (raw)
In-Reply-To: <20201011183513.GA709789@msg.df7cb.de>
References: <E1iLfOg-0005hK-98@gemulon.postgresql.org>
<20201009092825.GD889580@msg.df7cb.de>
<20201009100117.GA1550390@rfd.leadboat.com>
<20201011051043.GA1724101@rfd.leadboat.com>
<3006140.1602436360@sss.pgh.pa.us>
<20201011183513.GA709789@msg.df7cb.de>
On Sun, Oct 11, 2020 at 08:35:13PM +0200, Christoph Berg wrote:
> Re: Tom Lane
>> Hmm, I'd argue for a back-patch. The issue of modern compilers
>> warning about the incorrect code will apply to all supported branches.
>> Moreover, even if we don't use these code paths today, who's to say
>> that someone won't back-patch a bug fix that requires them? I do not
>> think it's unreasonable to expect these functions to work well in
>> all branches that have them.
>
> Or remove them. (But fixing seems better.)
The patch is not that invasive, so just fixing back-branches sounds
like a good idea to me. My 2c.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, myon@debian.org, tgl@sss.pgh.pa.us, noah@leadboat.com, pgsql-hackers@lists.postgresql.org
Subject: Re: powerpc pg_atomic_compare_exchange_u32_impl: error: comparison of integer expressions of different signedness (Re: pgsql: For all ppc compilers, implement compare_exchange and) fetch_add
In-Reply-To: <20201012011646.GD2346@paquier.xyz>
* 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