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

From Peter Geoghegan
Subject Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Date
Msg-id CAH2-Wznkjctpb7TKHTFFmLUEzzniztpkV7=U24PzaDQ42cP2_w@mail.gmail.com
Whole thread Raw
In response to Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jul 15, 2025 at 7:52 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm not sure how likely such scenarios are, but it doesn't seem
> zero-risk.  And if we do hundreds of these, the odds of trouble
> will increase.

I agree that it's not zero-risk -- hardly anything ever is. Still
seems worth considering.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Next
From: Junwang Zhao
Date:
Subject: Re: remove WITHOUT OIDS syntax for v19