Commit 79abc3b0 authored by Tom Lane's avatar Tom Lane

Add explicit note that empty-string array element values now have to

be written with quotes.  Minor copy-editing too.
parent 50742aed
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.293 2004/08/30 00:33:52 tgl Exp $
--> -->
<appendix id="release"> <appendix id="release">
...@@ -327,11 +327,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian ...@@ -327,11 +327,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian
<listitem> <listitem>
<para> <para>
Syntax checking of array input processing has been tighened up Syntax checking of array input values has been tightened up
considerably. Junk that was previously allowed in odd places with considerably. Junk that was previously allowed in odd places with
odd results now causes an ERROR. Also changed behavior with respect odd results now causes an ERROR. Empty-string element values must
to whitespace surrounding array elements; trailing whitespace is now now be written as <literal>""</>, rather than writing nothing.
ignored as well as leading whitespace (which has always been ignored). Also changed behavior with respect to whitespace surrounding array
elements: trailing whitespace is now ignored, for symmetry with leading
whitespace (which has always been ignored).
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
...@@ -1186,7 +1188,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian ...@@ -1186,7 +1188,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian
<listitem> <listitem>
<para> <para>
Reject non-rectangular array literals as erroneous (Joe) Reject non-rectangular array values as erroneous (Joe)
</para> </para>
<para> <para>
Formerly, <literal>array_in</literal> would silently build a Formerly, <literal>array_in</literal> would silently build a
...@@ -1196,11 +1198,25 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian ...@@ -1196,11 +1198,25 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian
<listitem> <listitem>
<para> <para>
Syntax checking of array input processing considerably tighened up (Joe) Syntax checking of array input values considerably tightened up (Joe)
</para> </para>
<para> <para>
Junk that was previously allowed in odd places with odd results now Junk that was previously allowed in odd places with odd results now
causes an ERROR. causes an ERROR: for example, non-whitespace after the closing
right brace.
</para>
</listitem>
<listitem>
<para>
Empty-string array element values must now be written as
<literal>""</>, rather than writing nothing (Joe)
</para>
<para>
Formerly, both ways of writing an empty-string element value were
allowed, but now a quoted empty string is required. The case where
nothing at all appears will probably be taken over to mean a NULL
element value in some future release.
</para> </para>
</listitem> </listitem>
...@@ -1210,14 +1226,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian ...@@ -1210,14 +1226,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian
</para> </para>
<para> <para>
Formerly leading whitespace was ignored, but trailing whitespace Formerly leading whitespace was ignored, but trailing whitespace
between an element and the delimiter or right brace was significant. between an element value and the delimiter or right brace was
Now trailing whitespace is also ignored. significant. Now trailing whitespace is also ignored.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Emit array literals with explicit array bounds when lower bound is not one Emit array values with explicit array bounds when lower bound is not one
(Joe) (Joe)
</para> </para>
</listitem> </listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment