Re: When IMMUTABLE is not. - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: When IMMUTABLE is not.
Date
Msg-id CAKFQuwbcsPwm_iiE8p5TYZ=2AEnt4LHpCnjjHYoCRAuZk9tzFw@mail.gmail.com
Whole thread Raw
In response to Re: When IMMUTABLE is not.  (chap@anastigmatix.net)
Responses Re: When IMMUTABLE is not.
Re: When IMMUTABLE is not.
List pgsql-hackers
On Thursday, June 15, 2023, <chap@anastigmatix.net> wrote:

So one could take a strict view that "no PL/Java function should
ever be marked IMMUTABLE" because every one depends on fetching
something (once, at least).

The failure to find and execute the function code itself is not a failure mode that these markers need be concerned with.  Assuming one can execute the function an immutable function will give the same answer for the same input for all time.

David J.

pgsql-hackers by date:

Previous
From: chap@anastigmatix.net
Date:
Subject: Re: When IMMUTABLE is not.
Next
From: chap@anastigmatix.net
Date:
Subject: Re: When IMMUTABLE is not.