Index: array.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/array.sgml,v
retrieving revision 1.43
diff -c -c -r1.43 array.sgml
*** array.sgml 6 Feb 2005 20:59:30 -0000 1.43
--- array.sgml 12 Jul 2005 20:31:31 -0000
***************
*** 63,69 ****
! An alternative syntax, which conforms to the SQL:1999 standard, may
be used for one-dimensional arrays.
pay_by_quarter could have been defined
as:
--- 63,69 ----
! An alternative syntax, which conforms to the SQL:2003 standard, may
be used for one-dimensional arrays.
pay_by_quarter could have been defined
as:
Index: ddl.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ddl.sgml,v
retrieving revision 1.41
diff -c -c -r1.41 ddl.sgml
*** ddl.sgml 13 Jun 2005 02:40:01 -0000 1.41
--- ddl.sgml 12 Jul 2005 20:31:33 -0000
***************
*** 1122,1128 ****
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:1999
standard. Under the old syntax, to get the sub-tables you append
* to the table name.
For example
--- 1122,1128 ----
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
standard. Under the old syntax, to get the sub-tables you append
* to the table name.
For example
Index: ecpg.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v
retrieving revision 1.64
diff -c -c -r1.64 ecpg.sgml
*** ecpg.sgml 20 May 2005 12:36:48 -0000 1.64
--- ecpg.sgml 12 Jul 2005 20:31:35 -0000
***************
*** 1146,1153 ****
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 the 1992
! edition of the standard and has been dropped in the 1999 edition.
Therefore, new applications are strongly encouraged to use
SQLSTATE.
--- 1146,1153 ----
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
! edition of the standard and has been dropped in later editions.
Therefore, new applications are strongly encouraged to use
SQLSTATE.
Index: errcodes.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/errcodes.sgml,v
retrieving revision 1.13
diff -c -c -r1.13 errcodes.sgml
*** errcodes.sgml 26 Jun 2005 19:16:04 -0000 1.13
--- errcodes.sgml 12 Jul 2005 20:31:36 -0000
***************
*** 127,133 ****
Class 02
! No Data — this is also a warning class per SQL:1999
--- 127,133 ----
Class 02
! No Data — this is also a warning class per SQL:2003
Index: func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.260
diff -c -c -r1.260 func.sgml
*** func.sgml 26 Jun 2005 22:05:35 -0000 1.260
--- func.sgml 12 Jul 2005 20:31:59 -0000
***************
*** 2515,2522 ****
There are three separate approaches to pattern matching provided
by PostgreSQL: the traditional
SQL LIKE operator, the
! 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
--- 2515,2522 ----
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.
Additionally, a pattern matching function,
substring, is available, using either
SIMILAR TO-style or POSIX-style regular
Index: sql.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/sql.sgml,v
retrieving revision 1.36
diff -c -c -r1.36 sql.sgml
*** sql.sgml 28 Apr 2005 21:47:09 -0000 1.36
--- sql.sgml 12 Jul 2005 20:31:59 -0000
***************
*** 98,105 ****
is under development. It is planned to make SQL
a Turing-complete
language, i.e. all computable queries (e.g. recursive queries) will be
! possible. This is a very complex task and therefore the completion of
! the new standard can not be expected before 1999.
--- 98,104 ----
is under development. It is planned to make SQL
a Turing-complete
language, i.e. all computable queries (e.g. recursive queries) will be
! possible. This has now been completed as SQL:2003.
Index: ref/alter_domain.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/alter_domain.sgml,v
retrieving revision 1.15
diff -c -c -r1.15 alter_domain.sgml
*** ref/alter_domain.sgml 31 May 2005 14:48:47 -0000 1.15
--- ref/alter_domain.sgml 12 Jul 2005 20:31:59 -0000
***************
*** 203,209 ****
Compatibility
! The ALTER DOMAIN statement is compatible with SQL:1999,
except for the OWNER> variant, which is a
PostgreSQL extension.
--- 203,209 ----
Compatibility
! The ALTER DOMAIN statement is compatible with SQL:2003,
except for the OWNER> variant, which is a
PostgreSQL extension.
Index: ref/create_cast.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/create_cast.sgml,v
retrieving revision 1.20
diff -c -c -r1.20 create_cast.sgml
*** ref/create_cast.sgml 13 Dec 2004 18:05:10 -0000 1.20
--- ref/create_cast.sgml 12 Jul 2005 20:31:59 -0000
***************
*** 298,305 ****
Compatibility
! The CREATE CAST command conforms to SQL:1999,
! except that SQL:1999 does not make provisions for binary-compatible
types or extra arguments to implementation functions.
AS IMPLICIT> is a PostgreSQL
extension, too.
--- 298,305 ----
Compatibility
! The CREATE CAST command conforms to SQL:2003,
! except that SQL:2003 does not make provisions for binary-compatible
types or extra arguments to implementation functions.
AS IMPLICIT> is a PostgreSQL
extension, too.
Index: ref/create_function.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v
retrieving revision 1.65
diff -c -c -r1.65 create_function.sgml
*** ref/create_function.sgml 31 Mar 2005 22:45:59 -0000 1.65
--- ref/create_function.sgml 12 Jul 2005 20:31:59 -0000
***************
*** 478,484 ****
Compatibility
! A CREATE FUNCTION command is defined in SQL:1999 and later.
The PostgreSQL version is similar but
not fully compatible. The attributes are not portable, neither are the
different available languages.
--- 478,484 ----
Compatibility
! A CREATE FUNCTION command is defined in SQL:2003.
The PostgreSQL version is similar but
not fully compatible. The attributes are not portable, neither are the
different available languages.
Index: ref/create_table.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v
retrieving revision 1.92
diff -c -c -r1.92 create_table.sgml
*** ref/create_table.sgml 2 Feb 2005 06:35:59 -0000 1.92
--- ref/create_table.sgml 12 Jul 2005 20:32:01 -0000
***************
*** 860,866 ****
The CREATE TABLE command conforms to SQL-92 and
! to a subset of SQL:1999, with exceptions listed below.
--- 860,866 ----
The CREATE TABLE command conforms to SQL-92 and
! to a subset of SQL:2003, with exceptions listed below.
***************
*** 938,945 ****
Multiple inheritance via the INHERITS clause is
a PostgreSQL language extension.
! SQL:1999 (but not SQL-92) defines single inheritance using a
! different syntax and different semantics. SQL:1999-style
inheritance is not yet supported by
PostgreSQL.
--- 938,945 ----
Multiple inheritance via the INHERITS clause is
a PostgreSQL language extension.
! SQL:2003 defines single inheritance using a
! different syntax and different semantics. SQL:2003-style
inheritance is not yet supported by
PostgreSQL.
Index: ref/create_trigger.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v
retrieving revision 1.40
diff -c -c -r1.40 create_trigger.sgml
*** ref/create_trigger.sgml 27 Nov 2004 21:27:07 -0000 1.40
--- ref/create_trigger.sgml 12 Jul 2005 20:32:01 -0000
***************
*** 208,227 ****
The CREATE TRIGGER statement in
PostgreSQL implements a subset of the
! SQL:1999 standard. (There are no provisions for triggers in SQL-92.)
! The following functionality is missing:
! SQL:1999 allows triggers to fire on updates to specific columns
(e.g., AFTER UPDATE OF col1, col2).
! SQL:1999 allows you to define aliases for the old
and new
rows or tables for use in the definition
of the triggered action (e.g., CREATE TRIGGER ... ON
tablename REFERENCING OLD ROW AS somename NEW ROW AS othername
--- 208,226 ----
The CREATE TRIGGER statement in
PostgreSQL implements a subset of the
! SQL:2003 standard. The following functionality is currently missing:
! SQL:2003 allows triggers to fire on updates to specific columns
(e.g., AFTER UPDATE OF col1, col2).
! SQL:2003 allows you to define aliases for the old
and new
rows or tables for use in the definition
of the triggered action (e.g., CREATE TRIGGER ... ON
tablename REFERENCING OLD ROW AS somename NEW ROW AS othername
***************
*** 235,241 ****
PostgreSQL only allows the execution
! of a user-defined function for the triggered action. SQL:1999
allows the execution of a number of other SQL commands, such as
CREATE TABLE as triggered action. This
limitation is not hard to work around by creating a user-defined
--- 234,240 ----
PostgreSQL only allows the execution
! of a user-defined function for the triggered action. SQL:2003
allows the execution of a number of other SQL commands, such as
CREATE TABLE as triggered action. This
limitation is not hard to work around by creating a user-defined
***************
*** 246,252 ****
! SQL:1999 specifies that multiple triggers should be fired in
time-of-creation order. PostgreSQL uses
name order, which was judged more convenient to work with.
--- 245,251 ----
! SQL:2003 specifies that multiple triggers should be fired in
time-of-creation order. PostgreSQL uses
name order, which was judged more convenient to work with.
Index: ref/create_type.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v
retrieving revision 1.55
diff -c -c -r1.55 create_type.sgml
*** ref/create_type.sgml 1 May 2005 18:56:17 -0000 1.55
--- ref/create_type.sgml 12 Jul 2005 20:32:02 -0000
***************
*** 532,538 ****
This CREATE TYPE command is a
PostgreSQL extension. There is a
! CREATE TYPE statement in SQL:1999 and later that is rather
different in detail.
--- 532,538 ----
This CREATE TYPE command is a
PostgreSQL extension. There is a
! CREATE TYPE statement in SQL:2003 that is rather
different in detail.
Index: ref/select.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v
retrieving revision 1.87
diff -c -c -r1.87 select.sgml
*** ref/select.sgml 8 May 2005 03:08:05 -0000 1.87
--- ref/select.sgml 12 Jul 2005 20:32:03 -0000
***************
*** 1082,1088 ****
Namespace Available to GROUP BY and ORDER BY
! In the SQL-92 standard, an ORDER BY clause may
only use result column names or numbers, while a GROUP
BY clause may only use expressions based on input column
names. PostgreSQL extends each of
--- 1082,1088 ----
Namespace Available to GROUP BY and ORDER BY
! In the SQL:2003 standard, an ORDER BY clause may
only use result column names or numbers, while a GROUP
BY clause may only use expressions based on input column
names. PostgreSQL extends each of
***************
*** 1095,1105 ****
! SQL:1999 uses a slightly different definition which is not entirely upward
! compatible
! with SQL-92. In most cases, however, PostgreSQL
will interpret an ORDER BY or GROUP
! BY expression the same way SQL:1999 does.
--- 1095,1105 ----
! SQL:2003 uses a slightly different definition which is not entirely upward
! compatible with SQL-92.
! In most cases, however, PostgreSQL
will interpret an ORDER BY or GROUP
! BY expression the same way SQL:2003 does.