On 05/03/18 13:31, Dimitry Sibiryakov wrote:
03.05.2018 12:29, Alex Peshkoff via Firebird-devel wrote:
  Is subj allowed in ON CONNECT triggers?

Directly not - but one can run it via EXECUTE STATEMENT.

  What's the point for such complication? It is not a DDL.


The decision should be taken. Prior fb4 session control statement SET ROLE was treated as DDL. Now we have rather lot of such statements, separate type of node for them, and adding them to procedures/triggers bodies is not big technical problem. But I'm not sure what long-term issues may arise.



------------------------------------------------------------------------------
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

Reply via email to