Re: ALTER TABLE schema SCHEMA TO new_schema?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: ALTER TABLE schema SCHEMA TO new_schema?
Дата
Msg-id 014501c2996e$dda49bc0$6500a8c0@internal
обсуждение исходный текст
Ответ на ALTER TABLE schema SCHEMA TO new_schema?  (Joe Conway <mail@joeconway.com>)
Ответы Re: ALTER TABLE schema SCHEMA TO new_schema?  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
> > I was thinking more along the lines of ALTER TABLE a.b RENAME TO x.y
> >
> > I don't see anything in the SQL spec about this; anyone know what
> > precedent is in Oracle or other DBMSes?
>
> Good question. I can't find anything in the Oracle docs indicating it is
even
> possible. We should probably just go with your suggestion. Anything else
> beyond the relnamespace and pg_depend entries that need to be dealt with?

What about sequences for serial columns?  What about views or types that
depend on the table?

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ExecMakeTableFunctionResult vs. pre-evaluated functions
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: tsearch thoughts