We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6afc4 commit 8356d94Copy full SHA for 8356d94
doc/src/sgml/func.sgml
@@ -9981,6 +9981,16 @@ SELECT a,
9981
SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END;
9982
</programlisting>
9983
</para>
9984
+
9985
+ <note>
9986
+ <para>
9987
+ As described in <xref linkend="xfunc-volatility">, functions and
9988
+ operators marked <literal>IMMUTABLE</literal> can be evaluated when
9989
+ the query is planned rather than when it is executed. This means
9990
+ that constant parts of a subexpression that is not evaluated during
9991
+ query execution might still be evaluated during query planning.
9992
+ </para>
9993
+ </note>
9994
</sect2>
9995
9996
<sect2 id="functions-coalesce-nvl-ifnull">
0 commit comments