You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by GitBox <gi...@apache.org> on 2022/12/22 19:20:04 UTC

[GitHub] [age] jrgemignani commented on pull request #406: Changed age_head, age_last and age_properties to IMMUTABLE

jrgemignani commented on PR #406:
URL: https://github.com/apache/age/pull/406#issuecomment-1363261899

   I feel this is potentially risky as these are execution phase functions that operate on lists and values that may change underneath.
   
   https://www.postgresql.org/docs/current/xfunc-volatility.html - 
   
   "Labeling a function IMMUTABLE when it really isn't might allow it to be prematurely folded to a constant during planning, resulting in a stale value being re-used during subsequent uses of the plan. This is a hazard when using prepared statements or when using function languages that cache plans (such as PL/pgSQL)."


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org