On Tue, Mar 8, 2011 at 12:49, Matyas Novak <lo...@centrum.cz> wrote:
> Bug reference:      5920
>
> create or replace function f2 () returns void volatile language sql as
> $$
>  select f1(tmp) from (values ('aa'), ('bb')) _tmp(tmp);
> $$;
> select f2();
>
> As a result, only one row appears in table a, although two should be
> there...

It should be not a bug.
You probably need to define f2 as "returns SETOF void" function.

-- 
Itagaki Takahiro

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to