2018-05-17 11:32 GMT+02:00 Pavel Stehule :
> Hi
>
> just for curiosity - I tested simple script
>
> postgres=# do
> $$
> declare s bigint = 0;
> begin
> for i in 1..10 loop
> s := s + i;
> end loop;
> raise notice '%', s;
> end;
> $$;
>
> to see a overhead of some components
>
>
Hi
just for curiosity - I tested simple script
postgres=# do
$$
declare s bigint = 0;
begin
for i in 1..10 loop
s := s + i;
end loop;
raise notice '%', s;
end;
$$;
to see a overhead of some components
5,72% plpgsql.so [.] exec_assign_value
5,