No way ?
Alexei Polozov, November 26, 2015 - 12:18 am UTC
Is there any other way to accomplish that ?
A logon trigger would help, but we would like to modify optimizer_mode and/or to switch some patches off/on of an already connected user.
November 26, 2015 - 5:05 am UTC
For a connected session, I think you're out of luck.
I've seen people explicitly code support for this (ie, intermittently check a context variable and take action if its set), but I dont think we can push things into the session directly.