Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ttUH0-00D4tl-Va for pgsql-bugs@arkaria.postgresql.org; Sat, 15 Mar 2025 16:22:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ttUGz-00Gehl-JX for pgsql-bugs@arkaria.postgresql.org; Sat, 15 Mar 2025 16:22:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ttUGz-00Gefo-Ao for pgsql-bugs@lists.postgresql.org; Sat, 15 Mar 2025 16:22:05 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ttUGx-00302P-1Z for pgsql-bugs@lists.postgresql.org; Sat, 15 Mar 2025 16:22:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 52FGM3wv3481905; Sat, 15 Mar 2025 12:22:03 -0400 From: Tom Lane To: Viktor Holmberg cc: daniel@yesql.se, pgsql-bugs@lists.postgresql.org Subject: Re: ISN extension - wrong volatility level for isn_weak() function In-reply-to: <742add6c-02ac-42e4-97a3-f2ebd1520d64@Spark> References: <790bc1f9-74dc-4b50-94d2-8147315b1556@Spark> <51C655A4-46FB-4A40-BAE5-26A76B31D3EE@yesql.se> <3052531.1741961784@sss.pgh.pa.us> <3074065.1741965229@sss.pgh.pa.us> <3080651.1741969122@sss.pgh.pa.us> <742add6c-02ac-42e4-97a3-f2ebd1520d64@Spark> Comments: In-reply-to Viktor Holmberg message dated "Sat, 15 Mar 2025 15:32:39 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3481903.1742055723.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 15 Mar 2025 12:22:03 -0400 Message-ID: <3481904.1742055723@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Viktor Holmberg writes: > On 14 Mar 2025 at 16:18 +0000, Tom Lane , 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=E2=80=99ve attached a patch that fix= es 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