Simon,
> I meant the dimension of {} should be NULL.>
Oh, so array_dims(1, '{}') IS NULL?
I'm not entirely satisfied with that, but other solutions are just as bad.
--Josh