Re: ISN extension - wrong volatility level for isn_weak() function - Mailing list pgsql-bugs

From Daniel Gustafsson
Subject Re: ISN extension - wrong volatility level for isn_weak() function
Date
Msg-id 615E3F88-6AED-4C11-8150-ABAD3B052AE5@yesql.se
Whole thread Raw
In response to ISN extension - wrong volatility level for isn_weak() function  (Viktor Holmberg <v@viktorh.net>)
List pgsql-bugs
> On 14 Mar 2025, at 14:58, Viktor Holmberg <v@viktorh.net> wrote:
>
> Yes, you’re right Daniel. I ended up settling on the following workaround:
>
> ALTER FUNCTION isn_weak() VOLATILE;
> ALTER FUNCTION public.isn_weak(boolean) VOLATILE;

Thanks for confirming.  This would need a backpatch into all supported versions
it seems.

--
Daniel Gustafsson




pgsql-bugs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: BUG #18845: DEREF_OF_NULL.RET guc_malloc possibly returns NULL
Next
From: Tom Lane
Date:
Subject: Re: ISN extension - wrong volatility level for isn_weak() function