Re: Somewhat happier alter table add <check table constraint>

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Somewhat happier alter table add <check table constraint>
Date: 2000-07-14 21:24:06
Message-ID: 200007142124.RAA11637@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Would you resumit this as a context diff, diff -c. Thanks. I will
apply it as soon as I receive it.

>
> This should be a slighly more complete patch for commands/command.c
> AlterTableAddConstraint. The major changes from the last patch
> are that it should hopefully check for references to temp tables
> (not in the shadow case, but at defination time) from permanent tables in
> foreign keys and refuse them and that it doesn't allow the table(s)
> being constrained to be views (because those cases don't currently
> work).
>
> Stephan Szabo
> sszabo(at)bigpanda(dot)com
Content-Description:

[ Attachment, skipping... ]

--
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-patches by date

  From Date Subject
Next Message Stephan Szabo 2000-07-15 06:33:14 alter table patch
Previous Message Bruce Momjian 2000-07-14 21:09:09 Re: PgAccess schema-diagram cleanup