]> granicus.if.org Git - postgresql/commit
Adjust grammar for plpgsql's OPEN command so that a cursor can be
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Apr 2005 18:05:46 +0000 (18:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Apr 2005 18:05:46 +0000 (18:05 +0000)
commit726220fb9faad7dc6ec32990f52180f4c9b6966e
tree8f9fd970f920521081aede4fe02797a746eaf846
parentfd97cf4df04e7a0a310b8d364d71958ff868d287
Adjust grammar for plpgsql's OPEN command so that a cursor can be
OPENed on non-SELECT commands such as EXPLAIN or SHOW (anything that
returns tuples is allowed).  This flexibility already existed for
bound cursors, but OPEN was artificially restricting what it would
take.  Per a gripe some months back.
doc/src/sgml/plpgsql.sgml
src/pl/plpgsql/src/gram.y