Salve a todos,
Estou com um probleminha aqui, preciso colocar uma function dentro de outro
function isso é possivel.
Segue exemplo porém deu erro.
Obrigado pela ajuda
At
Cesat Moraes
CREATE OR REPLACE FUNCTION teste()
RETURNS void AS
$BODY$
BEGIN
SET search_path = xxx;
SET default_tablespace = xxx;
CREATE OR REPLACE FUNCTION FUNC1()
RETURNS void AS
$BODY$
DECLARE
vcount numeric(1);
BEGIN
END;
$BODY$
LANGUAGE 'plpgsql';
select * from FUNC1();
drop function FUNC1();
RETURN;
end; $BODY$
LANGUAGE 'plpgsql' VOLATILE;
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral