From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] child table doesn't inherit PRIMARY KEY? |
Date: | 2001-01-24 13:44:16 |
Message-ID: | 200101241344.IAA12094@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-general pgsql-hackers |
OK, what do people want to do with this item? Add to TODO list?
Seems making a separat unique constraint would be easy to do and be of
value to most users.
>
> Probably, since I see it in near recent sources (and it affects
> UNIQUE as well. As I remember it, the last discussion on this couldn't
> determine what the correct behavior for unique/primary key constraints
> was in the inheritance case (is it a single unique hierarchy through
> all the tables [would be needed for fk to inheritance trees] or
> separate unique constraints for each table [which would be similar
> to how many people seem to currently use postgres inheritance as a
> shortcut]).
>
> On Thu, 18 Jan 2001, Bruce Momjian wrote:
>
> > 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?
>
>
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-01-24 14:46:48 | Re: [PATCHES] RE: SSL Connections [doc PATCH] |
Previous Message | Bruce Momjian | 2001-01-24 13:06:16 | Re: Mail archive broken again |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-01-24 13:45:44 | Re: [GENERAL] rules on INSERT can't UPDATE new instance? |
Previous Message | Alexander Jerusalem | 2001-01-24 13:38:25 | Re: Re: Re: MySQL has transactions |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-01-24 13:45:44 | Re: [GENERAL] rules on INSERT can't UPDATE new instance? |
Previous Message | Bruce Momjian | 2001-01-24 13:41:38 | Re: PgAccess - small bug? |