create or replace function assignmany() returns int as
$$
declare
   id int; ret int ;
   id1 int; id2 int; id3 int;
   counter int = 0;
begin

   FOR counter IN 1..1800000 LOOP
      id = 0; id = 0; id1 = 0;
      id2 = 0; id3 = 0; id1 = 0; id2 = 0;
      id3 = 0; id = 0; id = 0; id1 = 0;
      id2 = 0; id3 = 0; id1 = 0; id2 = 0;
      id3 = 0;
   END LOOP;

   return ret;
end
$$ language plpgsql;

