Re: Function error - Mailing list pgsql-novice

From Tom Lane
Subject Re: Function error
Date
Msg-id 10642.1098810781@sss.pgh.pa.us
Whole thread Raw
In response to Function error  ("Vishal Kashyap @ [Sai Hertz And Control Systems]" <vishalonlist@gmail.com>)
Responses Re: Function error  ("Vishal Kashyap @ [Sai Hertz And Control Systems]" <vishalonlist@gmail.com>)
List pgsql-novice
"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

pgsql-novice by date:

Previous
From: "Vishal Kashyap @ [Sai Hertz And Control Systems]"
Date:
Subject: Function error
Next
From: "Vishal Kashyap @ [Sai Hertz And Control Systems]"
Date:
Subject: Re: Function error