Mario Splivalo <mario(dot)splivalo(at)mobart(dot)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