diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 4c5af4b83c870410b12face9da582cbcd0fe99d1..8cf538556168f631cee021412fb3834ff226d40f 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -10563,6 +10563,16 @@ SELECT a, SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END; </programlisting> </para> + + <note> + <para> + As described in <xref linkend="xfunc-volatility">, functions and + operators marked <literal>IMMUTABLE</literal> can be evaluated when + the query is planned rather than when it is executed. This means + that constant parts of a subexpression that is not evaluated during + query execution might still be evaluated during query planning. + </para> + </note> </sect2> <sect2 id="functions-coalesce-nvl-ifnull">