aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-04-25 16:54:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-04-25 16:54:26 +0000
commit4454eead14a9c96321bde15d0de7615d7c659dad (patch)
tree5efba4ddbcfaaf7ca8b491bf1a3af13851709f5c /src/backend/executor/execMain.c
parent2c4abf11e1c28d908eca1ab2006641a472ba6664 (diff)
downloadpostgresql-4454eead14a9c96321bde15d0de7615d7c659dad.tar.gz
postgresql-4454eead14a9c96321bde15d0de7615d7c659dad.zip
The 8.1 planner removes WHERE quals from the plan when the quals are
implied by the predicate of a partial index being used to scan a table. However, this optimization is unsafe in an UPDATE, DELETE, or SELECT FOR UPDATE query, because the quals need to be rechecked by EvalPlanQual if there's an update conflict. Per example from Jean-Samuel Reynaud.
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions