Re: Foreign key bugs + other problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Foreign key bugs + other problems
Date: 2000-07-11 21:47:58
Message-ID: 200007112147.RAA22814@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

> > Or, you might be able to make a case that you CANNOT shadow a table
> > that is referenced by a constraint (due to the permanent table constraints
> > cannot reference a temporary table restriction). Since the creation of
> > the temp table would break the restriction, it is illegal.
>
> Good point. What does the standard say about it? Can a table,
> referred to by foreign key constraints or referential
> actions, be shadowed by a temp table?

Maybe we should prevent shadowing of a table that is used as a foreign
key.

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

  From Date Subject
Next Message Stephan Szabo 2000-07-11 22:00:10 Re: Foreign key bugs + other problems
Previous Message Tom Lane 2000-07-11 21:39:04 Re: Foreign key bugs (Re: [BUGS] "New" bug?? Serious - crashesbackend.)

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2000-07-11 22:00:10 Re: Foreign key bugs + other problems
Previous Message Tom Lane 2000-07-11 21:39:04 Re: Foreign key bugs (Re: [BUGS] "New" bug?? Serious - crashesbackend.)