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

379 Commits

Author SHA1 Message Date
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
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
asfernandes
b0595b76aa Improvement CORE-4206 - Add RESTART [WITH] clause for alter identity columns - documentation. 2013-09-05 16:09:25 +00:00
asfernandes
4789ba1672 Improvement CORE-4199 - Add optional START WITH clause to identity columns. 2013-09-04 15:54:19 +00:00
asfernandes
e645285e80 Correction. 2013-06-09 02:07:07 +00:00
robocop
96875db92e Misc. 2013-05-21 21:43:39 +00:00
robocop
028d45b220 Misc. 2013-05-20 03:27:56 +00:00
asfernandes
71d29f5b3b Document CORE-3018 - RECREATE, ALTER and CREATE OR ALTER SEQUENCE/GENERATOR statements. 2013-05-14 15:44:01 +00:00
asfernandes
fba1b8d043 Document CORE-1209 - CONTINUE statement. 2013-05-14 14:53:26 +00:00
asfernandes
0293c564a7 Document subroutines (CORE-1288 and CORE-3626). 2013-05-13 15:56:49 +00:00
asfernandes
47bd80271c Correction. 2013-05-13 15:56:29 +00:00
asfernandes
8d17931603 Document CORE-832 - Add support for parameterized exceptions. 2013-05-10 15:48:47 +00:00
asfernandes
5aac863784 Document CORE-2006 - Regular expression SUBSTRING. 2013-05-10 14:47:51 +00:00
asfernandes
e4c2c79681 Misc. 2013-05-08 15:47:40 +00:00
asfernandes
fc806ef549 Added PSQL functions syntax to package documentation. 2013-05-08 15:34:03 +00:00
asfernandes
d46207d2aa Correction. 2013-05-04 18:10:15 +00:00
asfernandes
64790222ed Document CORE-1180 and CORE-3085. 2013-04-29 15:54:03 +00:00
asfernandes
b7a00b6044 Docs. 2013-04-26 15:52:23 +00:00
asfernandes
9f16366d27 Finish MERGE improvements documentation (CORE-2005, CORE-3020, CORE-3639). 2013-04-26 15:29:48 +00:00
asfernandes
d88b5cf335 Document window functions: CORE-2090, CORE-2133, CORE-2823, CORE-2830, CORE-2869, CORE-3619, CORE-3620, CORE-3621. 2013-04-25 16:30:58 +00:00
asfernandes
f2b24d02ca Misc. 2013-04-21 02:09:45 +00:00
asfernandes
81fb7546c4 Document CORE-726 - Boolean data type. 2013-04-16 16:13:38 +00:00
dimitr
b3ec8d811d Updated docs. 2013-04-13 06:50:19 +00:00
dimitr
02b2bd6707 The initial list of changes for Alpha. 2013-04-13 05:58:54 +00:00
robocop
3c9bbac969 Misc. 2012-07-29 00:24:00 +00:00
asfernandes
b31f4d9b94 Frontport UUID fixes (CORE-3238 and CORE-3887). 2012-07-11 01:56:37 +00:00
robocop
e2914070b9 Misc. 2012-01-19 04:54:39 +00:00
asfernandes
7c9fb70af3 Make UUID_TO_CHAR2 returns lower-cased strings, as the RFC specifies· 2011-12-30 14:38:03 +00:00
asfernandes
359f74e73a Misc. 2011-12-24 18:08:13 +00:00
asfernandes
1bb24e6c08 Fixed CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-20 14:30:41 +00:00
asfernandes
a25584f7a2 Fixed CORE-3382 - Incomplete description of POSITION() function. 2011-12-06 14:38:49 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
asfernandes
372d48c97b Improvement CORE-3639 - Allow the use of multiple WHEN MATCHED / NOT MATCHED clauses in MERGE, as per the SQL 2008 specification.
Also updated MERGE and RETURNING docs, and fixed a bug with MERGE WHEN MATCHED DELETE and RETURNING.
2011-10-23 01:31:11 +00:00
robocop
ec9ec671c4 Misc. 2011-04-01 04:03:49 +00:00
asfernandes
dfe830af7c Added EVENT_TYPE and OBJECT_TYPE to DDL_TRIGGER context. Improvement suggested by Thomas Steinmaurer. 2011-02-20 01:08:48 +00:00
asfernandes
e623bb4bf1 Misc 2011-02-18 00:52:10 +00:00
hvlad
9f5a439868 Fixed bug CORE-3349 : Constants isc_lock_conflict / isc_eds_statement not recognized in PSQL 2011-02-14 15:21:07 +00:00
hvlad
ff4baf32a8 Correction 2011-02-13 19:16:16 +00:00
asfernandes
9a9a5f2570 Fixed doc. mismatch reported by Paul Vinkenoog 2010-09-10 01:59:19 +00:00
dimitr
d29c9df5cf CORE-3102 (minor documentation mistake) 2010-08-09 14:50:11 +00:00
asfernandes
087b3c8fba Misc 2010-06-18 13:13:37 +00:00
asfernandes
79029ac87d Misc 2010-06-18 12:41:59 +00:00
robocop
f08b9d9a71 Misc. 2010-03-19 07:04:39 +00:00
hvlad
8e3eb47de9 Update documentation 2010-03-18 11:52:07 +00:00
robocop
d74b3f4774 Misc. 2010-01-15 05:13:43 +00:00
asfernandes
e0ce09805a Remove the not agreed feature. Bad, bad... 2010-01-15 03:00:15 +00:00
asfernandes
7c59c445e7 Misc 2010-01-14 16:47:47 +00:00
asfernandes
9c1bab1793 Feature CORE-1385 Identity columns - in its basic form 2010-01-13 19:14:15 +00:00
robocop
7f4e9cedc3 Misc. 2010-01-10 09:20:16 +00:00
asfernandes
72fab0e317 Update way to deliver parameterized exceptions so the client doesn't need special handling 2010-01-08 14:13:12 +00:00
asfernandes
be859980ea Feature CORE-832 - Parameterized exceptions 2010-01-07 00:16:50 +00:00
robocop
e229d40d8c Misc. 2009-12-29 07:08:59 +00:00
asfernandes
c9b8938854 Package example 2009-11-14 20:17:30 +00:00
robocop
6cce8ea94e Misc. 2009-11-09 10:41:21 +00:00
asfernandes
ad7ec2bb48 Doc. typo 2009-10-22 00:21:41 +00:00
robocop
9e6a713f0f Misc. 2009-10-21 07:25:43 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
robocop
4d468895ea Misc & style. 2009-05-17 11:20:43 +00:00
asfernandes
c991e7d5cf Misc 2009-05-15 00:51:21 +00:00
hvlad
e001741d4b Documentation for improvement CORE-2452 : Add Role Name in input parameters for EXECUTE STATEMENT 2009-05-14 10:37:51 +00:00
asfernandes
9e0c4f06f2 Misc 2009-04-04 16:28:33 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
asfernandes
f0de59cde9 Misc 2009-02-13 21:08:56 +00:00
robocop
6612f1b08c Misc. 2009-02-13 07:48:28 +00:00
hvlad
943fbe0e90 Update documentation 2009-02-12 09:34:00 +00:00