Re: inheritance

From: Pablo Dejuan <pdejuan(at)ucu(dot)edu(dot)uy>
To: Jake Stride <nsuk(at)users(dot)sourceforge(dot)net>
Cc: Dmitry Tkach <dmitry(at)openratings(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: inheritance
Date: 2003-07-09 17:10:23
Message-ID: 3F0C4C7F.3020700@ucu.edu.uy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jake Stride 2003-07-09 17:10:47 Re: inheritance
Previous Message Ben Clewett 2003-07-09 16:56:12 Re: inheritance