Re: export plpgsql function to file

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: Joseph Syjuco <joseph(at)asti(dot)dost(dot)gov(dot)ph>
Cc: postgres <pgsql-sql(at)postgresql(dot)org>
Subject: Re: export plpgsql function to file
Date: 2002-07-09 14:30:29
Message-ID: Pine.LNX.4.44.0207091727530.18222-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)postgresql(dot)org)
>
>

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tod McQuillin 2002-07-09 14:41:23 Re: is there a way to get hh:mm:ss given seconds
Previous Message Kristian Eide 2002-07-09 13:41:43 Re: Rule WHERE condition problem