Re: moving database objects from one schema to other

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: moving database objects from one schema to other
Дата
Msg-id AANLkTim0q1XGQOrzetpf9aDpEs+HWEVa_k7GkNS9t7q_@mail.gmail.com
обсуждение исходный текст
Ответ на moving database objects from one schema to other  (akp geek <akpgeek@gmail.com>)
Ответы Re: moving database objects from one schema to other  (akp geek <akpgeek@gmail.com>)
Список pgsql-general
2010/10/28 akp geek <akpgeek@gmail.com>:
> Hi all -
>               I would like to know if there is any other way of moving
> objects from one schema to other schema? right now the way I am doing it is
> , take the backup and importing whatever the database objects I wanted to
> move, I am doing that using pg_restore. But I am finding it difficult for
> functions, sequences
> Thanks for your help
> Regards

hello

use a statement: ALTER TABLE tablename SET SCHEMA new_schema

Regards

Pavel Stehule

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: moving database objects from one schema to other
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: PostGIS return multiple points