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 3074065.1741965229@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:
> I haven’t checked the source code, but yes the isn_weak feature has some footgun potential. As it doesn’t respect
transactions,but rather sets a flag on session level, it’s easy for the “isn weakness” to leak out into a connection
pool.

Yeah, really that ought to be a GUC I should think.  There isn't
anything well-designed about it ...

I found some prior discussion here:

https://www.postgresql.org/message-id/flat/C12AE0A2A752416C79F3EE81%40teje

but we don't seem to have pulled the trigger on changing anything.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18850: REDUNDANT_COMPARISON.ALWAYS_FALSE Redundant comparison
Next
From: Viktor Holmberg
Date:
Subject: Re: ISN extension - wrong volatility level for isn_weak() function