1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.293 2004/08/30 00:33:52 tgl Exp $
3
3
-->
4
4
5
5
<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
327
328
328
<listitem>
329
329
<para>
330
- Syntax checking of array input processing has been tighened up
330
+ Syntax checking of array input values has been tightened up
331
331
considerably. Junk that was previously allowed in odd places with
332
- odd results now causes an ERROR. Also changed behavior with respect
333
- to whitespace surrounding array elements; trailing whitespace is now
334
- ignored as well as leading whitespace (which has always been ignored).
332
+ odd results now causes an ERROR. Empty-string element values must
333
+ now be written as <literal>""</>, rather than writing nothing.
334
+ Also changed behavior with respect to whitespace surrounding array
335
+ elements: trailing whitespace is now ignored, for symmetry with leading
336
+ whitespace (which has always been ignored).
335
337
</para>
336
338
</listitem>
337
339
</itemizedlist>
@@ -1186,7 +1188,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian
1186
1188
1187
1189
<listitem>
1188
1190
<para>
1189
- Reject non-rectangular array literals as erroneous (Joe)
1191
+ Reject non-rectangular array values as erroneous (Joe)
1190
1192
</para>
1191
1193
<para>
1192
1194
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
1198
1197
1199
<listitem>
1198
1200
<para>
1199
- Syntax checking of array input processing considerably tighened up (Joe)
1201
+ Syntax checking of array input values considerably tightened up (Joe)
1200
1202
</para>
1201
1203
<para>
1202
1204
Junk that was previously allowed in odd places with odd results now
1203
- causes an ERROR.
1205
+ causes an ERROR: for example, non-whitespace after the closing
1206
+ right brace.
1207
+ </para>
1208
+ </listitem>
1209
+
1210
+ <listitem>
1211
+ <para>
1212
+ Empty-string array element values must now be written as
1213
+ <literal>""</>, rather than writing nothing (Joe)
1214
+ </para>
1215
+ <para>
1216
+ Formerly, both ways of writing an empty-string element value were
1217
+ allowed, but now a quoted empty string is required. The case where
1218
+ nothing at all appears will probably be taken over to mean a NULL
1219
+ element value in some future release.
1204
1220
</para>
1205
1221
</listitem>
1206
1222
@@ -1210,14 +1226,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.292 2004/08/27 02:09:18 momjian
1210
1226
</para>
1211
1227
<para>
1212
1228
Formerly leading whitespace was ignored, but trailing whitespace
1213
- between an element and the delimiter or right brace was significant.
1214
- Now trailing whitespace is also ignored.
1229
+ between an element value and the delimiter or right brace was
1230
+ significant. Now trailing whitespace is also ignored.
1215
1231
</para>
1216
1232
</listitem>
1217
1233
1218
1234
<listitem>
1219
1235
<para>
1220
- Emit array literals with explicit array bounds when lower bound is not one
1236
+ Emit array values with explicit array bounds when lower bound is not one
1221
1237
(Joe)
1222
1238
</para>
1223
1239
</listitem>
0 commit comments