On Monday, October 11, 2021, Prabhat Sahu <prabhat(dot)sahu(at)enterprisedb(dot)com>
wrote:
>
> While using IMMUTABLE functions in index expression, we are getting below
> corruption on HEAD.
>
That function is not actually immutable (the system doesn’t check whether
your claim of immutability and the function definition match, its up to you
to know and specify the correct label for what the function does) so not
our problem. Write a trigger instead.
David J.