Re: Restore a especific function - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Restore a especific function
Date
Msg-id 20040924003455.GA26940@dcc.uchile.cl
Whole thread Raw
In response to Restore a especific function  (Josué Maldonado <josue@lamundial.hn>)
Responses Re: Restore a especific function  (Thomas F.O'Connell <tfo@sitening.com>)
List pgsql-general
On Thu, Sep 23, 2004 at 02:57:30PM -0600, Josué Maldonado wrote:

Hola,

> Is there a way to restore a specific function from backup file created
> with pg_dump.

If you used pg_dump -Ft or -Fc, you do it with pg_restore -L/-l.
Otherwise (i.e. plain SQL dump) you have to edit the dump with a text
editor to extract the function definition.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La grandeza es una experiencia transitoria.  Nunca es consistente.
Depende en gran parte de la imaginación humana creadora de mitos"
(Irulan)


pgsql-general by date:

Previous
From: "Verbus M. Counts"
Date:
Subject: FW: Re: ruby-postgresql extension for windows
Next
From: "Ian Harding"
Date:
Subject: Re: need ``row number``