Inherited tables, indexes and serials.

Поиск
Список
Период
Сортировка
От DaVinci
Тема Inherited tables, indexes and serials.
Дата
Msg-id 20001017135356.A1859@fangorn.net
обсуждение исходный текст
Ответы Re: Inherited tables, indexes and serials.  (Nico D <nico@mclink.it>)
Список pgsql-general
Hi all.

When I create a table that inherits a serial field from another, the unique
index is created and used for parent but not for child. OTOH, serial can be
used by both tables. So, child desn't check by default for unique values.

My problem with that is conceptual. Is it normal? Do I must create index for
child? Where is then transparency of object orientedness?.

Greets. Excuse my poor english.

                            David

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

Предыдущее
От: "chris markiewicz"
Дата:
Сообщение: do triggers/procedures run instantly?
Следующее
От: "Warren Flemmer"
Дата:
Сообщение: A better stop