Обсуждение: export plpgsql function to file

Поиск
Список
Период
Сортировка

export plpgsql function to file

От
Joseph Syjuco
Дата:
how can i export my postgresql function to a file?







Re: export plpgsql function to file

От
Achilleus Mantzios
Дата:
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