Re: pg_restore : change schema

Поиск
Список
Период
Сортировка
От Christophe Dore
Тема Re: pg_restore : change schema
Дата
Msg-id 30B673D7B5844B4394E188D9FFAEF0990160F9E7@mx01.corp.castsoftware.com
обсуждение исходный текст
Ответ на Re: pg_restore : change schema  (Francisco Reyes <lists@stringsutils.com>)
Список pgsql-admin
Well, that would work if the schema, when restored, is free. If not, you'd like to set the schema name in which you
restorebefore restoring. 

When you use Oracle, you can, using exp/imp, change the schema you restore in by setting properly the program
arguments.I understand that this is not possible with postgres, and this would be a nice feature. 

Regards

--

Christophe Doré

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Francisco Reyes
Sent: jeudi 1 avril 2010 22:20
To: Julio Leyva
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] pg_restore : change schema

Julio Leyva writes:

> What about  alter schema  ?

How would that help?

If I understand correctly, the original poster is trying to do something
like:

Source DB
schema1.table1

And restore it to
schema2.table1

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

В списке pgsql-admin по дате отправления:

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: pg_restore : change schema
Следующее
От: "Gnanakumar"
Дата:
Сообщение: Database clone stuck in the middle