Re: error-free disabling of individual child partition

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: error-free disabling of individual child partition
Дата
Msg-id 87hd37jfzj.fsf@stark.xeocode.com
обсуждение исходный текст
Ответы Re: error-free disabling of individual child partition  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Tom Lane:

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

I think you would have to make INHERITS a reserved word to make that happen:

stark=> create table integer (i integer);
CREATE TABLE
stark=> alter table test add inherits integer;
ALTER TABLE

-- 
greg



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Magic block for modules
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: anoncvs still slow