]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix a couple of places in execMain that erroneously assumed that SELECT FOR
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Apr 2008 03:49:51 +0000 (03:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Apr 2008 03:49:51 +0000 (03:49 +0000)
commit86c6538dce69ea348cdd2146d49d88790bc5b448
treee6bff8f93c741a6fe28e9deac5bb13864d1840ae
parent254d66e2f1b3d42f9afa0acebb04501c505ec5b6
Fix a couple of places in execMain that erroneously assumed that SELECT FOR
UPDATE/SHARE couldn't occur as a subquery in a query with a non-SELECT
top-level operation.  Symptoms included outright failure (as in report from
Mark Mielke) and silently neglecting to take the requested row locks.

Back-patch to 8.3, because the visible failure in the INSERT ... SELECT case
is a regression from 8.2.  I'm a bit hesitant to back-patch further given the
lack of field complaints.
src/backend/executor/execMain.c