drop function probando_for(); 
create or replace function probando_for() returns void as $$
declare
	i integer;
begin
	for i in 1..10 by 2 loop
--	for i in 1..10 loop
		raise notice 'probando %', i;
	end loop;
end;
$$ language 'plpgsql';

select probando_for();