Hi! 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. Adriano ------------------------------------------------------------------------------ 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