mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Typo pointed out by Erwin Brandstetter. Remove the whole makes it even
better, per JD.
This commit is contained in:
parent
3bf66d6f1c
commit
3a7211aaf7
@ -1,4 +1,4 @@
|
|||||||
<!-- $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">
|
<chapter id="sql-syntax">
|
||||||
<title>SQL Syntax</title>
|
<title>SQL Syntax</title>
|
||||||
@ -1748,7 +1748,7 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 1.5 ELSE false END;
|
|||||||
</programlisting>
|
</programlisting>
|
||||||
A <literal>CASE</> construct used in this fashion will defeat optimization
|
A <literal>CASE</> construct used in this fashion will defeat optimization
|
||||||
attempts, so it should only be done when necessary. (In this particular
|
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 > 1.5*x</> instead.)
|
<literal>y > 1.5*x</> instead.)
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user