Re: strict-aliasing warning

Adrian Klaver <adrian.klaver@aklaver.com>

From: Adrian Klaver <adrian.klaver@aklaver.com>
To: ma lz <ma100@hotmail.com>, "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-12-10T03:04:23Z
Lists: pgsql-general
On 12/9/25 18:27, ma lz wrote:

What version of Postgres?

> In function "ExecEvalJsonCoercionFinish()"
> 
>       if (SOFT_ERROR_OCCURRED(&jsestate->escontext))
> 
> may produce strict-aliasing warning

> Don't use IsA may fix this problem

Why is it a problem?

This is something that should be submitted here(you will need create a 
community account):

https://www.postgresql.org/account/login/?next=/account/submitbug/

-- 
Adrian Klaver
adrian.klaver@aklaver.com