Excerpts from Alejandro Carrillo's message of lun may 07 10:46:34 -0400 2012:
> Obtiene el codigo de una funcion a partir del nombre y esquema:
>
> select pg_get_functiondef((select p.oid from pg_namespace n, pg_proc p
> where n.oid = p.pronamespace and p.proname = 'get_clientesborradofechas' and n.nspname ='accesobd')) ;
O también \df+
select pg_get_functiondef('accesobd.getclientesborradofechas'::regproc)
--
Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>