Re: Restore a especific function

From: Thomas F(dot)O'Connell <tfo(at)sitening(dot)com>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: pgsql-general(at)postgresql(dot)org, Josué Maldonado <josue(at)lamundial(dot)hn>
Subject: Re: Restore a especific function
Date: 2004-09-24 03:47:55
Message-ID: 848EC7DE-0DDC-11D9-821C-000D93AE0944@sitening.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

There's also pg_restore -P. See:

http://www.postgresql.org/docs/7.4/static/app-pgrestore.html

-tfo

On Sep 23, 2004, at 7:34 PM, Alvaro Herrera wrote:

> 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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Harris 2004-09-24 04:30:38 Re: data modeler
Previous Message Matthew Hixson 2004-09-24 02:27:16 Re: data modeler