Re: DEREF_AFTER_NULL: src/common/jsonapi.c:2529 - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: DEREF_AFTER_NULL: src/common/jsonapi.c:2529
Date
Msg-id 31e5b65e-84f1-40c3-a7b8-6c26ae450208@proxel.se
Whole thread Raw
In response to Re: DEREF_AFTER_NULL: src/common/jsonapi.c:2529  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On 4/6/26 1:59 PM, Andreas Karlsson wrote:
> If someone has a patch improving readability I would personally before 
> merging this since this code feels more complex than it ideally should 
> be but adding this noop NULL check to silence a false positive from a 
> static analyzer does not seem like an improvement.

Whops, accidentally forgot to type some words there. That should have been:

"[...] I would personally be all for merging it since this code [...]"

-- 
Andreas Karlsson
Percona




pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: DEREF_AFTER_NULL: src/common/jsonapi.c:2529
Next
From: Amit Langote
Date:
Subject: Re: Batching in executor