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 [EMAIL PROTECTED] http://funkturm.homeip.net/~peter
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html