Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group