Modify UPDATE/DELETE WHERE CURRENT OF to use the FOR UPDATE infrastructure to

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

Commit: 18004101acb98d8fefe7dda1c9f010cceff83b6d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-11-16T17:34:28Z
Releases: 8.4.0
Modify UPDATE/DELETE WHERE CURRENT OF to use the FOR UPDATE infrastructure to
locate the target row, if the cursor was declared with FOR UPDATE or FOR
SHARE.  This approach is more flexible and reliable than digging through the
plan tree; for instance it can cope with join cursors.  But we still provide
the old code for use with non-FOR-UPDATE cursors.  Per gripe from Robert Haas.

Files