Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsql

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

Commit: a9545b3aef0d41fdb84bc6a30fa2e563020acad2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-06-11T22:22:42Z
Releases: 8.3.0
Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsql
with a plpgsql-defined cursor.  The underlying mechanism for this is that the
main SQL engine will now take "WHERE CURRENT OF $n" where $n is a refcursor
parameter.  Not sure if we should document that fact or consider it an
implementation detail.  Per discussion with Pavel Stehule.

Files