Re: child table doesn't inherit PRIMARY KEY?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: ldm(at)apartia(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: child table doesn't inherit PRIMARY KEY?
Date: 2000-10-02 16:29:34
Message-ID: 200010021629.MAA23736@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general pgsql-hackers

Can someone comment on this?

[ Charset ISO-8859-1 unsupported, converting... ]
> Louis-David Mitterrand writes:
>
> > When creating a child (through CREATE TABLE ... INHERIT (parent)) it
> > seems the child gets all of the parent's contraints _except_ its PRIMARY
> > KEY. Is this normal?
>
> It's kind of a bug.
>
>
> --
> Peter Eisentraut Sernanders v?g 10:115
> peter_e(at)gmx(dot)net 75262 Uppsala
> http://yi.org/peter-e/ Sweden
>
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PASAD 2000-10-03 06:04:51 Query from sindhu
Previous Message Bruce Momjian 2000-10-02 03:25:45 Re: [ANNOUNCE] Announce: Release of PyGreSQL version 3.0

Browse pgsql-general by date

  From Date Subject
Next Message Michael Ansley 2000-10-02 16:40:11 OIDs
Previous Message Efrain Caro 2000-10-02 15:54:54 Re: Methods in pgsql

Browse pgsql-hackers by date

  From Date Subject
Next Message Kovacs Zoltan 2000-10-02 16:39:44 Re: Re: ODBC patch
Previous Message Bruce Momjian 2000-10-02 16:29:00 Re: www.postgresql.org