Re: restore a plpgsql function with pg_restore

From: Andreas Kretschmer <andreas_kretschmer(at)despammed(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: restore a plpgsql function with pg_restore
Date: 2004-12-17 16:39:58
Message-ID: uneb92-5s5.ln1@kaufbach.delug.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

begin "miguel lam" <mikkal56(at)hotmail(dot)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° ;-)

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Andreas Kretschmer 2004-12-17 16:52:00 Re: plpgsql errorcodes
Previous Message Jan Wieck 2004-12-17 16:17:37 Re: Lost updates vs resumable connections/transactions