From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Silence compiler warnings about SOFT_ERROR_OCCURRED usage.
Date: Thu, 12 Nov 2026 16:06:55 +0000
Message-ID: <E1xRXKB-00000000SFu-2xFI@gemulon.postgresql.org> (raw)
Silence compiler warnings about SOFT_ERROR_OCCURRED usage.
A few compilers warn about the unnecessary complexity of applying
SOFT_ERROR_OCCURRED() to the address of a local variable.
Fix it similarly to 2e123e3c2 and prior commits.
Per buildfarm.
Discussion: https://postgr.es/m/1830579.1793934447@sss.pgh.pa.us
Backpatch-through: 19
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/52ecf2af068c11d9f74a26346371c8640ad31acd
Modified Files
--------------
src/backend/access/brin/brin_minmax_multi.c | 2 +-
src/backend/utils/adt/rangetypes.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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: Silence compiler warnings about SOFT_ERROR_OCCURRED usage.
In-Reply-To: <E1xRXKB-00000000SFu-2xFI@gemulon.postgresql.org>
References: <E1xRXKB-00000000SFu-2xFI@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