"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> I put fill value on end, because it is like default value:
> array_set(array[2,2]);
> array_set(array[2,2], 0);
Huh? That's completely nonsensical ... where will you determine the
type of the array, if you don't have a sample element?
The fact that the fill value is determining the array type is why
it seems important enough to put first.
regards, tom lane