inherited tables

Поиск
Список
Период
Сортировка
От Verena Ruff
Тема inherited tables
Дата
Msg-id 20314.86.59.55.246.1152452446.squirrel@v2830.vanager.de
обсуждение исходный текст
Ответы Re: inherited tables  (Sean Davis <sdavis2@mail.nih.gov>)
Список pgsql-novice
Hello,

I have some inherited tables, which all share the same primary key, like

table1 with PK id
table2 inherits table1 with PK id
table3 inherits table1 with PK id

where id is a serial.

If I have an id,  is there an easy way to find out in which of these
tables this record is created (was it INSERT INTO table1 or INSERT INTO
table2 or INSERT INTO table3)?
Hope you understood what I intented to say.

Regards,
Verena


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

Предыдущее
От: Laurent FRANCOIS
Дата:
Сообщение: Re: Help!
Следующее
От: Sean Davis
Дата:
Сообщение: Re: inherited tables