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
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
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
Mark Rotteveel
4566623ec9
CORE-5710 make precision optional for DECFLOAT ( #150 )
...
* CORE-5710 make precision optional for DECFLOAT
* Make DECFLOAT a reserved word
* Add DECFLOAT to keyword_or_column
2018-03-26 17:31:11 +03:00
hvlad
f162f2336e
Initial implementation of external connections pool
2018-02-06 12:52:00 +02:00
AlexPeshkoff
b3f157fc21
Fixed docs after CORE-5700
2018-02-05 19:47:46 +03:00
Adriano dos Santos Fernandes
f141247dac
Misc.
2017-11-05 22:22:00 -02:00
Adriano dos Santos Fernandes
a2556be641
Feature CORE-5620 - Builtin functions FIRST_DAY and LAST_DAY.
2017-11-01 15:30:54 +00:00
e5f712c33c
Small docs addition
2017-10-17 14:14:53 +03:00
6198bc8ee1
High precision datatype support - Numeric(34,x) ( #108 )
...
* Raise underflow when close to 0 decfloat value casted to double
* High precision NUMERIC datatype based on DECFLOAT
* Fixed bulk insert mode in isql for decfloat values
* Enforce correct decQuad format after arithmetic operations
* Minimum docs for high precision NUMERIC/DECIMAL
* Some fixes of code suggested by Adriano:
- Use "const" keyword for Decimal128 constants declared internally
- Remove unneeded buffer initialization
- Remove unused function makeDecimalFixed()
- Follow firebird naming conventions to make code better readable and avoid possible conflicts with various .h files
- Added forgotten scale for DecimalFixed
2017-10-03 17:06:08 +03:00
Adriano dos Santos Fernandes
15be92d1b1
Example for window frames.
2017-08-12 22:56:33 -03:00
Adriano dos Santos Fernandes
3a1a9b9d48
Support for different hashes algorithms in HASH system function.
2017-07-24 13:38:28 +00:00
Adriano dos Santos Fernandes
4be766b8c8
Improvement CORE-5380 - Allow subroutines to call others subroutines and themself recursively.
2017-07-11 13:03:04 +00:00
d0c291144d
Fixed documentation - thanks to Mark Rotteveel
2017-06-17 18:27:14 +03:00
5302ee1fdd
Fixed use of very long DECFLOAT literals
2017-05-03 19:59:26 +03:00
Adriano dos Santos Fernandes
bf284274f4
Misc.
2017-05-02 23:07:08 -03:00
f995ed4408
Merges changes from master
2017-04-02 19:12:18 +03:00
a1425f7383
Brief description of DECFLOAT datatype
2017-03-30 21:05:30 +03:00
Adriano dos Santos Fernandes
3ca6fc140d
Feature CORE-5463 - Support GENERATED ALWAYS identity columns and OVERRIDE clause.
...
I didn't verified why the error messages are being truncated. It seems idiotic if
the engine, library or ISQL does not accept these not-so-detailed messages.
2017-02-24 23:03:04 -03:00
bae769071e
Fix build and forgotten doc ( #75 )
2017-01-17 15:46:14 +03:00
7b9b408658
Implementation of CORE-5064 ( #73 )
...
* Implementation of CORE-5064
* Use constants instead of magic numbers
2017-01-11 19:13:10 +03:00
Adriano dos Santos Fernandes
efc155f4b3
Allow to set more than one ALTER identity option in the same command - CORE-5430.
2016-12-30 13:55:34 -02:00
Adriano dos Santos Fernandes
127dddfe74
Improvement CORE-5431 - Support for DROP IDENTITY clause.
2016-12-28 12:57:47 -02:00
Adriano dos Santos Fernandes
278c993915
Improvement CORE-5430 - Support for INCREMENT option in identity columns.
2016-12-27 14:57:46 -02:00
Dmitry Yemanov
cd8b6e0a41
Reworked syntax for new error context vars, based on feedback from the other devs.
2016-12-02 10:18:47 +03:00
Adriano dos Santos Fernandes
d41c488aca
Added a note to DATEADD.
2016-11-04 12:23:13 -02:00
Roman Simakov
6bde5f9945
Adjust sql security doc
2016-10-26 10:31:39 +03:00
Adriano dos Santos Fernandes
19788ff96d
Misc.
2016-10-03 22:33:31 -03:00
Roman Simakov
052c97b662
Fixes for DB level triggers
2016-10-03 17:55:40 +03:00
Roman Simakov
8423748c2b
Correct description
2016-09-28 18:06:17 +03:00
Roman Simakov
9aab6ed8cc
SQL SECURITY Feature ( #42 )
...
* Added SQL SECURITY clause to various DDL statements
2016-09-28 17:24:04 +03:00
Adriano dos Santos Fernandes
a9378178fd
Feature CORE-5346 - Window Function: named window.
2016-09-23 13:43:10 -03:00
Adriano dos Santos Fernandes
112efb5a29
Misc.
2016-09-06 15:17:52 -03:00
Dmitry Yemanov
ebd0d3c813
More context variables for error handlers, see CORE-1132 and CORE-2040. ( #46 )
...
* Implement some parts of CORE-1132 and CORE-2040.
* Change per Adriano's suggestion.
2016-09-06 21:12:03 +03:00
Adriano dos Santos Fernandes
f80d135842
Documentation for CORE-3647 - Window Function: frame (rows / range) clause.
2016-09-06 13:07:19 -03:00
Adriano dos Santos Fernandes
41d24deb26
Feature CORE-3647 - Window Function: frame (rows / range) clause. Readme to be done.
...
Also updated README.keywords of others features.
2016-09-02 15:20:01 -03:00
Adriano dos Santos Fernandes
935eb9aae3
Convert Window Functions README to markdown.
2016-09-01 13:28:01 -03:00
6e8508730e
Fixed doc - thanks to Helen
2016-08-17 13:13:38 +03:00
Adriano dos Santos Fernandes
01c131b6f7
Improvements to NTILE after Pavel Zotov comments in CORE-3618.
2016-07-31 13:41:40 -03:00
Adriano dos Santos Fernandes
26895605f4
Merge branch 'new_window_functions' of git://github.com/nakagami/firebird into new-window-functions
2016-06-29 12:26:45 -03:00
63b6708e7f
Misc
2016-06-01 12:00:48 +03:00
7ad99b795e
Added support for system privileges
2016-05-31 20:07:08 +03:00
Roman Simakov
513bdba1cf
Fixed misprint
2016-05-27 17:26:07 +03:00
Roman Simakov
f9c8887627
Added description of RDB function
2016-05-23 10:00:43 +03:00
Roman Simakov
238fff3a2d
Fixed CORE-1815: Ability to grant role to another role ( #23 )
...
* Initial patch for cumulative roles
* Fixed multiple records in USER_PRIVILEGES and reworked logic on additional grant default role and admin option
2016-05-12 17:03:54 +03:00
Hajime Nakagami
8745489bb0
Add window functions, PERCENT_RANK(), CUME_DIST() and NTILE().
2016-04-16 02:32:35 +09:00
Adriano dos Santos Fernandes
251ec1c7f5
More changes related to CORE-5167.
2016-04-13 12:47:35 -03:00
0e7dbf02fa
Fixed docs - thanks to Adriano
2016-03-28 12:03:26 +03:00
Dmitry Yemanov
f6e4f41bd9
Simplify migration for old databases affected by changes in
...
CLIENT_ADDRESS. Refresh outdated readme.
2016-03-27 11:20:27 +03:00
de12c06f38
Fixed CORE-5162: SEC$ tables and tag/attributes
2016-03-22 19:31:44 +03:00
alexpeshkoff
c824acf008
Documented CORE-5100
2016-02-03 14:15:41 +00:00
asfernandes
9fbee6b719
Misc.
2015-10-13 02:22:57 +00:00
alexpeshkoff
42b98af12b
Better syntax for CORE-4955 & docs
2015-10-09 13:57:39 +00:00
asfernandes
64f82e1682
Improvement CORE-4923 - Add ability to track domains rename in DDL triggers.
2015-09-02 16:24:31 +00:00
dimitr
31e27214ee
Updated the docs for Beta 2.
2015-06-23 22:00:25 +00:00
asfernandes
ba03a8c71e
1) Improvement CORE-4791 - Make INSERTING/UPDATING/DELETING reserved words to fix ambiguity with boolean expresions.
...
2) Fixed CORE-4735 - Expression 'where bool_field IS true | false' should also use index as 'where bool_field = true | false' (if such index exists).
2015-05-15 16:10:39 +00:00
asfernandes
2b5d5ed57c
Correction - thanks to Simonov Denis.
2015-04-30 15:24:12 +00:00
asfernandes
dd2411e576
Fixed CORE-4755 - Parameterized exception: wrong output when number of arguments greater than 7.
2015-04-29 15:59:46 +00:00
asfernandes
edb4192e67
Changes related to CORE-1180: change syntax and semantics to the standard SQL, and also manage RDB$RELATION_CONSTRAINTS records correctly.
2015-04-02 02:26:46 +00:00
robocop
ed1e4b5b7d
Misc.
2015-03-31 02:10:38 +00:00
asfernandes
5a63bc980a
Corrections, thanks to Simonov Denis.
2015-03-28 00:40:16 +00:00
asfernandes
4554ee24f5
Feature CORE-4722 - Aggregate linear regression functions.
2015-03-25 17:51:54 +00:00
asfernandes
64d146a06f
Feature CORE-4717 - Aggregate statistical functions COVAR_SAMP, COVAR_POP and CORR - contributed by Hajime Nakagami.
2015-03-23 02:55:42 +00:00
dimitr
8cd8d505f4
Fixed a mistake.
2015-03-21 05:15:25 +00:00
dimitr
b1aca05e3a
Updated the docs.
2015-03-19 07:09:49 +00:00
asfernandes
2bd863a353
Feature CORE-4714 - Aggregate statistical functions stddev_pop, stddev_samp, var_pop and var_samp - contributed by Hajime Nakagami.
2015-03-18 21:38:52 +00:00
alexpeshkoff
b7621d6f9d
Fixed CORE-4651: CREATE DATABASE fails for the user having RDB$ADMIN rights in security database
2014-12-26 14:10:39 +00:00
alexpeshkoff
23c9e7e7fe
Documentation changes for CORE-4607: Add support for having >1 UserManager in firebird.conf and use them from SQL
2014-12-24 15:23:42 +00:00
mrotteveel
155508d05e
CORE-4526 Support for SQL:2008 OFFSET and FETCH clauses
2014-11-29 15:39:59 +00:00
alexpeshkoff
c0f587457b
Added doc
2014-11-14 08:24:43 +00:00
dimitr
208adfc8b6
Updated the docs.
2014-11-12 07:44:31 +00:00
alexpeshkoff
2a293c2691
Implemented CORE-4538: Access rights for CREATE DATABASE operator
2014-09-02 16:55:14 +00:00
asfernandes
5ffc936053
Misc.
2014-08-06 02:12:01 +00:00
asfernandes
e4421e1e38
Adjustments as Simonov Denis comments in fb-devel.
2014-07-28 14:50:14 +00:00
asfernandes
8bbd309e67
Improvement CORE-4484 - Description (COMMENT ON) for package procedures and functions, and its parameters.
2014-07-27 03:05:44 +00:00
roman-simakov
b9dd689e57
Correction
2014-07-24 08:38:25 +00:00
asfernandes
0478d4fffa
Fixed CORE-4488 - Wrong results of FOR SELECT <L> FROM <T> AS CURSOR <C> and table <T> is modified inside cursor's begin...end block.
2014-07-21 02:37:58 +00:00
asfernandes
6488dfed7f
Misc.
2014-07-18 01:52:24 +00:00
roman-simakov
46cf49c730
Improved description of DDL access control operations.
...
Fixed DB and DDL triggers handling. Thanks to Adriano.
2014-07-14 13:12:12 +00:00
roman-simakov
573e93e5a6
Fixed CORE-735: User rights for metadata changes.
...
We check DDL in DDL nodes and skip at vio level. vio level still exists for direct metadata editing.
2014-07-08 07:35:27 +00:00
asfernandes
08f3a00cb0
Misc.
2014-06-20 02:28:22 +00:00
asfernandes
d7b5b1acde
Documentation for CORE-4403 - Allow referencing cursors as record variables in PSQL.
2014-06-16 16:04:55 +00:00
robocop
ccbd233b62
Misc.
2014-05-24 06:12:52 +00:00
asfernandes
8cdb9c3f1d
Fixed DOC-92 - Values for rdb$identity_type not correct in release notes.
2014-05-21 17:11:27 +00:00
robocop
5f5feb54e1
Documentation for the generator increment.
2014-04-09 07:38:09 +00:00
alexpeshkoff
6799288d01
misc
2014-04-08 10:46:33 +00:00
alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +00:00
robocop
e4e6de7ebf
Misc.
2014-03-21 23:03:56 +00:00
asfernandes
aa0603f255
Complement DDL triggers documentation.
2014-03-17 15:19:42 +00:00
asfernandes
121cf096b6
Complement DDL triggers documentation.
2014-03-17 15:18:03 +00:00
alexpeshkoff
3dd3429833
Doc enhancement
2014-01-27 07:14:10 +00:00
alexpeshkoff
dacbc27616
Implemented CORE-3365: Extend syntax for ALTER CURRENT USER
2013-12-17 16:24:49 +00:00
alexpeshkoff
7355df4a99
Misc
2013-12-17 15:52:30 +00:00
alexpeshkoff
812f422392
Documented changes in SQL user management
2013-12-17 15:49:10 +00:00