Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8272fc3

Browse files
committed
Comment-out documentation for IS OF because it doesn't conform to the
ISO SQL behavior. Backpatch removal to 8.2.X.
1 parent 28b96f2 commit 8272fc3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/src/sgml/func.sgml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.366 2007/02/20 00:25:05 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.367 2007/02/20 14:04:50 momjian Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -412,6 +412,7 @@
412412
expression must be of Boolean type.
413413
</para>
414414

415+
<!-- IS OF does not conform to the ISO SQL behavior, so it is undocumented here
415416
<para>
416417
<indexterm>
417418
<primary>IS OF</primary>
@@ -427,6 +428,9 @@
427428
</synopsis>
428429
They return a boolean value based on whether the expression's data
429430
type is one of the listed data types.
431+
</para>
432+
-->
433+
430434
</sect1>
431435

432436
<sect1 id="functions-math">

doc/src/sgml/syntax.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.116 2007/02/20 00:25:05 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.117 2007/02/20 14:04:50 momjian Exp $ -->
22

33
<chapter id="sql-syntax">
44
<title>SQL Syntax</title>
@@ -847,8 +847,7 @@ SELECT (5 !) - 6;
847847
<row>
848848
<entry><token>IS</token></entry>
849849
<entry></entry>
850-
<entry><literal>IS TRUE</>, <literal>IS FALSE</>, <literal>IS
851-
UNKNOWN</>, <literal>IS NULL</>, <literal>IS OF</></entry>
850+
<entry><literal>IS TRUE</>, <literal>IS FALSE</>, <literal>IS UNKNOWN</>, <literal>IS NULL</></entry>
852851
</row>
853852

854853
<row>

0 commit comments

Comments
 (0)