Thread: export plpgsql function to file

export plpgsql function to file

From
Joseph Syjuco
Date:
how can i export my postgresql function to a file?







Re: export plpgsql function to file

From
Achilleus Mantzios
Date:
On 9 Jul 2002, Joseph Syjuco wrote:

select prosrc from pg_proc where proname='foofunc';

The other way is dumping the database and extracting
afterwards only the create statement of your function

> how can i export my postgresql function to a file?
> 
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 
> 

-- 
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
tel:    +30-10-8981112
fax:    +30-10-8981877
email:  achill@matrix.gatewaynet.com       mantzios@softlab.ece.ntua.gr