Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group