1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

Comment-out documentation for IS OF because it doesn't conform to the

ISO SQL behavior. Backpatch removal to 8.2.X.
This commit is contained in:
Bruce Momjian 2007-02-20 14:05:02 +00:00
parent d9341ce1b8
commit 7194ab3f55
2 changed files with 3 additions and 20 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.4 2007/02/20 00:25:16 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.5 2007/02/20 14:05:02 momjian Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@ -411,22 +411,6 @@
<literal>IS NOT NULL</literal>, respectively, except that the input
expression must be of Boolean type.
</para>
<para>
<indexterm>
<primary>IS OF</primary>
</indexterm>
<indexterm>
<primary>IS NOT OF</primary>
</indexterm>
It is possible to check the data type of an expression using the
constructs
<synopsis>
<replaceable>expression</replaceable> IS OF (typename, ...)
<replaceable>expression</replaceable> IS NOT OF (typename, ...)
</synopsis>
They return a boolean value based on whether the expression's data
type is one of the listed data types.
</sect1>
<sect1 id="functions-math">

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.111.2.1 2007/02/20 00:25:16 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.111.2.2 2007/02/20 14:05:02 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>