5 ms·
No it could not have been for copy propagation to be valid. It had to be a local except under some very special conditions.
by wbl 5y ago
No it could not have been for copy propagation to be valid. It had to be a local except under some very special conditions.
- mjevans 5y agoHow about circumstances such as opting in to a semantically new version of C? #ifndef __CC_VOLATILE_FUNCTIONS /\* No volatile function support, remove code */ #define VOLFUNC #else /* This compiler supports volatile functions. Only volatile functions may cause external side effects without likely bugs. */ #define VOLFUNC volatile #endif https://www.postgresql.org/docs/current/xfunc-volatility.html https://www.postgresql.org/docs/current/xfunc-volatility.htm... Similarly stable functions could have results cached. You might also note that PostgreSQL assumes any undeclared function is volatile.