Moving tables between schemas

Поиск
Список
Период
Сортировка
От m.e.bruche@lse.ac.uk
Тема Moving tables between schemas
Дата
Msg-id 1091183218.7080.14.camel@localhost
обсуждение исходный текст
Ответы Re: Moving tables between schemas  (Shridhar Daithankar <shridhar@frodo.hserus.net>)
Re: Moving tables between schemas  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
Hi,

In my database, I created a lot of tables before I found out about
schemas. It's a mess!

Suppose I want to get organised, and create a couple of schemas. How do
I move existing tables into my newly created schemas?

e.g.

public.table1 -> mynewschema1.table1
public.table2 -> mynewschema2.table2

?

Thanks.

Max


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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Using view
Следующее
От: Nilabhra Banerjee
Дата:
Сообщение: Postgresql and OS cluster