2008/6/4 Tom Lane <tgl@sss.pgh.pa.us>:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>> 2008/6/4 Tom Lane <tgl@sss.pgh.pa.us>:
>>> If you mean an array of nulls, it still has to have an element type.
>
>> I know it - but there was discus about untyped array for empty arrays
>> like ARRAY[]
>
> What's that have to do with array_init? It will not (usually) be trying
> to create an empty array.
>
sparse arrays?? Or it emulation in pg
idealized code:
a = array_set(array[10,10]); // untyped null array
a[10,10] = 'text'; -- now array is typed
without
a = array_set(NULL::text, array[10,10]);
a[10,10] = 'text';
this is only some ideas, I don't plan do it
Pavel
> regards, tom lane
>