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: 2001-01-19 04:57:07
Message-ID: 200101190457.XAA13895@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general pgsql-hackers

Does this bug still exist?

[ 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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tibor Laszlo 2001-01-19 10:24:18 Re: pl/pgSQL & transaction
Previous Message Orland A. Cajilig 2001-01-19 03:26:27 More Details

Browse pgsql-general by date

  From Date Subject
Next Message Konstantinos Agouros 2001-01-19 06:54:56 Re: Performance of a single (big) select and Multiprocessor Machines
Previous Message Tom Lane 2001-01-19 04:55:02 Re: Problems building 7.1beta3 on WinNT under cygwin

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-01-19 05:14:22 Re: Standards URL's
Previous Message Bruce Momjian 2001-01-19 04:54:52 Standards URL's