[Firebird-devel] [FB-Tracker] Created: (CORE-5824) Segmentation fault during install on Linux

2018-05-14 Thread Dimitry Sibiryakov (JIRA)
Segmentation fault during install on Linux -- Key: CORE-5824 URL: http://tracker.firebirdsql.org/browse/CORE-5824 Project: Firebird Core Issue Type: Bug Components: Engine Affects Version

Re: [Firebird-devel] FBJava plugin issues

2018-05-14 Thread Adriano dos Santos Fernandes
On 14/05/2018 09:21, Chmakov, Vladimir wrote: > > Hello, > >   > > We are testing FBJava plugin to see how well it suits our purposes. > For the testing we use example provided with the package. It works > well when deployed directly into the DB. However, when JAR is placed > externally, org.firebi

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Vlad Khorsun via Firebird-devel
10.05.2018 19:23, Adriano dos Santos Fernandes wrote: On 10/05/2018 13:12, Vlad Khorsun via Firebird-devel wrote:   I guess the question is about the case when users have historical data and need to apply old time zone rule to the old data and new timezone rule to the new data.   Is it possi

[Firebird-devel] FBJava plugin issues

2018-05-14 Thread Chmakov, Vladimir
Hello, We are testing FBJava plugin to see how well it suits our purposes. For the testing we use example provided with the package. It works well when deployed directly into the DB. However, when JAR is placed externally, org.firebirdsql.fbjava.examples.fbjava_example example. FbLogger stops w

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Adriano dos Santos Fernandes
On 14/05/2018 10:24, Dimitry Sibiryakov wrote: > >   It doesn't need to be DDL. Stored procedures in timezone package > should be enough. > >   What are packages for if even developers don't want to use them?.. > > If by developers you mean core team, for example: - Do not improve the hell of not

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Alex Peshkoff via Firebird-devel
On 05/14/18 15:58, Dimitry Sibiryakov wrote: 14.05.2018 14:28, Alex Peshkoff via Firebird-devel wrote:   Number of combination growth as N^2 at least. Writing of separate plugins for each possible use case is... boring. What combinations? Key holder may need to establish connection to client

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Dimitry Sibiryakov
14.05.2018 14:55, Vlad Khorsun via Firebird-devel wrote: Can I register a new rule for time zones without updating Firebird and the backup/restore process? If so, is there a DLL syntax for registering a new time zone rule?   This is interesting and valid question (as for me). With such possib

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Lester Caine
On 14/05/18 14:02, Adriano dos Santos Fernandes wrote: So he updates original db and ICU and have what he wants. That only works if TZ is installed using the backzone data, and as you have seen this is not the case. The real world solution for this IS TZDist ... and you would simply patch any l

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Lester Caine
On 14/05/18 13:55, Vlad Khorsun via Firebird-devel wrote: Can I register a new rule for time zones without updating Firebird and the backup/restore process? If so, is there a DLL syntax for registering a new time zone rule?   This is interesting and valid question (as for me). With such poss

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Adriano dos Santos Fernandes
On 14/05/2018 09:30, Lester Caine wrote: > On 14/05/18 13:22, Adriano dos Santos Fernandes wrote: >>> Can I register a new rule for time zones without updating Firebird and >>> the backup/restore process? >>> If so, is there a DLL syntax for registering a new time zone rule? >>> >> Serious, you wan

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Adriano dos Santos Fernandes
On 14/05/2018 09:55, Vlad Khorsun via Firebird-devel wrote: > >> Can I register a new rule for time zones without updating Firebird >> and the backup/restore process? >> If so, is there a DLL syntax for registering a new time zone rule? > >   This is interesting and valid question (as for me). With

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Dimitry Sibiryakov
14.05.2018 14:28, Alex Peshkoff via Firebird-devel wrote:   Number of combination growth as N^2 at least. Writing of separate plugins for each possible use case is... boring. What combinations? Key holder may need to establish connection to client or may not. I see 2 cases here. Ok, you ar

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Vlad Khorsun via Firebird-devel
14.05.2018 10:13, Simonov Denis via Firebird-devel wrote: I'm wondering how the time zones will be updated? See "Updating the Time Zone Data" at http://userguide.icu-project.org/datetime/timezone Will they be distributed as a separate file in Firebird? So far i see no need for

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Lester Caine
On 14/05/18 13:22, Adriano dos Santos Fernandes wrote: Can I register a new rule for time zones without updating Firebird and the backup/restore process? If so, is there a DLL syntax for registering a new time zone rule? Serious, you want resgister custom time zones rules? I read that simply

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Alex Peshkoff via Firebird-devel
On 05/14/18 13:15, Dimitry Sibiryakov wrote: 14.05.2018 11:57, Alex Peshkoff via Firebird-devel wrote: If key holder is expected to work with both types of keys secrtainly it should try to talk to client. One written only for use of non-client keys should not. Wjat a problem?   Number of comb

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Adriano dos Santos Fernandes
On 14/05/2018 04:13, Simonov Denis via Firebird-devel wrote: > Adriano dos Santos Fernandes wrote Thu, 10 May > 2018 18:21:49 +0300: > >> Hi! >> >> I want to create a virtual table that lists available time zones. >> >> For now there is RDB$ (non-virtual), MON$ (virtual, but all about >> monitorin

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Dimitry Sibiryakov
14.05.2018 11:57, Alex Peshkoff via Firebird-devel wrote: If key holder is expected to work with both types of keys secrtainly it should try to talk to client. One written only for use of non-client keys should not. Wjat a problem? Number of combination growth as N^2 at least. Writing of sepa

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Alex Peshkoff via Firebird-devel
On 05/14/18 12:52, Dimitry Sibiryakov wrote: 14.05.2018 11:42, Alex Peshkoff via Firebird-devel wrote: Returning to your cases: a) ICryptKeyCallback::callback() returned zero because application key not needed Well written key holder will not try to talk to client at all if it already has a

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Dimitry Sibiryakov
14.05.2018 11:42, Alex Peshkoff via Firebird-devel wrote: Returning to your cases: a) ICryptKeyCallback::callback() returned zero because application key not needed Well written key holder will not try to talk to client at all if it already has a key... No matter how key holder is written

Re: [Firebird-devel] Key holder is not used if keyCallback() returned 0

2018-05-14 Thread Alex Peshkoff via Firebird-devel
On 05/10/18 18:36, Dimitry Sibiryakov wrote: 10.05.2018 17:20, Alex Peshkoff via Firebird-devel wrote:   BTW, is there a way to distinguish cases when a) ICryptKeyCallback::callback() returned zero because application key not needed b) Application callback is not set Both cases are normal -

Re: [Firebird-devel] Virtual table for time zones

2018-05-14 Thread Simonov Denis via Firebird-devel
Adriano dos Santos Fernandes wrote Thu, 10 May 2018 18:21:49 +0300: Hi! I want to create a virtual table that lists available time zones. For now there is RDB$ (non-virtual), MON$ (virtual, but all about monitoring), SEC$ (security plugin). What prefix should TIME_ZONES have? Adriano I