]> granicus.if.org Git - postgresql/commit
Improve UPDATE/DELETE WHERE CURRENT OF so that they can be used from plpgsql
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Jun 2007 22:22:42 +0000 (22:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Jun 2007 22:22:42 +0000 (22:22 +0000)
commita9545b3aef0d41fdb84bc6a30fa2e563020acad2
tree4b6f9353cf6846a6b1ce2b96ddbf2ffbf2a42d58
parentbdc71c2cb162297f7f69d8d2be113c2689f5bd6e
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.
13 files changed:
doc/src/sgml/plpgsql.sgml
src/backend/executor/execCurrent.c
src/backend/executor/execQual.c
src/backend/executor/nodeTidscan.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/backend/parser/gram.y
src/backend/parser/parse_expr.c
src/backend/utils/adt/ruleutils.c
src/include/executor/executor.h
src/include/nodes/primnodes.h