</para>
<para>
- 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.
<structfield>pay_by_quarter</structfield> could have been defined
as:
<para>
<productname>PostgreSQL</productname> 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.
</para>
<para>
In previous versions of <productname>PostgreSQL</productname>, 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
<literal>*</literal> to the table name. For example:
<programlisting>
<para>
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 <command>SELECT</command>
<para>
The fields <literal>sqlca.sqlstate</literal> and
<literal>sqlca.sqlcode</literal> are two different schemes that
- provide error codes. Both are specified in the SQL standard, but
- <literal>SQLCODE</literal> has been marked deprecated in SQL-92
+ provide error codes. Both are derived from the SQL standard, but
+ <literal>SQLCODE</literal> 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
<literal>SQLSTATE</literal>.
<row>
<entry>Class 02</entry>
-<entry>No Data — this is also a warning class per SQL:2003</entry>
+<entry>No Data — this is also a warning class per the SQL standard</entry>
</row>
<row>
There are three separate approaches to pattern matching provided
by <productname>PostgreSQL</productname>: the traditional
<acronym>SQL</acronym> <function>LIKE</function> operator, the
- more recent <function>SIMILAR TO</function> operator (part of
- SQL:2003), and <acronym>POSIX</acronym>-style regular expressions.
+ more recent <function>SIMILAR TO</function> operator (added in
+ SQL:1999), and <acronym>POSIX</acronym>-style regular
+ expressions.
Additionally, a pattern matching function,
<function>substring</function>, is available, using either
<function>SIMILAR TO</function>-style or POSIX-style regular
<para>
<productname>PostgreSQL</productname> 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:
<itemizedlist spacing="compact">