Re: [HACKERS] Foreign Key bug -- 7.4b4

2003-11-07 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > This this a new TODO? No, it's already there, in multiple guises even. o Fix problems with complex temporary table creation/destruction without using PL/PgSQL EXECUTE, needs cache prevention/invalidation * Flush cached query plans whe

Re: [HACKERS] Foreign Key bug -- 7.4b4

2003-11-07 Thread Bruce Momjian
This this a new TODO? --- Jan Wieck wrote: > Gaetano Mendola wrote: > > > Bruce Momjian wrote: > > > >> I can confirm this bug in CVS. > > Dropping the pkey from table b in fact drops the unique index from it. > The SPI

Re: [HACKERS] Foreign Key bug -- 7.4b4

2003-10-27 Thread Jan Wieck
Gaetano Mendola wrote: Bruce Momjian wrote: I can confirm this bug in CVS. Dropping the pkey from table b in fact drops the unique index from it. The SPI plan cached to check if a row deleted from table a is still referenced from table b "can" (and in your case does) use an index scan on table

Re: [HACKERS] Foreign Key bug -- 7.4b4

2003-10-26 Thread Gaetano Mendola
Bruce Momjian wrote: I can confirm this bug in CVS. Something is cached, if you quit your psql session after droping the constraint, and you start another psql session the problem disappear. Regards Gaetano Mendola ---(end of broadcast)--- TIP 2: y

Re: [HACKERS] Foreign Key bug -- 7.4b4

2003-10-23 Thread Bruce Momjian
I can confirm this bug in CVS. --- Rod Taylor wrote: -- Start of PGP signed section. > May have posted this earlier... > > It would seem that caching the plans for foreign keys has some unwanted > side effects. > > > tes

[HACKERS] Foreign Key bug -- 7.4b4

2003-10-10 Thread Rod Taylor
May have posted this earlier... It would seem that caching the plans for foreign keys has some unwanted side effects. test=# select version(); version PostgreSQL 7.4beta4 on i386-portbld-fr