Re: Foreign key bugs + other problems - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Foreign key bugs + other problems
Date
Msg-id 200007112147.RAA22814@candle.pha.pa.us
Whole thread Raw
In response to Re: Foreign key bugs + other problems  (JanWieck@t-online.de (Jan Wieck))
Responses Re: Foreign key bugs + other problems  (JanWieck@t-online.de (Jan Wieck))
List 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Foreign key bugs (Re: [BUGS] "New" bug?? Serious - crashesbackend.)
Next
From: "Stephan Szabo"
Date:
Subject: Re: Foreign key bugs + other problems