Rikard Pavelic <rikard.pavelic@zg.htnet.hr> writes:
> For basic query:
> select t from t
> result is of type t.
yeah ...
> If I query:
> select sq from (select t from t) sq;
> result is of type record.
yeah ... it's a record containing a single field of type t.
regards, tom lane