mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08: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">
|
||||
<title>SQL Syntax</title>
|
||||
@ -1748,7 +1748,7 @@ SELECT ... WHERE CASE WHEN x <> 0 THEN y/x > 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 > 1.5*x</> instead.)
|
||||
</para>
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user