why I need col. def. list with setof record? - Mailing list pgsql-hackers

From Pavel Stehule
Subject why I need col. def. list with setof record?
Date
Msg-id Pine.LNX.4.44.0312051455100.8131-100000@kix.fsv.cvut.cz
Whole thread Raw
List pgsql-hackers
Hello
I know so I need to use column definition list when I have SRF 
function without def of own type. But I don't understand why. In my SRF 
function I specify all informations about columns?
 TupleDescInitEntry (tupdesc, 1, "idn", INT4OID, -1, 0, false); TupleDescInitEntry (tupdesc, 2, "idv", VARCHAROID, -1,
0,false);
 

Why I have to duplicate to?

Thank You
Pavel Stehule



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: OpenFTS-perl-0.35 released
Next
From: Michael Wildpaner
Date:
Subject: [BUG/PATCH] backend crashes during authentication if data/global/pg_pwd is empty