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

1040 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
a4c15ca751 Revert "Change docs (#6910)."
This reverts commit aa60b60a79.
2021-07-28 15:08:13 -03:00
Adriano dos Santos Fernandes
aa60b60a79 Change docs (#6910). 2021-07-28 10:44:56 -03:00
Adriano dos Santos Fernandes
c93e8489fb Feature #6910 - Add way to retrieve statement BLR with Statement::getInfo and ISQL's SET EXEC_PATH_DISPLAY BLR. 2021-07-26 17:02:12 -03:00
Adriano dos Santos Fernandes
a713260133 Update README.modern_cpp.md. 2021-06-08 14:59:02 -03:00
Adriano dos Santos Fernandes
010c3a8bd5
Remove QLI. (#6840) 2021-06-08 10:31:18 -03:00
Dmitry Yemanov
eac0f27e12 Renamed the package and the security database to v5 2021-05-31 14:36:48 +03:00
Dmitry Yemanov
4218e335d7
Merge pull request #6793 from FirebirdSQL/work/gh-6788
Improvement #6788 - Extend EXTRACT to extract time zone strings.
2021-05-14 20:48:01 +03:00
Adriano dos Santos Fernandes
225b01442e Correction for #6798 docs as noted by Mark. 2021-05-14 13:45:28 -03:00
Adriano dos Santos Fernandes
3b372197e4 Feature #6798 - Add built-in functions UNICODE_CHAR and UNICODE_VAL to convert between Unicode code point and character. 2021-05-14 11:20:38 -03:00
Adriano dos Santos Fernandes
2ca31bf7d1 Update readme for #5588. 2021-05-13 14:11:29 -03:00
AlexPeshkoff
901c7021e0 Resolved #6797 2021-05-13 14:11:23 +03:00
AlexPeshkoff
cc443cce20 Resolve #6806, fixed related examples in readme 2021-05-12 19:32:49 +03:00
Adriano dos Santos Fernandes
57c8fd53b9 Fix #6800 - Client config DefaultTimeZone is not passed to server when isc_dpb_session_time_zone is not set. 2021-05-10 10:45:05 -03:00
Dmitry Yemanov
340bd02363 Renamed replication 'log' to 'journal' 2021-05-04 20:37:49 +03:00
Adriano dos Santos Fernandes
a02f0dea81 Improvement #6788 - Extend EXTRACT to extract time zone strings. 2021-05-04 11:41:35 -03:00
Adriano dos Santos Fernandes
5018dd6109 Improvement #6786 - Add session time zone to system context. 2021-05-04 11:32:47 -03:00
AlexPeshkoff
d46b5182b2 Added dedicated method to close Batch interface with errors check 2021-05-04 14:20:32 +03:00
Mark Rotteveel
0e934bd662
SIMILAR TO also requires escape of }
See also https://github.com/FirebirdSQL/firebird-documentation/issues/124
2021-04-27 15:29:47 +02:00
Mark Rotteveel
6e685c3f82 Fix syntax error in substring-similar doc 2021-04-05 13:07:39 +02:00
AlexPeshkoff
72a042660b Update documentation - sample of plugin was renamed 2021-03-03 18:40:55 +03:00
Dmitry Yemanov
034e6e2453 Adjusted the docs 2021-01-28 20:33:40 +03:00
Roman Simakov
5bf5e84622 Add a short instruction for building on MacOSX using brew 2020-12-25 21:04:35 +03:00
hvlad
974a641d8e Refactor internal representation of configuration entries table.
Trivial getXXX methods now automatically generated with help of new macros.
It allows to guarantee correct method declaration and impl. details in correspondence of parameter globality.
Most getXXX methods are trivial and moved into class declaration now.
RDB$CONFIG filling code now get values of global parameters using default config instance.
2020-11-24 14:40:54 +02:00
Dmitry Yemanov
b30ff76118 Replaced ADD/DROP with INCLUDE/EXCLUDE in replication DDL 2020-10-27 15:15:35 +03:00
Adriano dos Santos Fernandes
ff37d445ce Fixed CORE-6427 and CORE-6429:
- CORE-6427 - Whitespace as date separator causes conversion error.
- CORE-6429 - Timezone offset in timestamp/time literal and CAST should follow SQL standard syntax only.
2020-10-26 12:30:21 -03:00
AlexPeshkoff
e9f3eb360d Moved cryptographic hashes to separate function crypt_hash(), crc32 - into function hash() 2020-08-26 18:46:53 +03:00
Adriano dos Santos Fernandes
103aa16c47 Misc. 2020-08-19 13:44:56 -03:00
Dmitry Yemanov
22ad236f62 CORE-6300 (next attachment/statement ID) and some other additions 2020-08-09 12:34:58 +03:00
Adriano dos Santos Fernandes
44660f8680 Add section about sequences to README.incompatibilities.3to4.txt (CORE-6084 and CORE-6376). 2020-08-06 12:33:42 -03:00
AlexPeshkoff
79ccc4d252 Postfix for CORE-5085: Docs 2020-07-22 14:56:13 +03:00
AlexPeshkoff
23906efcff Fixed CORE-6303: Error writing to TIMESTAMP/TIME WITH TIME ZONE array 2020-07-21 19:07:04 +03:00
AlexPeshkoff
422035f291 Documentation 2020-06-24 13:11:29 +03:00
AlexPeshkoff
c2692c6cee Added explicit datatype INT128 (base type for high precision numeric/decimal), enhanced processing of SET BIND for exact digital datatypes 2020-06-24 12:57:18 +03:00
AlexPeshkoff
b2b2a3bb00 Documentation 2020-06-18 10:03:35 +03:00
AlexPeshkoff
e6286cff87 Documentation 2020-06-18 00:03:51 +03:00
Gerdus
9f2b20df1e remove version mention, split database init to seperate doc 2020-06-17 23:12:17 +03:00
Gerdus
a4f1cd132f Change mention of 2.1 and renamed bat files 2020-06-17 23:12:17 +03:00
Gerdus
544b1192fe Update install_windows_manually.txt for 4.0
Add Initializing the Security Database section
2020-06-17 23:12:17 +03:00
926db40d88 Renames requested by Vlad Khorsun 2020-06-16 14:10:18 +02:00
6a37221faf Missed piece of documentation 2020-06-15 20:32:50 +02:00
2401b66e9e
Receive features list from a real provider (#266)
* Receive features list from a real provider

* Prevent statement caching if the provider doesn't support it

* Changes requested by Dmitry Yemanov
2020-06-14 20:01:53 +03:00
Alex Peshkoff
a9cef6d9ae Implemented CORE-6320: Replace Util methods to get interface pointer by legacy handle with plain functions 2020-05-29 15:44:54 +03:00
Adriano dos Santos Fernandes
b5840da376 Remove appendix with time zone regions from README.time_zone.md. 2020-05-17 22:39:02 -03:00
hvlad
6217a01583 Update documentation. 2020-05-11 23:18:57 +03:00
AlexPeshkoff
fa160113b3 Added missing methods/interfaces to documentation 2020-05-08 13:16:07 +03:00
Dmitry Yemanov
e49fe26b58 Misc adjustments 2020-05-07 10:21:41 +03:00
Adriano dos Santos Fernandes
805dee4d0b Added new time zones. 2020-05-04 13:04:18 -03:00
Adriano dos Santos Fernandes
f6cda2a693 Fixed CORE-6271 - Bind time with time zone to legacy produces wrong values. 2020-05-04 13:03:28 -03:00
Mark Rotteveel
e5b049d2bb
Update URL to tzdata in README.time_zone.md 2020-04-24 18:22:44 +02:00
Dmitry Yemanov
54ed1e6b33 Adjusted docs 2020-04-21 19:36:43 +03:00
Dmitry Yemanov
2231e6e187 Documentation 2020-04-21 19:36:43 +03:00
Dmitry Yemanov
ddd5621666 DDL control for replication 2020-04-21 19:36:43 +03:00
Adriano dos Santos Fernandes
75d34f8ec9 Added CORE-5717 to README.incompatibilities.3to4.txt. 2020-04-20 12:23:19 -03:00
hvlad
2d5dc3f473 Update documentation (CORE-4933) 2020-04-20 13:05:48 +03:00
Dmitry Yemanov
0fe3c2611c Reduce warnings 2020-04-16 18:28:38 +03:00
AlexPeshkoff
928242e54d Misc docs 2020-04-13 14:20:53 +03:00
hvlad
e44446e855 Some additional checks and documentation for new MAKE_DBKEY function. 2020-04-10 13:06:04 +03:00
AlexPeshkoff
1e37604cd0 Implemented CORE-6279: Put options in user management statements in any order 2020-04-08 14:17:16 +03:00
AlexPeshkoff
ca091e7177 Fixed docs 2020-04-07 19:04:18 +03:00
Dmitry Yemanov
ef565b1832 Documentation 2020-04-06 11:32:31 +03:00
hvlad
9ac2238c3d Merge branch 'query_restarts_2' 2020-03-28 12:20:04 +02:00
hvlad
7c5e3b3af5 Update documentation, consistent style.
Thanks to Roman and Nikolay.
2020-03-28 12:15:33 +02:00
hvlad
67491910a4 Update documentation 2020-03-27 12:01:05 +02:00
AlexPeshkoff
ecaad2890a Describe new XpbBuilder types and methods in MetadataBuilder 2020-03-25 19:40:57 +03:00
Alexander Peshkov
2d2df601a3
None gmt fallback (#260)
Added new form of set bind: SET BIND OF TIME ZONE TO EXTENDED
2020-03-04 19:14:58 +03:00
hvlad
24e4944b05 Merge branch 'master' into query_restarts_2 2020-02-13 02:04:02 +02:00
hvlad
447974bd84 Reworked request restart logic 2020-02-13 01:47:14 +02:00
AlexPeshkoff
b9f4c65220 Added various ways to get infomation about wire crypt plugin name: variable in rdb$get_context(), field in mon$attachments and tag in Attachment::getInfo() 2020-01-15 18:02:19 +03:00
Adriano dos Santos Fernandes
64ecbd8dd2 CORE-6214 - Update outdated tzdata version.
Added documentation and script for update.

zipjs.bat is downloaded from https://github.com/npocmaka/batch.scripts/blob/master/hybrids/jscript/zipjs.bat
2020-01-14 12:41:15 -03:00
AlexPeshkoff
a46a3df0fb Fixup some issues with numeric & decimal datatypes 2019-12-27 15:46:45 +03:00
AlexPeshkoff
4e8674e81e Make raw .md look a bit better 2019-12-10 10:34:45 +03:00
AlexPeshkoff
011546154c Fixed docs 2019-12-06 18:35:43 +03:00
AlexPeshkoff
be6c4c2d28 Documentation, firebird.conf 2019-12-06 18:35:43 +03:00
AlexPeshkoff
6a4db49be4 Added NATIVE binding support 2019-12-06 18:35:43 +03:00
AlexPeshkoff
a6b05a671e Started with doc for a feature 2019-12-06 18:35:43 +03:00
AlexPeshkoff
d5019220f1 Fixed CORE-6186: Original content of column which is involved into ENCRYPT() is displayed as distorted view after this call 2019-12-06 17:25:58 +03:00
hvlad
94d3a7cfe8 Let external transaction run with CONCURRENCY isolation mode if local transaction runs with READ COMMITED READ CONSISTENCY isolation and such isolation mode is not supported by external data source.
Allow to reuse external connection if external data source doesn't support ALTER SESSION RESET statement.
Update documentation.
2019-11-15 10:54:50 +02:00
46102b6084 Fix mistype in CORE-5538 documentation 2019-11-01 10:00:55 +03:00
8a8d7787d0 CORE-5538 implementation (#229)
* CORE-5538 implementation
2019-10-31 12:59:37 +03:00
Alexander Peshkov
861d536fc2
Int128 - new datatype (#220)
* Int128 support - work in progress

* Work in progress

* Int128 datatype appears to be mostly OK except sort & index

* Fixed divide scaling, added sorting & network (xdr) support

* Binding control, aggregate nodes, cleanup and documentation

* Fixed VS2017 AppVeyor build

* Next attempt to fix vs2017 build

* Next attempt to fix vs2017 build

* Next attempt to fix vs2017 build

* Update MSVC build.

* Set VS architecture correctly

* Fixed a number of issues noticed by Mark
2019-09-16 20:59:54 +03:00
Alex Peshkoff
d5bd3c1524 Fixed syntax in doc 2019-09-06 11:53:28 +03:00
Adriano dos Santos Fernandes
d21ab3e8d1 Merge branch 'work/re2' 2019-09-05 22:09:48 -03:00
Alex Peshkoff
76088c21cc Implemented CORE-6048: Provide ability to see current state of DB encryption 2019-09-05 19:23:38 +03:00
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
Adriano dos Santos Fernandes
28e18749ff WIP: Reimplementation of SIMILAR TO and SUBSTRING...SIMILAR using Google's re2 library.
This should fix:
CORE-4874
CORE-5664
CORE-3858
CORE-6088
CORE-3773
CORE-5931
CORE-6088
CORE-4893
2019-08-10 22:39:19 -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
AlexPeshkoff
77d6529b6c Doc cleanup 2018-10-09 15:35:36 +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
hvlad
aac17a3f5e Update docs 2018-08-06 16:00:23 +03:00
hvlad
f8752bb677 Hopefully final corrections: missed (info, EDS) items, spaces, etc 2018-07-22 19:43:51 +03:00
hvlad
ca71a54609 Merge branch 'master' into read_consistency 2018-07-16 16:16:22 +03:00
hvlad
905653a517 Update documentation. 2018-07-16 16:05:10 +03:00
hvlad
aab7364129 Update documentation. 2018-07-03 15:34:22 +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
Alex Peshkoff
b9a93f5312 Applied CORE-5788: Security Patch: Replacement of use of SHA-1 in the SRP Client Proof with SHA-256 2018-06-21 14:49:16 +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