Skip to content
Snippets Groups Projects
Commit 3a7211aa authored by Magnus Hagander's avatar Magnus Hagander
Browse files

Typo pointed out by Erwin Brandstetter. Remove the whole makes it even

better, per JD.
parent 3bf66d6f
No related branches found
No related tags found
No related merge requests found
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.119 2007/06/05 21:31:04 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.120 2007/12/11 18:30:20 mha Exp $ -->
<chapter id="sql-syntax">
<title>SQL Syntax</title>
......@@ -1748,7 +1748,7 @@ SELECT ... WHERE CASE WHEN x &lt;&gt; 0 THEN y/x &gt; 1.5 ELSE false END;
</programlisting>
A <literal>CASE</> construct used in this fashion will defeat optimization
attempts, so it should only be done when necessary. (In this particular
example, it would doubtless be best to sidestep the problem by writing
example, it would be best to sidestep the problem by writing
<literal>y &gt; 1.5*x</> instead.)
</para>
</sect2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment