pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Joseph Syjuco <joseph@asti.dost.gov.ph>
Cc: postgres <pgsql-sql@postgresql.org>
Subject: Re: export plpgsql function to file
Date: Tue, 9 Jul 2002 17:30:29 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0207091727530.18222-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <1026238009.7136.3.camel@Askr>

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






view thread (2+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0207091727530.18222-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0207091727530.18222-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0207091727530.18222-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, joseph@asti.dost.gov.ph
  Subject: Re: export plpgsql function to file
  In-Reply-To: <Pine.LNX.4.44.0207091727530.18222-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox