pg_dump and schemas

From: Rusty Conover <rconover(at)infogears(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_dump and schemas
Date: 2008-04-04 19:42:36
Message-ID: 97F83353-CDC3-4945-8A6F-FD8CC736C24F@infogears.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

Is there a way to pass a parameter to pg_dump that would make the
produced dump be loaded into a different schema rather then the one it
is being dumped from? Basically be able to say dump out of public,
but write the dump so its restored to say "test1".

Thanks,

Rusty
--
Rusty Conover
InfoGears Inc.
http://www.infogears.com

Browse pgsql-general by date

  From Date Subject
Next Message Andreas 'ads' Scherbaum 2008-04-04 19:47:18 Re: creating a temp table in a function
Previous Message Bhat, Suma 2008-04-04 19:16:04 Re: Upgrading from 8.2.0 to 8.3.1