"Vishal Kashyap @ [Sai Hertz And Control Systems]" <vishalonlist@gmail.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