Fix AcquireRewriteLocks to be sure that it acquires the right lock strength

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cbcd1701f12d133a04b8a104bff20738b2c29e4b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-10-28T17:36:50Z
Releases: 9.0.0
Fix AcquireRewriteLocks to be sure that it acquires the right lock strength
when FOR UPDATE is propagated down into a sub-select expanded from a view.
Similar bug to parser's isLockedRel issue that I fixed yesterday; likewise
seems not quite worth the effort to back-patch.

Files