Mike Nolan <nolan@gw.tssi.com> writes:
> This doesn't work:
> select myfunc(1,2)[1];
> This does work:
> select (myfunc(1,2)[1];
I suppose you meant
select (myfunc(1,2))[1];
> If that's how it's supposed to work, is that documented somewhere?
http://developer.postgresql.org/docs/postgres/sql-expressions.html#AEN1593
regards, tom lane