Removing a schema

Поиск
Список
Период
Сортировка
От Naz Gassiep
Тема Removing a schema
Дата
Msg-id 46B8017B.3030004@mira.net
обсуждение исходный текст
Ответы Re: Removing a schema
Re: Removing a schema
Список pgsql-general
I'm trying to remove a schema and move all the tables to another schema.
I've manually run alter table on every table to move them, however all
the foreign keys still reference the old schema, and there are too many
to do by hand.

Is there an easy way to update one of the system catalogs to do this? I
want to change every reference of that schema to point to the new one,
and then drop the schema, but not drop any data.

Thanks,
- Naz.

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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Intelligent Database in postgreSQL
Следующее
От: son@raider.co.nz
Дата:
Сообщение: how to detect the backup database every day