Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d53f7cf1
Commit
d53f7cf1
authored
Jun 26, 2013
by
Noah Misch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document effect of constant folding on CASE.
Back-patch to all supported versions. Laurenz Albe
parent
5f538ad0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+10
-0
No files found.
doc/src/sgml/func.sgml
View file @
d53f7cf1
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment