"Vishal Kashyap @ [Sai Hertz And Control Systems]" <vishalonlist(at)gmail(dot)com> writes:
> CREATE OR REPLACE FUNCTION "public"."func_ca" () RETURNS "public"."type_a" AS'
> ...
> somedata =# select sai_func_ca();
> ERROR: cannot display a value of type record
Try
select * from sai_func_ca();
regards, tom lane