Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Dmitry Mityugov <d(dot)mityugov(at)postgrespro(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings
Date: 2025-07-16 00:01:57
Message-ID: CAH2-Wznkjctpb7TKHTFFmLUEzzniztpkV7=U24PzaDQ42cP2_w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 15, 2025 at 7:52 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Junwang Zhao 2025-07-16 00:06:44 Re: remove WITHOUT OIDS syntax for v19
Previous Message Tom Lane 2025-07-15 23:52:05 Re: patch: Use pg_assume in jsonb_util.c to fix GCC 15 warnings