From 8272fc3f7bef43fe0a07913d17ef4ebec82f9d16 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Tue, 20 Feb 2007 14:04:50 +0000 Subject: [PATCH] Comment-out documentation for IS OF because it doesn't conform to the ISO SQL behavior. Backpatch removal to 8.2.X. --- doc/src/sgml/func.sgml | 6 +++++- doc/src/sgml/syntax.sgml | 5 ++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 45b70621d7a..131b33f2152 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.366 2007/02/20 00:25:05 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.367 2007/02/20 14:04:50 momjian Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -412,6 +412,7 @@ expression must be of Boolean type. </para> +<!-- IS OF does not conform to the ISO SQL behavior, so it is undocumented here <para> <indexterm> <primary>IS OF</primary> @@ -427,6 +428,9 @@ </synopsis> They return a boolean value based on whether the expression's data type is one of the listed data types. + </para> +--> + </sect1> <sect1 id="functions-math"> diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index a9bd06a03ee..7bb9c669820 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.116 2007/02/20 00:25:05 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.117 2007/02/20 14:04:50 momjian Exp $ --> <chapter id="sql-syntax"> <title>SQL Syntax</title> @@ -847,8 +847,7 @@ SELECT (5 !) - 6; <row> <entry><token>IS</token></entry> <entry></entry> - <entry><literal>IS TRUE</>, <literal>IS FALSE</>, <literal>IS - UNKNOWN</>, <literal>IS NULL</>, <literal>IS OF</></entry> + <entry><literal>IS TRUE</>, <literal>IS FALSE</>, <literal>IS UNKNOWN</>, <literal>IS NULL</></entry> </row> <row> -- GitLab