pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Viktor Holmberg <v@viktorh.net>
Cc: daniel@yesql.se
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: ISN extension - wrong volatility level for isn_weak() function
Date: Sat, 15 Mar 2025 12:22:03 -0400
Message-ID: <3481904.1742055723@sss.pgh.pa.us> (raw)
In-Reply-To: <742add6c-02ac-42e4-97a3-f2ebd1520d64@Spark>
References: <ae6ed432-4491-4030-be20-3ea69d03a098@Spark>
	<790bc1f9-74dc-4b50-94d2-8147315b1556@Spark>
	<51C655A4-46FB-4A40-BAE5-26A76B31D3EE@yesql.se>
	<3052531.1741961784@sss.pgh.pa.us>
	<de89bd5c-9f51-4891-8a38-d03ed06ebd1d@Spark>
	<3074065.1741965229@sss.pgh.pa.us>
	<b698bb0e-766a-4255-a8c2-a1d14ef2a8f5@Spark>
	<3080651.1741969122@sss.pgh.pa.us>
	<742add6c-02ac-42e4-97a3-f2ebd1520d64@Spark>

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 some feedback 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





view thread (15+ messages)  latest in thread

Message-ID: <3481904.1742055723@sss.pgh.pa.us>
Permalink:  ../3481904.1742055723@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3481904.1742055723@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, v@viktorh.net, daniel@yesql.se, pgsql-bugs@lists.postgresql.org
  Subject: Re: ISN extension - wrong volatility level for isn_weak() function
  In-Reply-To: <3481904.1742055723@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox