Re: inheritance

Поиск
Список
Период
Сортировка
От Pablo Dejuan
Тема Re: inheritance
Дата
Msg-id 3F0C4C7F.3020700@ucu.edu.uy
обсуждение исходный текст
Ответ на Re: inheritance  (Jake Stride <nsuk@users.sourceforge.net>)
Список pgsql-novice
Jake Stride wrote:

>...
>
>As to duplicate keys, you can recreate the primary key in each inherited
>table. Also shouldn't you be updating in the relavent table?
>
>
>
Hello, I don't really get the idea of inheritance, what's 'recreating' a
primary key?
Let's say CITIES has as pk CITY_NUMBER as Serial.
How do you recreate the primary key in CAPITALS?
 Would you create a integer 'pointing' the sequence of CITY_NUMBER?

T.I.A.

Pablo




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

Предыдущее
От: Jake Stride
Дата:
Сообщение: Re: inheritance
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: inheritance