pgsql/src/backend/utils/adt (arrayfuncs.c)

From: Tom Lane <tgl>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/utils/adt (arrayfuncs.c)
Date: 2000-07-23 01:35:58
Message-ID: 200007230135.e6N1Zwu36870@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2000-07-23 01:35:59 pgsql/src/backend/executor (execQual.c)
Previous Message Peter Eisentraut - PostgreSQL 2000-07-22 14:49:02 pgsql/src/backend/storage/ipc (ipc.c)