Re: RETURNS SETOF table; language 'sql' - Mailing list pgsql-sql

From Tom Lane
Subject Re: RETURNS SETOF table; language 'sql'
Date
Msg-id 18100.1131562181@sss.pgh.pa.us
Whole thread Raw
In response to RETURNS SETOF table; language 'sql'  (Mario Splivalo <mario.splivalo@mobart.hr>)
Responses Re: RETURNS SETOF table; language 'sql'
List pgsql-sql
Mario Splivalo <mario.splivalo@mobart.hr> writes:
> When I do:
> SELECT * FROM get_ads(1004);
> i get:
> ERROR:  query-specified return row and actual function return row do not
> match

The example as given works fine for me in 7.4.9.  Maybe you need an
update, or maybe you're not telling us the whole truth about what you
did.
        regards, tom lane


pgsql-sql by date:

Previous
From: Mario Splivalo
Date:
Subject: RETURNS SETOF table; language 'sql'
Next
From: "Zack Chandler"
Date:
Subject: Re: Design question: Scalability and tens of thousands of