do $$ begin for counter in 1..1000000 loop execute moninsert(randname());end loop;end;$$; ERREUR: la fonction moninsert(character varying) n'existe pas someone can explain ?
From the pl/pgsql docs:
"The PL/pgSQL EXECUTE statement is not related to the EXECUTE SQL statement supported by the PostgreSQL server. The server's EXECUTE statement cannot be used directly within PL/pgSQL functions (and is not needed)."