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

856 Commits

Author SHA1 Message Date
hvlad
043f7b2361 Merge branch 'query_restarts' of https://github.com/samofatov/firebird into query_restarts 2019-08-26 20:11:36 +03:00
nikolay.samofatov
accb0e9f8a Use snapshot mode for PSQL blocks executed in autonomous transactions 2019-08-16 12:11:53 +03:00
Mark Rotteveel
426aeb50c8 CORE-6109 SQL standard FLOAT type syntax support (#218)
* CORE-6109 SQL standard FLOAT type syntax support

* Fix type or copy/paste error

* Delete unused precision_opt rule
2019-08-02 20:55:34 +03:00
Adriano dos Santos Fernandes
d046a2ca86 Fallback for problem converting time-tz/timestamp-tz when ICU is not present in client. 2019-07-14 21:31:17 -03:00
Alex Peshkoff
6bb80e1845 Fixed CORE-6093: Errors simultaneously accessing security database from two engines 2019-07-03 14:12:06 +03:00
Adriano dos Santos Fernandes
9c76811fae Improvement CORE-6058 - Change behavior of skipped and repeated wall times within time zones. 2019-05-01 16:32:29 -03:00
AlexPeshkoff
97f33ec4eb Added doc for HEX functions 2019-04-17 13:15:30 +03:00
AlexPeshkoff
456e7a03cf Implemented CORE-4726: REcreate user <user_name> password <user_pwd> 2019-04-13 21:21:56 +03:00
hvlad
7ce2a344f0 Fixed bug CORE-6043 : GTTs do not release used space 2019-04-12 15:44:18 +03:00
Adriano dos Santos Fernandes
2a9f8fa60b Improvement CORE-6032 - Add DPB properties for time zone bind and decfloat configuration. 2019-04-07 11:56:02 -03:00
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
Adriano dos Santos Fernandes
ac1bb875c3 Reimplement previous NodeRefImpl checks while simplifying code also removing NodeRef. 2019-03-14 15:50:43 -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
KarloX2
a0692f497c CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option
renamed the new config setting
2019-02-20 18:13:07 +01:00
KarloX2
540c90546f CORE-6004: Add a switch to disable the "TCP Loopback Fast Path" option (Windows only) 2019-02-19 17:22:11 +01:00
Dmitry Yemanov
8984d39125 Fixed mistake in the docs 2019-02-03 12:06:30 +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
hvlad
0ea61c13f8 Rename setting: TpcBlockSize -> TipCacheBlockSize 2018-12-16 15:27:40 +02:00
Adriano dos Santos Fernandes
9604d1c89a Misc. 2018-12-15 18:44:59 -02:00
AlexPeshkoff
a676d61b72 Improved batch example and interfaces documentation 2018-12-10 17:42:22 +03: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
Dmitry Yemanov
452f5aacea Updated some docs 2018-10-25 15:32:49 +03:00
AlexPeshkoff
14e8ecf44e Document changes in win_sspi 2018-10-22 20:15:13 +03:00