Re: How to add an INHERITS to an already populated table

Поиск
Список
Период
Сортировка
Искать
От
Oleg Bartunov
Тема
Re: How to add an INHERITS to an already populated table
Дата
в 09:34:03
Msg-id
Pine.GSO.4.62.0505311630390.16737@ra.sai.msu.su
Ответ на
Список
Дерево обсуждения
How to add an INHERITS to an already populated table ? David Pradier <dpradier@apartia.fr>
Re: How to add an INHERITS to an already populated table Richard Huxton <dev@archonet.com>
Re: How to add an INHERITS to an already populated table Oleg Bartunov <oleg@sai.msu.su>
Re: How to add an INHERITS to an already populated table Oleg Bartunov <oleg@sai.msu.su>
Re: How to add an INHERITS to an already populated table David Pradier <dpradier@apartia.fr>
Re: How to add an INHERITS to an already populated table Alvaro Herrera <alvherre@surnet.cl>
Re: How to add an INHERITS to an already populated table David Pradier <dpradier@apartia.fr>
look on pg_inherits table and pg_class.relhassubclass.
More info http://www.pgsql.ru/db/mw/msg.html?mid=2044343


On Tue, 31 May 2005, Richard Huxton wrote:

> David Pradier wrote:
>> Hi everybody,
>> 
>> is it possible to add some inheritance lively, without doing a
>> dump/restore ?
>
> Not AFAIK. Easiest solution is probably to script some ALTER TABLE ADD COLUMN 
> commands.
>
>

 	Regards,
 		Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
В списке pgsql-general по дате отправления
От: Timothy Perrigo
Дата:
От: Oleg Bartunov
Дата:
FAQ