aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-05-26 18:23:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-05-26 18:23:02 +0000
commitcadb78330eedceafeda99bf12ac690cda773be62 (patch)
tree6d4b9004701763c29fb88f1afecef8c81207df9e /src/backend/access/gist
parent604ffd280b955100e5fc24649ee4d42a6f3ebf35 (diff)
downloadpostgresql-cadb78330eedceafeda99bf12ac690cda773be62.tar.gz
postgresql-cadb78330eedceafeda99bf12ac690cda773be62.zip
Repair two constraint-exclusion corner cases triggered by proving that an
inheritance child of an UPDATE/DELETE target relation can be excluded by constraints. I had rearranged some code in set_append_rel_pathlist() to avoid "useless" work when a child is excluded, but overdid it and left the child with no cheapest_path entry, causing possible failure later if the appendrel was involved in a join. Also, it seems that the dummy plan generated by inheritance_planner() when all branches are excluded has to be a bit less dummy now than was required in 8.2. Per report from Jan Wieck. Add his test case to the regression tests.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions