I've stumbled against the inability to put null values within an array.  The
PostgreSQL User's Guide on the subject states in part:

    <<A limitation of the present array implementation is that individual
elements of an array cannot be SQL null values. The entire array can be set
to null, but you can't have an array with some elements null and some not.>>
    http://www.postgresql.org/docs/current/static/arrays.html#AEN5117

Are there any plans to remove that limitation?  An pointers to where in the
code I might start to look if I want to enhance this on my own?

Thanks,

Ezra Epstein



Sun, 21 Dec 2003 00:14:24 -0800
"ezra epstein" <ee_newsgroup_post@prajnait.com>
FEATURE REQUEST: let arrays support null values.
"ezra epstein" <ee_newsgroup_post@prajnait.com> writes:
> I've stumbled against the inability to put null values within an array.
> Are there any plans to remove that limitation?

It's on the TODO list.  I think Joe Conway has made noises about doing
something about it, but I dunno if he expects to get to it during the
7.5 development cycle or not.

> An pointers to where in the code I might start to look if I want to
> enhance this on my own?

The array code is mostly in 

src/include/utils/array.h
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/array_userfuncs.c
src/backend/utils/adt/arrayutils.c

			regards, tom lane

Mon, 22 Dec 2003 12:06:43 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: FEATURE REQUEST: let arrays support null values. 