Re: [Firebird-devel] RFC: External Connections Pool

2018-05-21 Thread Rashid Abzalov
Instead of implementing a pool of connections that the system implicitly manages, it might be better to implement named connections as it is done in Postgres (https://www.postgresql.org/docs/current/static/contrib-dblink-function.html)? Which the user manages and re-uses as he needs - he knows

Re: [Firebird-devel] RFC: External Connections Pool

2018-05-21 Thread Rashid Abzalov
21.05.2018 14:42, Vlad Khorsun via Firebird-devel пишет:   I don't see how persistent connections in Postgres could be reused by different user sessions. No, in Postgres you can reuse only your own connections. Nevertheless, it seems to me that this approach also solves the original task

Re: [Firebird-devel] [FB-Tracker] Created: (CORE-5746) Remove the restriction on create/delete, enable/disable the system indexes in system tables

2018-02-20 Thread Rashid Abzalov
Hello. The background of this task in CORE-5612, it contains research details and conclusions. How much I understood, there is no way to specify what index should be used at system inquiries from *.epp files? If not, is it possible to enable the create/delete, enable/disable indexes on

Re: [Firebird-devel] [FB-Tracker] Updated: (CORE-5746) Remove the restriction on create/delete, enable/disable the system indexes in system tables

2018-02-27 Thread Rashid Abzalov
sertString(isc_dpb_gbak_attach, FB_VERSION, fb_strlen(FB_VERSION))), but then you need to remove the check for the creator of database (attachment->att_flags & ATT_creator). 2018-02-19 16:38 GMT+03:00 Rashid Abzalov (JIRA) <trac...@firebirdsql.org>: > > [ http://tracker.firebirdsql.

Re: [Firebird-devel] [FB-Tracker] Created: (CORE-5746) Remove the restriction on create/delete, enable/disable the system indexes in system tables

2018-03-14 Thread Rashid Abzalov
I was not entirely right. The above tests were carried out on version 2.5.5, where the result was obtained in 30 minutes. After upgrading to version 2.5.8, the test shows the same results regardless of the processor ~ 1 min. Also checked for version 3.0, with additional indexes created in

Re: [Firebird-devel] [FB-Tracker] Created: (CORE-5746) Remove the restriction on create/delete, enable/disable the system indexes in system tables

2018-04-10 Thread Rashid Abzalov
The implemented feature allows changing user indexes to any users. Perhaps it makes sense to allow this only for users who are members of the RDB$ADMIN role? Or is it better to check by analogy with database triggers - SCL_check_database(tdbb, SCL_alter)?

Re: [Firebird-devel] [FB-Tracker] Created: (CORE-5746) Remove the restriction on create/delete, enable/disable the system indexes in system tables

2018-02-27 Thread Rashid Abzalov
How much I understood, there is no way to specify what index should be used at system inquiries from *.epp files?   I have the same understanding It seems to me that the solution of this problem would be of much more use. Then you could just create additional system indexes and use those

Re: [Firebird-devel] Upgrading from 2.5 database with trigger on system table

2019-03-13 Thread Rashid Abzalov
13.03.2019 18:07, Alex Peshkoff via Firebird-devel пишет: Pre-FB3 versions made it possible to modify system tables directly including creation of new triggers on them. Currently such triggers are restored from 2.5 backup and can't be removed afterwards. I suggest to skip such triggers during

Re: [Firebird-devel] Inserts and FKs

2019-09-09 Thread Rashid Abzalov
Behavior of Oracle 11 + Postgres 9.6. *Common DDL*: create table master (id number primary key); create table detail (id number primary key, master number); alter table detail add foreign key (master) references master(id) on delete cascade; *Oracle (2 sqlplus windows)*: tx1: set transaction

[Firebird-devel] [FB-Tracker] Created: (CORE-5049) Remove the checking record size at create view - new record size of NNN bytes is too big

2015-12-16 Thread Rashid Abzalov (JIRA)
Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0 RC 1 Environment: 3.0.0.32136_0_x64_RC1 Reporter: Rashid Abzalov create database 'c:\test.fdb' page_size 16384 user 'SYSDBA' password 'masterkey' default character set UTF8

[Firebird-devel] [FB-Tracker] Created: (CORE-5368) Regression: client application is hang (in same cases trow an access violation in Engine12.dll) on select-ing from multiple threads using 1 embedded

2016-10-04 Thread Rashid Abzalov (JIRA)
only Reporter: Rashid Abzalov Attachments: MultiThreaded.zip This example works fine in Embedded v2.5 but fails in Embedded v3.0. Test query: select * from RDB$COLLATIONS (you can use any other) Sources of client application is attached. Compiled binaries are attached too

[Firebird-devel] [FB-Tracker] Created: (CORE-5366) Regression: could not create procedure (incorrect calculation of body length?)

2016-10-03 Thread Rashid Abzalov (JIRA)
Issue Type: Bug Components: Engine Affects Versions: 3.0.1 Reporter: Rashid Abzalov This example works in v2.5 but fails in v3.0. create database 'localhost:c:\test.fdb' page_size 16384 user 'SYSDBA' password 'masterkey' default character set UTF8 collation

[Firebird-devel] [FB-Tracker] Created: (CORE-5381) Regression: could not execute query (select from view with nested view)

2016-10-20 Thread Rashid Abzalov (JIRA)
Type: Bug Components: Engine Affects Versions: 3.0.1 Environment: Windows, Firebird-3.0.1.32609_0_x64 Reporter: Rashid Abzalov This example works in v2.5 but fails in v3.0. Query: select A.ID from test_view A inner join RDB$TYPES D1 on D1.rdb$type = A.ID

[Firebird-devel] [FB-Tracker] Created: (CORE-5612) Gradual slowdown compilation (create, recreate or drop) of views

2017-09-14 Thread Rashid Abzalov (JIRA)
Components: Engine Affects Versions: 3.0.2, 2.5.7 Reporter: Rashid Abzalov Attachments: BUILD.sql With a large number of existing views, the compilation of new views (or drop existing) is very slow and the time increases as the number of views increases. Time

[Firebird-devel] [FB-Tracker] Created: (CORE-5746) Remove the restriction on create/delete, enable/disable the system indexes in system tables

2018-02-11 Thread Rashid Abzalov (JIRA)
Project: Firebird Core Issue Type: Sub-task Components: Engine Affects Versions: 3.0.3, 3.0.2, 3.0.1, 3.0.0 Reporter: Rashid Abzalov Proceeding from the fact that it is necessary to apply adaptive mechanics, and from the fact that in the source code

[Firebird-devel] [FB-Tracker] Created: (CORE-5871) Incorrect caching of the subquery result (procedure call) in independent queries

2018-07-10 Thread Rashid Abzalov (JIRA)
Core Issue Type: Bug Components: Engine Affects Versions: 3.0.3, 2.5.8 Reporter: Rashid Abzalov create or alter procedure p1 (N integer) returns (R integer) as begin R = N; suspend; end^ commit^ create or alter procedure p2 returns (S varchar(100

[Firebird-devel] [FB-Tracker] Created: (CORE-6020) Adding the ability to trace (using fbtrace) server access to system tables

2019-03-01 Thread Rashid Abzalov (JIRA)
Issue Type: Improvement Components: Engine, TRACEMGR Affects Versions: 4.0 Beta 1 Reporter: Rashid Abzalov Adding the ability to trace (using fbtrace) server access to system tables. Now the use of system tables are not visible when tracing. This feature will allow

[Firebird-devel] [FB-Tracker] Created: (CORE-6013) Add the ability to specify in the isc_dsql_fetch (or in another API) how many records need to be prefetched from the server

2019-02-26 Thread Rashid Abzalov (JIRA)
URL: http://tracker.firebirdsql.org/browse/CORE-6013 Project: Firebird Core Issue Type: Improvement Components: API / Client Library Affects Versions: 4.0 Beta 1 Reporter: Rashid Abzalov Add the ability to specify in the isc_dsql_fetch