Re: error-free disabling of individual child partition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: error-free disabling of individual child partition
Дата
Msg-id 8849.1148398265@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: error-free disabling of individual child partition  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: error-free disabling of individual child partition  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> Do we need the ALTER keyword? That isn't used anywhere apart from
> manipulating columns. i.e.

> ALTER TABLE childN INHERITS DROP old_parent;
> ALTER TABLE childN INHERITS ADD new_parent;

At that point it seems like it'd read more naturally the other way
round:

ALTER TABLE childN DROP INHERITS old_parent;
ALTER TABLE childN ADD INHERITS new_parent;

although I'm not sure if this would create a parser conflict against
ADD/DROP COLUMN.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: error-free disabling of individual child partition
Следующее
От: Gavin Hamill
Дата:
Сообщение: Re: Further reduction of bufmgr lock contention