Re: SQL3 UNDER

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: SQL3 UNDER
Дата
Msg-id 392A27EA.7182B07B@tm.ee
обсуждение исходный текст
Ответ на SQL3 UNDER  (Chris Bitmead <chris@bitmead.com>)
Список pgsql-hackers
Chris Bitmead wrote:
> 
> "Robert B. Easter" wrote:
> > This contrasts with UNDER, where a subtable does maintain a link to its
> > supertable in order to cascade inserts etc to the supertable for the subrow it
> > inherited.
> 
> What you have just described for the behaviour of UNDER (as opposed to
> implementation) is just how INHERITS works now. i.e. you can't destroy
> the parent unless there are no children.

We could supply DROP TABLE parent CASCADE; syntax to destroy bot parent and
all 
inherited tables.

---------------------
Hannu


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

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: SQL3 UNDER
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: A test to add to the crashme test