Effectively I had to create the function externally, I am in the process of migrating from Oracle to Postgresql and I have many cases of encapsulated functions and transactions. Thank you very much for the return. Rossana Ocampos
There is not any help or possibility - this Oracle's functionality is not supported ever. There is not any workaround.