mirror of
https://github.com/postgres/postgres.git
synced 2026-04-12 04:26:44 -04:00
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. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| prepjointree.c | ||
| prepqual.c | ||
| preptlist.c | ||
| prepunion.c | ||