inheritance and table

Поиск
Список
Период
Сортировка
От nik600
Тема inheritance and table
Дата
Msg-id 9469c3170606260459j733ecd8j5357805e46f9f862@mail.gmail.com
обсуждение исходный текст
Ответы Re: inheritance and table  (Richard Broersma Jr <rabroersma@yahoo.com>)
Re: inheritance and table  (Erik Jones <erik@myemma.com>)
Re: inheritance and table  (arie nugraha <dicarve@gmail.com>)
Список pgsql-general
hi

i don't have understand how works inheritance of tables...

if table B inherits from table A

- A and B must share primary keys?

- if i isert record in B the record is replaced in A ?

can i avoid this?

i would like to have this scenario:

table A

table B inheridts from A
table C inheridts from A

if i insert a record in B it must be insered only in B!
if i insert a record in C it must be insered only in C!

is it possible?

thanks

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

Предыдущее
От: "pajai"
Дата:
Сообщение: limit over attribute size if index over it exists
Следующее
От: Dylan Hansen
Дата:
Сообщение: Re: auto-vacuum & Negative "anl" Values