Re: Table inheritance

Поиск
Список
Период
Сортировка
От Zdravko Balorda
Тема Re: Table inheritance
Дата
Msg-id hoi228$2tl5$1@news.hub.org
обсуждение исходный текст
Ответ на Re: Table inheritance  (Alan Hodgson <ahodgson@simkin.ca>)
Ответы Re: Table inheritance  ("Daniel Staal" <DStaal@usa.net>)
Список pgsql-novice
>> A great idea, this inheritance.
>
> It ... doesn't. In fact, it makes them harder, as you need to create them
> and associated indexes on each child table.

Hmm ... But:

SELECT parent_field FROM child_table WHERE child_field = 'something';
does the job. For this one needs foreign key, but if child_table inherits
from parent_table it works without it.

Am I wrong?

Zdravko


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: FW: plpgsql function help
Следующее
От: "L. Loewe"
Дата:
Сообщение: slow plan on join when adding where clause