Re: How to completely move a table to another schema?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to completely move a table to another schema?
Дата
Msg-id 6768.1071072736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to completely move a table to another schema?  (Chris Travers <chris@travelamericas.com>)
Список pgsql-sql
Chris Travers <chris@travelamericas.com> writes:
> I have a function which moves a table from one schema to another by
> updating the relnamespace field of pg_class:                                                    
> Am I missing anything?

pg_constraint entries related to the table.
Also you need to recurse for each index of the table.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to specify the beginning of the month in Postgres SQL syntax?
Следующее
От: Jodi Kanter
Дата:
Сообщение: picking max from list