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

From Tom Lane
Subject Re: ISN extension - wrong volatility level for isn_weak() function
Date
Msg-id 3481904.1742055723@sss.pgh.pa.us
Whole thread Raw
In response to Re: ISN extension - wrong volatility level for isn_weak() function  (Viktor Holmberg <v@viktorh.net>)
Responses Re: ISN extension - wrong volatility level for isn_weak() function
List pgsql-bugs
Viktor Holmberg <v@viktorh.net> writes:
> On 14 Mar 2025 at 16:18 +0000, Tom Lane <tgl@sss.pgh.pa.us>, wrote:
>> No, we'd need to create an update script that uses ALTER FUNCTION.
>> Extension scripts are basically frozen once shipped.

> Ah, thanks for the clarification. I’ve attached a patch that fixes the volatility. I thought it best to at least get
somefeedback on that before I try to dust off my C knowledge and try to fix the GUC stuff. 

Uh .. looks like you attached a patch for something else altogether.

If you want a sample extension-updating patch to look at, you
could see 44ba2920644903d7dfceda810e5facdbcbab58a8, or lots of
other examples.

            regards, tom lane



pgsql-bugs by date:

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