Re: [Firebird-devel] System procedures

2018-06-18 Thread Adriano dos Santos Fernandes
On 28/05/2018 02:02, Dmitry Yemanov wrote: > >> For system tables, their IDs starts with 0, while user tables starts >> at 128. >> >> User procedures already starts with 0, so initially I'm creating system >> procedures with negative IDs. > > I suppose you assign IDs directly, without generator usa

Re: [Firebird-devel] System procedures

2018-05-28 Thread Dimitry Sibiryakov
28.05.2018 12:32, Adriano dos Santos Fernandes wrote: On 28/05/2018 07:30, Dimitry Sibiryakov wrote:   I mean: during creation of database already created many definitions for tables, generators and so on. It is easy to add definition for couple of UDRs the same way. Where did you read I'm do

Re: [Firebird-devel] System procedures

2018-05-28 Thread Adriano dos Santos Fernandes
On 28/05/2018 07:30, Dimitry Sibiryakov wrote: > >   I mean: during creation of database already created many definitions > for tables, generators and so on. It is easy to add definition for > couple of UDRs the same way. > > Where did you read I'm doing anything different? Adriano

Re: [Firebird-devel] System procedures

2018-05-28 Thread Dimitry Sibiryakov
28.05.2018 12:27, Dimitry Sibiryakov wrote: 28.05.2018 12:21, Adriano dos Santos Fernandes wrote:    What's the difference between built-in UDR and "system procedure coded in C++"? *U*  stands for User. Need to have metadata manually created. Cannot access engine internals if needed.   In S

Re: [Firebird-devel] System procedures

2018-05-28 Thread Dimitry Sibiryakov
28.05.2018 12:21, Adriano dos Santos Fernandes wrote:   What's the difference between built-in UDR and "system procedure coded in C++"? *U* stands for User. Need to have metadata manually created. Cannot access engine internals if needed. In SysFunction.cpp there is a lot of system functi

Re: [Firebird-devel] System procedures

2018-05-28 Thread Adriano dos Santos Fernandes
On 28/05/2018 07:19, Dimitry Sibiryakov wrote: > 28.05.2018 12:16, Adriano dos Santos Fernandes wrote: >> On 28/05/2018 06:16, Dimitry Sibiryakov wrote: >>> 28.05.2018 3:04, Adriano dos Santos Fernandes wrote: I'm adding system procedure support, coded in C++, initially for list time zone

Re: [Firebird-devel] System procedures

2018-05-28 Thread Adriano dos Santos Fernandes
On 28/05/2018 02:02, Dmitry Yemanov wrote: > 28.05.2018 04:04, Adriano dos Santos Fernandes wrote: >> >> I'm adding system procedure support, coded in C++, initially for list >> time zone rule transition, as it can't be done with virtual table (needs >> parameters). >> >> I see others great potenti

Re: [Firebird-devel] System procedures

2018-05-28 Thread Dimitry Sibiryakov
28.05.2018 12:16, Adriano dos Santos Fernandes wrote: On 28/05/2018 06:16, Dimitry Sibiryakov wrote: 28.05.2018 3:04, Adriano dos Santos Fernandes wrote: I'm adding system procedure support, coded in C++, initially for list time zone rule transition, as it can't be done with virtual table (need

Re: [Firebird-devel] System procedures

2018-05-28 Thread Adriano dos Santos Fernandes
On 28/05/2018 06:16, Dimitry Sibiryakov wrote: > 28.05.2018 3:04, Adriano dos Santos Fernandes wrote: >> I'm adding system procedure support, coded in C++, initially for list >> time zone rule transition, as it can't be done with virtual table (needs >> parameters). > >   Aren't UDRs already implem

Re: [Firebird-devel] System procedures

2018-05-28 Thread Dimitry Sibiryakov
28.05.2018 3:04, Adriano dos Santos Fernandes wrote: I'm adding system procedure support, coded in C++, initially for list time zone rule transition, as it can't be done with virtual table (needs parameters). Aren't UDRs already implemented? -- WBR, SD. --

Re: [Firebird-devel] System procedures

2018-05-27 Thread Roman Simakov
2018-05-28 8:02 GMT+03:00 Dmitry Yemanov : > 28.05.2018 04:04, Adriano dos Santos Fernandes wrote: >> >> >> I'm adding system procedure support, coded in C++, initially for list >> time zone rule transition, as it can't be done with virtual table (needs >> parameters). >> >> I see others great pote

Re: [Firebird-devel] System procedures

2018-05-27 Thread Dmitry Yemanov
28.05.2018 04:04, Adriano dos Santos Fernandes wrote: I'm adding system procedure support, coded in C++, initially for list time zone rule transition, as it can't be done with virtual table (needs parameters). I see others great potentials with this. We can also later code system triggers with

[Firebird-devel] System procedures

2018-05-27 Thread Adriano dos Santos Fernandes
Hi! I'm adding system procedure support, coded in C++, initially for list time zone rule transition, as it can't be done with virtual table (needs parameters). I see others great potentials with this. We can also later code system triggers with them, as they are currently coded directly in BLR an