pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas_kretschmer@despammed.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: restore a plpgsql function with pg_restore
Date: Fri, 17 Dec 2004 17:39:58 +0100
Message-ID: <uneb92-5s5.ln1@kaufbach.delug.de> (raw)
References: <MC9-F1909mpbCzxh3vt000ba1f6@mc9-f19.hotmail.com>
	<BAY14-F22DF8A8780C47DDB088332C5B70@phx.gbl>

begin  "miguel lam" <mikkal56@hotmail.com> wrote:

> Please somebody tell me if pg_restore can really restore a plpgsql function.

Yes, if the definition of the function is in the dump created with
pg_dump. You can via 'pg_restore test.dump | less' and copy&paste
extract the definition of the function. I hope, you have a dump...



end
Andreas
-- 
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung.   Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org)     GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)



view thread (2+ messages)

Message-ID: <uneb92-5s5.ln1@kaufbach.delug.de>
Permalink:  ../uneb92-5s5.ln1@kaufbach.delug.de/
Also on:    postgresql.org/message-id/uneb92-5s5.ln1@kaufbach.delug.de

 · 

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-interfaces@postgresql.org
  Cc: andreas_kretschmer@despammed.com
  Subject: Re: restore a plpgsql function with pg_restore
  In-Reply-To: <uneb92-5s5.ln1@kaufbach.delug.de>

* 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