Rikard Pavelic <rikard.pavelic@xxxxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general