From 3a7211aaf782ce56082720b741440e345cb711c6 Mon Sep 17 00:00:00 2001 From: Magnus Hagander <magnus@hagander.net> Date: Tue, 11 Dec 2007 18:30:20 +0000 Subject: [PATCH] Typo pointed out by Erwin Brandstetter. Remove the whole makes it even better, per JD. --- doc/src/sgml/syntax.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index a869cd440aa..c49d81b7f90 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -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> -- GitLab