knowledge-database (beta)

Current group: pgsql.interfaces.

restore a plpgsql function with pg_restore

restore a plpgsql function with pg_restore  
miguel lam
 Re: restore a plpgsql function with pg_restore  
Andreas Kretschmer
From:miguel lam
Subject:restore a plpgsql function with pg_restore
Date:Thu, 09 Dec 2004 21:10:11 +0000

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

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.latam.msn.com/


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
From:Andreas Kretschmer
Subject:Re: restore a plpgsql function with pg_restore
Date:Fri, 17 Dec 2004 17:39:58 +0100
begin "miguel lam" 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° ;-)
   

Copyright © 2006 knowledge-database   -   All rights reserved