Re: Arrays: missing/skipped elements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Arrays: missing/skipped elements
Date: 2002-12-03 07:20:56
Message-ID: 21101.1038900056@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Crawford <scrawford(at)pinpointresearch(dot)com> writes:
> I know from the docs that array elements can't have a null value. It appears,
> therefore, that Postgres fills in missing elements with zero-length strings,
> the int or numeric value zero, etc. appropriate to the data type. Is my
> interpretation correct and is this documented/likely to continue in future
> versions?

One would hope that we'll support null elements in arrays, sooner or
later. I'm not really sure what the textual representation for that
should be, however.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-12-03 07:33:28 Re: 7.3 on OS X HOWTO
Previous Message Tom Lane 2002-12-03 06:57:59 Re: 7.4 Wishlist