Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Date
Msg-id 1141814.1752622038@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_logical_slot_get_changes waits continously for a partial WAL record spanning across 2 pages
Next
From: Peter Geoghegan
Date:
Subject: Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings