Allow the use of management statements in PSQL blocks
-----------------------------------------------------
Key: CORE-5887
URL: http://tracker.firebirdsql.org/browse/CORE-5887
Project: Firebird Core
Issue Type: Improvement
Components: Engine
Reporter: Adriano dos Santos Fernandes
Current management (SET ... / ALTER SESSION) statements are valid only
as top-level statements (and hence in EXECUTE STATEMENT too), i.e.,
cannot be in EXECUTE BLOCK or stored routine.
This is a problem, as some of these statements are good to be executed
in ON CONNECT triggers.
I propose a simple way to allow them in PSQL.
There is no reason to create BLR codes for them.
DSQL can generate them as EXECUTE STATEMENT (blr_exec_sql).
They will be validated (dsqlPass) as others statements in prepare time,
and will be validated as now when executed.
--
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel