Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Adriano dos Santos Fernandes
On 03/05/2018 09:28, Mark Rotteveel wrote: > >> 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 probl

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Mark Rotteveel
On 3-5-2018 12:58, Alex Peshkoff via Firebird-devel wrote: 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 co

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Dimitry Sibiryakov
03.05.2018 12:58, Alex Peshkoff via Firebird-devel wrote: 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 p

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Dimitry Sibiryakov
03.05.2018 12:55, Mark Rotteveel wrote: I'm not sure I understand to use cases of needing/wanting to do that in an ON CONNECT trigger? It would seem that it would be a purely client-side decision which mode to use. Legacy applications without sources cannot issue new queries but can be recogn

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Alex Peshkoff via Firebird-devel
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

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Mark Rotteveel
On 3-5-2018 12:12, Dimitry Sibiryakov wrote:   Hello, All.   Is subj allowed in ON CONNECT triggers? I'm not sure I understand to use cases of needing/wanting to do that in an ON CONNECT trigger? It would seem that it would be a purely client-side decision which mode to use. I'd sooner

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Dimitry Sibiryakov
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. -- WBR, SD. -

Re: [Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Alex Peshkoff via Firebird-devel
On 05/03/18 13:12, Dimitry Sibiryakov wrote: Hello, All.   Is subj allowed in ON CONNECT triggers? Directly not - but one can run it via EXECUTE STATEMENT. -- Check out the vibrant tech community on one of the world

[Firebird-devel] SET DECFLOAT command

2018-05-03 Thread Dimitry Sibiryakov
Hello, All. Is subj allowed in ON CONNECT triggers? -- WBR, SD. -- 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