pgsql/src/backend/utils/adt (arrayfuncs.c) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/utils/adt (arrayfuncs.c)
Date
Msg-id 200007230135.e6N1Zwu36870@hub.org
Whole thread Raw
List pgsql-committers
  Date: Saturday, July 22, 2000 @ 21:35:58
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt
     from hub.org:/home/projects/pgsql/tmp/cvs-serv36865/backend/utils/adt

Modified Files:
    arrayfuncs.c

-----------------------------  Log Message  -----------------------------

Further cleanup of array behavior.  Slice assignments to arrays with
varlena elements work now.  Allow assignment to previously-nonexistent
subscript position to extend array, but only for 1-D arrays and only
if adjacent to existing positions (could do more if we had a way to
represent nulls in arrays, but I don't want to tackle that now).
Arrange for assignment of NULL to an array element in UPDATE to be a
no-op, rather than setting the entire array to NULL as it used to.
(Throwing an error would be a reasonable alternative, but it's never
done that...)  Update regress test accordingly.

pgsql-committers by date:

Previous
From: Peter Eisentraut - PostgreSQL
Date:
Subject: pgsql/src/backend/storage/ipc (ipc.c)
Next
From: Tom Lane
Date:
Subject: pgsql/src/test/regress/sql (arrays.sql)