postgresql/src/backend/optimizer/prep
Tom Lane d97c9b3662 Apply fixes for problems with dropped columns whose types have also been
dropped.  The simplest fix for INSERT/UPDATE cases turns out to be for
preptlist.c to insert NULLs of a known-good type (I used INT4) rather
than making them match the deleted column's type.  Since the representation
of NULL is actually datatype-independent, this should work fine.
I also re-reverted the patch to disable the use_physical_tlist optimization
in the presence of dropped columns.  It still doesn't look worth the
trouble to be smarter, if there are no other bugs to fix.
Added a regression test to catch future problems in this area.
2003-05-12 00:17:03 +00:00
..
Makefile IN clauses appearing at top level of WHERE can now be handled as joins. 2003-01-20 18:55:07 +00:00
prepjointree.c Restructure parsetree representation of DECLARE CURSOR: now it's a 2003-03-10 03:53:52 +00:00
prepqual.c Phase 2 of read-only-plans project: restructure expression-tree nodes 2002-12-12 15:49:42 +00:00
preptlist.c Apply fixes for problems with dropped columns whose types have also been 2003-05-12 00:17:03 +00:00
prepunion.c Implement feature of new FE/BE protocol whereby RowDescription identifies 2003-05-06 00:20:33 +00:00