Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)com> writes:
>>Any suggestions? I was toying with the idea that an isarray attribute
>>should be added to pg_type -- thoughts on that?
>
> Don't think you need it to go in that direction: the property of having
> nonzero typelem indicates that something is an array.
But I don't think of the following as arrays, at least not in the same
sense of _text, etc.:
regression=# select typname from pg_type where typelem != 0 and typname
not like '\\_%';
typname
------------
name
int2vector
oidvector
point
lseg
box
line
(7 rows)
Joe