8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
Commit Graph

334 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
a64b202dad Fixed CORE-6034 - The original time zone should be set to the current time zone at routine invocation. 2019-03-26 13:13:59 -03:00
Roman Simakov
bb3c2e94ec Fixed CORE-5892: SQL SECURITY DEFINER context is not properly evaluated for monitoring tables (#196)
* Now we take into account the call hierarchy when use SQL SECURITY
option.
Added new context variable in SYSTEM namespace - EFFICIENT_USER which is
returns user name in which context a code works.
We change efficient user before call procedure and function, fetch a
record from selective procedure and before execute a trigger.

* Renamed new context variable to EFFECTIVE_USER. Fixed nested calls.

* Improved error messages to print effective user when there is no permission.

* Added description of new context variable EFFECTIVE_USER. Improved description of SQL SECURITY clause.
2019-03-18 14:17:02 +03:00
hvlad
e17bff156b Improvement CORE-5658 : Execute statement with excess parameters
Documentation
2019-03-06 13:37:50 +02:00
Adriano dos Santos Fernandes
cfbcbeda3c
Make it possible to start multiple transactions using the same initial transaction snapshot - CORE-6018 (#193)
With this feature it's possible to create parallel (via different attachments) processes reading consistent data from a database.

For example, a backup process may create multiple threads paralleling read data from the database.

Also a web service may dispatch distributed sub services paralleling doing some processing.

That is accomplished creating a transaction with SET TRANSACTION SNAPSHOT [ AT NUMBER <snapshot number> ] or isc_tpb_at_snapshot_number.

The <snapshot number> from the first transaction may be obtained with RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_NUMBER') or transaction info call with fb_info_tra_snapshot_number.

Also added CORE-6017 - Add transaction info fb_info_tra_snapshot_number.
2019-03-01 16:17:19 -03:00
Adriano dos Santos Fernandes
05b5d16c44 Task CORE-6016 - Rename RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_CN') to RDB$GET_CONTEXT('SYSTEM', 'SNAPSHOT_NUMBER'). 2019-03-01 12:14:14 -03:00
Dmitry Yemanov
37e5a89d8f Misc docs fixes 2019-01-28 09:48:05 +03:00
Dmitry Yemanov
932ca51574
Replication support (#182)
* Initial implementation of replication

* Postfixes for configuration and Windows builds

* Misc Windows adjustments

* Forgotten changes from prior commits

* Last round (fingers crossed) of fixing the Windows build

* Improve self-documentation

* Misc improvements

* Updates the docs

* More configuration

* Frontported some remaining pieces

* Installation post-fixes

* Special permission for replication
2019-01-25 12:09:01 +03:00
Adriano dos Santos Fernandes
558c69151b Improve RETURNING readme about usage of * (CORE-3808). 2019-01-22 12:20:42 -02:00
Adriano dos Santos Fernandes
d936c74cdd Misc. 2019-01-05 18:47:04 -02:00
AlexPeshkoff
38823d0184 Post-improvement for CORE-5970: added 3 useful related helper functions: base64_encode/decode and crc32 2019-01-05 18:29:03 +03:00
Adriano dos Santos Fernandes
ee05dbf7b9 Merge branch 'work/time-zone-support-mon' 2018-12-29 15:38:22 -02:00
Adriano dos Santos Fernandes
3ca18c540c Add config. parameter DefaultTimeZone. 2018-12-28 15:52:39 -02:00
Adriano dos Santos Fernandes
71bc2536f8 Improve named window documentation re. name scopes. 2018-12-16 18:27:00 -02:00
Adriano dos Santos Fernandes
9604d1c89a Misc. 2018-12-15 18:44:59 -02:00
AlexPeshkoff
9169049c28 Misc 2018-12-07 20:20:28 +03:00
AlexPeshkoff
38bc6242d4 Improved documentation 2018-12-07 20:17:39 +03:00
AlexPeshkoff
aacdeb274c Added 8 new builtin functions supporting various encryption algorithms 2018-12-07 11:17:06 +03:00
Mark Rotteveel
8af76dd576
Syntax correction FILTER
FILTER-clause and OVER-clause are separately optional
2018-11-30 14:56:52 +01:00
Adriano dos Santos Fernandes
7206db3475 Readme for CORE-5768 (Implement FILTER-clause for aggregate functions). 2018-11-28 11:16:20 -02:00
Adriano dos Santos Fernandes
586f53093b Markdown improvements. 2018-11-28 11:05:25 -02:00
Adriano dos Santos Fernandes
200720e392 Readme for CORE-5887 (Allow the use of management statements in PSQL blocks). 2018-11-28 10:52:54 -02:00
Adriano dos Santos Fernandes
330650c4f8 Adjust CURRENT_TIME/CURRENT_TIMESTAMP docs. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
58065a1b07 Misc. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
db60575bfb Add section "Updating the time zone database" to documentation. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
9d84e12468 Misc. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
94f377b8fb Add SET TIME ZONE BIND statement. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
f24562f15b Document CURRENT_TIME and CURRENT_TIMESTAMP changes. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
3c4c8e781d Support for system packages and RDB$TIME_ZONE_UTIL system package implementation. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
4ea34933f0 Added isc_dpb_session_time_zone. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
942d7f49f5 Added RDB$TIME_ZONES virtual table. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
ebe39c4b6a Documentation for time zone support. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
0a5ab86198 Update keywords doc. 2018-11-12 13:18:00 -02:00
AlexPeshkoff
14e8ecf44e Document changes in win_sspi 2018-10-22 20:15:13 +03:00
hvlad
09da9c995e Update documentation 2018-09-25 00:25:39 +03:00
hvlad
795809896e Update description of RDB$GET_TRANSACTION_CN 2018-09-23 19:29:35 +03:00
hvlad
57d768f062 Fixed typos, thanks to Adriano 2018-09-23 17:20:02 +03:00
hvlad
bdd398dbc4 Fixed mistake, thanks to Mark 2018-09-23 16:30:58 +03:00
hvlad
fded677e95 Improvement CORE-5921 : Provide information about Global Commit Number, Commit Number of currently used database snapshot (if any) and Commit Numbers assigned to the committed transactions. 2018-09-23 15:00:59 +03:00
hvlad
a51a1bbb21 Implement sub-task CORE-5913 : Add context variables with compression and encryption status of current connection 2018-09-18 19:58:37 +03:00
Alex Peshkoff
61b4bf0d27 Fixed CORE-5593: System function RDB$ROLE_IN_USE cannot take long role names with lower-case letters 2018-06-22 17:57:53 +03:00
hvlad
e688ced75a Merge branch 'ExternalConnectionsPool' 2018-06-18 18:22:50 +03:00
hvlad
a810646187 Update the documentation. 2018-05-28 15:06:40 +03:00
hvlad
d681f5288f Reset external connection before put it into pool.
Update the documentation.
2018-05-27 12:24:47 +03:00
hvlad
2930edb9c0
Merge branch 'master' into ExternalConnectionsPool 2018-05-25 13:42:38 +03:00
hvlad
fe68255f62 According to Adriano's suggestions 2018-05-23 20:42:22 +03:00
AlexPeshkoff
5b1c3a1c20 Doc enhancement 2018-05-21 14:38:53 +03:00
hvlad
da10e5045e Introduced new system privilege MODIFY_EXT_CONN_POOL to manage pool properties.
Update the documentation.
2018-05-20 23:44:12 +03:00
hvlad
721edeeb5b Update the documentation. 2018-05-18 19:21:46 +03:00
Mark Rotteveel
d22a07090c Update keywords for FB4 and check against SQL:2016 (#154) 2018-04-02 20:18:20 +03:00
hvlad
28b5fa8a0f Update the documentation. 2018-04-02 12:52:34 +03:00