Re: Setting Schema on Restore - Mailing list pgsql-admin

From Tom Lane
Subject Re: Setting Schema on Restore
Date
Msg-id 25524.1291129609@sss.pgh.pa.us
Whole thread Raw
In response to Setting Schema on Restore  (Samuel Stearns <SStearns@internode.com.au>)
Responses Re: Setting Schema on Restore
List pgsql-admin
Samuel Stearns <SStearns@internode.com.au> writes:
> I want to restore into a specific schema.

The only way to do that is to hand-edit the dump script.

If you're feeling brave you could try letting "sed" do it; but
unless the schema name being replaced is pretty unusual, the
risk of false matches seems high.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tomasz Prus
Date:
Subject: locale problem
Next
From: "Kevin Grittner"
Date:
Subject: Re: Postgres service won't start, doesn't log any errors