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/24 17:06:39 UTC

[GitHub] [age] AhmarZaidi opened a new pull request, #418: Changed the volatility category of the List functions age_range() and age_unnest() from STABLE to IMMUTABLE..

AhmarZaidi opened a new pull request, #418:
URL: https://github.com/apache/age/pull/418

   The **age_range()** function returns an agtype list comprising all integer values within a range bounded by a start value 'start' and end value 'end'. The returned list only depends on the input arguments: start, end, step.
   
   The **age_unnest()** function expands an array/multiple arrays (possibly of different types)/tsvector to a set of rows. Return value depends only on the input arguments.
   
   These should be IMMUTABLE because:
   • No database lookup or modification required for these functions. 
   • Guaranteed to return the same results given the same arguments forever so they can be pre-evaluated.
   Hence they should be IMMUTABLE functions.


-- 
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


[GitHub] [age] JoshInnis merged pull request #418: Changed the volatility category of the List functions age_range() and age_unnest() from STABLE to IMMUTABLE..

Posted by GitBox <gi...@apache.org>.
JoshInnis merged PR #418:
URL: https://github.com/apache/age/pull/418


-- 
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