Avoid referring to a specific version of the SQL standard except where
authorTom Lane
Fri, 4 Nov 2005 02:56:31 +0000 (02:56 +0000)
committerTom Lane
Fri, 4 Nov 2005 02:56:31 +0000 (02:56 +0000)
necessary, and be careful to refer to the right version where it is
useful to do so.  This partially reverts an ill-considered search and
replace from a few months ago.

doc/src/sgml/array.sgml
doc/src/sgml/ddl.sgml
doc/src/sgml/ecpg.sgml
doc/src/sgml/errcodes.sgml
doc/src/sgml/func.sgml
doc/src/sgml/intro.sgml

index 7c89a7921cc18afacb4d66a1c12795bf65b27125..4b03e1890392605aa481922de7181583692059ac 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Arrays
@@ -63,7 +63,7 @@ CREATE TABLE tictactoe (
  
 
  
-  An alternative syntax, which conforms to the SQL:2003 standard, may
+  An alternative syntax, which conforms to the SQL standard, may
   be used for one-dimensional arrays.
   pay_by_quarter could have been defined
   as:
index 757e5d6183c94218fe01ea595f00e53c821080f0..0461c8b8b2bc57e1d37b2757b1bd6bd916bdfbf1 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Data Definition
@@ -1058,8 +1058,8 @@ CREATE TABLE order_items (
 
   
    PostgreSQL implements table inheritance
-   which can be a useful tool for database designers.  The SQL:2003
-   standard optionally defines type inheritance which differs in many
+   which can be a useful tool for database designers.  SQL:1999 and
+   later define a type inheritance feature, which differs in many
    respects from the features described here.
   
 
@@ -1323,7 +1323,7 @@ WHERE c.altitude > 500 and c.tableoid = p.oid;
    
      In previous versions of PostgreSQL, the
      default behavior was not to include child tables in queries. This was
-     found to be error prone and is also in violation of the SQL:2003
+     found to be error prone and is also in violation of the SQL
      standard. Under the old syntax, to get the sub-tables you append
      * to the table name. For example:
 
@@ -1364,7 +1364,7 @@ SELECT * from cities*;
 
    
     Currently, partitioning is implemented in conjunction with table
-    inheritance only, though using fully SQL:2003 compliant syntax.
+    inheritance only, though using fully SQL compliant syntax.
     Table inheritance allows tables to be split into partitions, and
     constraint exclusion allows partitions to be selectively combined
     as needed to satisfy a particular SELECT
index 10386a67fba522533131162b8d661a037e768060..9b63153f9f4b7db0eb57751f91078a08d8739b1b 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -1145,8 +1145,8 @@ struct
    
     The fields sqlca.sqlstate and
     sqlca.sqlcode are two different schemes that
-    provide error codes.  Both are specified in the SQL standard, but
-    SQLCODE has been marked deprecated in SQL-92
+    provide error codes.  Both are derived from the SQL standard, but
+    SQLCODE has been marked deprecated in the SQL-92
     edition of the standard and has been dropped in later editions.
     Therefore, new applications are strongly encouraged to use
     SQLSTATE.
index f099a0631849cde3f1c3d6e4964f997258b9f473..5f40fdd803f0803d72ece9bb9a415fed342ab980 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  <productname>PostgreSQL</productname> Error Codes
 
 
 Class 02
-No Data — this is also a warning class per SQL:2003
+No Data — this is also a warning class per the SQL standard
 
 
 
index 5c3932dac90d9bdc6cccf022151966c505ca917a..15f32505183aa19d3da11e9ec7deecf11edf77a1 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -2675,8 +2675,9 @@ cast(-44 as bit(12))           111111010100
     There are three separate approaches to pattern matching provided
     by PostgreSQL: the traditional
     SQL LIKE operator, the
-    more recent SIMILAR TO operator (part of 
-    SQL:2003), and POSIX-style regular expressions.
+    more recent SIMILAR TO operator (added in
+    SQL:1999), and POSIX-style regular
+    expressions.
     Additionally, a pattern matching function,
     substring, is available, using either
     SIMILAR TO-style or POSIX-style regular
index 7f5ab401eb8098bb794e3c87f90ccbb3f1a9002d..37c1144affd38c84b671f2efdbe6f46162e442e6 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -98,7 +98,7 @@ $PostgreSQL: pgsql/doc/src/sgml/intro.sgml,v 1.29 2005/04/09 03:52:43 momjian Ex
 
   
    PostgreSQL is an open-source descendant
-   of this original Berkeley code.  It supports a large part of the SQL:2003
+   of this original Berkeley code.  It supports a large part of the SQL
    standard and offers many modern features: