Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3a7211a

Browse files
committed
Typo pointed out by Erwin Brandstetter. Remove the whole makes it even
better, per JD.
1 parent 3bf66d6 commit 3a7211a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/syntax.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.119 2007/06/05 21:31:04 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.120 2007/12/11 18:30:20 mha Exp $ -->
22

33
<chapter id="sql-syntax">
44
<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;
17481748
</programlisting>
17491749
A <literal>CASE</> construct used in this fashion will defeat optimization
17501750
attempts, so it should only be done when necessary. (In this particular
1751-
example, it would doubtless be best to sidestep the problem by writing
1751+
example, it would be best to sidestep the problem by writing
17521752
<literal>y &gt; 1.5*x</> instead.)
17531753
</para>
17541754
</sect2>

0 commit comments

Comments
 (0)