pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Andres Freund <andres@anarazel.de>
Cc: Dmitry Mityugov <d.mityugov@postgrespro.ru>
Cc: pgsql-hackers@postgresql.org
Subject: Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Date: Tue, 15 Jul 2025 19:27:18 -0400
Message-ID: <1141814.1752622038@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-WzmS84KwUuZaP-ha7YwCCatDbQHcEjUGLDuihC5B=kxc1A@mail.gmail.com>
References: <0c623e8a204187b87b4736792398eaf1@postgrespro.ru>
	<82868.1752342174@sss.pgh.pa.us>
	<ib5yhkzseb27icjpz5p6wqgppaoa2nhjzj3ldx23d65ehciwin@um6dx2bpxux3>
	<CAH2-WzkXwnY=cNGDODOyW=AhT4H8Rj7MiOk3mcN=Ua2w8C=RZg@mail.gmail.com>
	<1138043.1752620290@sss.pgh.pa.us>
	<CAH2-WzmS84KwUuZaP-ha7YwCCatDbQHcEjUGLDuihC5B=kxc1A@mail.gmail.com>

Peter Geoghegan <pg@bowt.ie> writes:
> It would be nice to eliminate all existing "keep compiler quiet"
> variable initializations that follow an elog/ereport with elevel >=
> ERROR. My guess is that we have several hundred.

There are a lot of them, for sure.  I'd be a bit worried about
creating a back-patching mine-field.  But maybe these are all
in spots we're unlikely to touch?

			regards, tom lane





view thread (14+ messages)  latest in thread

Message-ID: <1141814.1752622038@sss.pgh.pa.us>
Permalink:  ../1141814.1752622038@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1141814.1752622038@sss.pgh.pa.us

 · 

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, pg@bowt.ie, andres@anarazel.de, d.mityugov@postgrespro.ru
  Subject: Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
  In-Reply-To: <1141814.1752622038@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