"Marc Mamin" <M.Mamin@intershop.de> writes:
> I wonder if there are some special cases where STABLE functions should
> be avoided.
> I think for example of functions using set_config or querying the
> advisory locks.
set_config has side-effects and hence should not be done in non-volatile
functions.
regards, tom lane