Re: Corruption with IMMUTABLE functions in index expression. - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Corruption with IMMUTABLE functions in index expression.
Date
Msg-id CAKFQuwar6O7ijP3E051y4yOKKOQW91QMCqmQTGMwAxRcN1_nJA@mail.gmail.com
Whole thread Raw
In response to Corruption with IMMUTABLE functions in index expression.  (Prabhat Sahu <prabhat.sahu@enterprisedb.com>)
Responses Re: Corruption with IMMUTABLE functions in index expression.
Re: Corruption with IMMUTABLE functions in index expression.
List pgsql-hackers
On Monday, October 11, 2021, Prabhat Sahu <prabhat.sahu@enterprisedb.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.

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Proposal: allow database-specific role memberships
Next
From: Stephen Frost
Date:
Subject: Re: Proposal: allow database-specific role memberships