Re: ISN extension - wrong volatility level for isn_weak() function
Viktor Holmberg <v@viktorh.net>
From: Viktor Holmberg <v@viktorh.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>,
pgsql-bugs@lists.postgresql.org
Date: 2025-03-15T21:17:16Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
contrib/isn: Make weak mode a GUC setting, and fix related functions.
- 44890442398c 18.0 landed
-
Update contrib/seg for new scalarlesel/scalargesel selectivity functions.
- 44ba29206449 11.0 cited
Attachments
- 0001-isn-extension-Make-weak-mode-a-GUC-setting.patch (application/octet-stream) patch 0001
Oh, sorry! Don’t know what I was doing there - not used to this patch based workflow. Here comes the real patch. This now uses the GUC - that was a lot easier than I thought. One thing I couldn’t figure out: Should I add some sort of change log somewhere, describing what changed in version 1.3 of the ISN extension? If so, where? /Viktor Holmberg On 15 Mar 2025 at 16:22 +0000, Tom Lane <tgl@sss.pgh.pa.us>, wrote: > 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