Re: DROP COLUMN misbehaviour with multiple inheritance

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: DROP COLUMN misbehaviour with multiple inheritance
Дата
Msg-id
Pine.LNX.4.44.0209132045290.17056-100000@cm-lcon1-46-187.cm.vtr.net
Ответ на
Список
Дерево обсуждения
DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance "Matthew T. OConnor" <matthew@zeut.net>
Re: DROP COLUMN misbehaviour with multiple inheritance "scott.marlowe" <scott.marlowe@ihs.com>
Re: DROP COLUMN misbehaviour with multiple inheritance "scott.marlowe" <scott.marlowe@ihs.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Bruce Momjian <pgman@candle.pha.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: DROP COLUMN misbehaviour with multiple inheritance Bruce Momjian <pgman@candle.pha.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Hannu Krosing <hannu@tm.ee>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Bruce Momjian <pgman@candle.pha.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Tom Lane <tgl@sss.pgh.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance Bruce Momjian <pgman@candle.pha.pa.us>
Re: DROP COLUMN misbehaviour with multiple inheritance "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: DROP COLUMN misbehaviour with multiple inheritance "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: DROP COLUMN misbehaviour with multiple inheritance Neil Conway <neilc@samurai.com>
Re: DROP COLUMN misbehaviour with multiple inheritance Alvaro Herrera <alvherre@atentus.com>
Tom Lane dijo: 

> One corner case is that I think we currently allow
> 
> 	create table p (f1 int);
> 	create table c (f1 int) inherits(p);

In this case, c.f1.attisinherited count is 2; thus when I drop f1 from
p, it is not dropped from c.

Do you have some suggestion on what the name should be?  Clearly
attisinherited is not appropiate.  attinhcount maybe?

The patch submitted does what you describe.  I'm leaving tomorrow and
won't be back until next weekend, so please do the name change yourself
if the patch is to be applied.

-- 
Alvaro Herrera ()
Voy a acabar con todos los humanos / con los humanos yo acabaré
voy a acabar con todos / con todos los humanos acabaré (Bender)


В списке pgsql-hackers по дате отправления
От: Robert E. Bruccoleri
Дата:
Сообщение: Large PostgreSQL databases
От: Alvaro Herrera
Дата:
FAQ