Tom Lane writes:
> I started working on this, and immediately got a pile of regression test
> failures arising from:
>
> create function rtest_viewfunc1(int4) returns int4 as
> 'select count(*) from rtest_view2 where a = $1'
> language 'sql';
> + ERROR: return type mismatch in function: declared to return integer, returns bigint
Maybe instead of testing for strict equality of the types, test for
compatibility.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter