Allow referencing cursors as record variables in PSQL -----------------------------------------------------
Key: CORE-4403 URL: http://tracker.firebirdsql.org/browse/CORE-4403 Project: Firebird Core Issue Type: Improvement Components: Engine Reporter: Dmitry Yemanov Priority: Minor Either explicit (DECLARE AS CURSOR) or implicit (FOR SELECT) PSQL cursors could make their current record available via the cursor name similar to OLD/NEW trigger contexts, thus making the INTO clause optional. In FOR SELECT loops, it requires AS CURSOR clause to be specified. For example: for select rdb$relation_id as id, rdb$relation_name as name from rdb$relations where rdb$view_blr is null as cursor tables do begin out_id = tables.id; out_name = tables.name; suspend; end To avoid ambiguities, the colon prefix could be used. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel