15.06.2023 16:21, Tom Lane wrote:
> Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru> writes:
>> I found, than declaration of function as IMMUTABLE/STABLE is not enough to be sure
>> function doesn't manipulate data.
> Of course not. It is the user's responsibility to mark functions
> properly. Trying to enforce that completely is a fool's errand
https://github.com/postgres/postgres/commit/b2c4071299e02ed96d48d3c8e776de2fab36f88c.patch
https://github.com/postgres/postgres/commit/cdf8b56d5463815244467ea8f5ec6e72b6c65a6c.patch