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

1023 Commits

Author SHA1 Message Date
Vlad Khorsun
69f8afd178 Fixed DELETE RETURNING handling, update documentation for SKIP LOCKED.
Revert the old way of BLR generation for DELETE RETURNING when SKIP LOCKED is not specified.
2023-11-23 18:55:41 +02:00
Adriano dos Santos Fernandes
f3205ff81d
Feature SET AUTOTERM in ISQL. (#7868) 2023-11-23 08:48:39 -03:00
b495b3f174
Allow to create database with different owner (#7718)
* Allow to create database with different owner via API

* Support for OWNER clause in executeCreateDatabase()

* squash! Support for OWNER clause in executeCreateDatabase()

Fix rebase error
2023-11-20 18:02:59 +03:00
Dmitry Yemanov
a39e0cc94e Misc 2023-11-13 11:26:13 +03:00
Dmitry Yemanov
1334fcfad6 Fixed typo 2023-11-11 20:35:05 +03:00
Dmitry Yemanov
74b90ce633 Better description of the replica creation 2023-11-11 13:47:58 +03:00
Alexandr
93c1b1f815
Merge branch 'master' into master 2023-11-10 13:12:38 +03:00
Vlad Khorsun
7a858e240e Implement #7818 : Extend rdb$get_context('SYSTEM', '***') with other info from MON$ATTACHMENT 2023-10-29 23:25:58 +02:00
Alexander Zhdanov
695082ece7 added the ability to change sql security option in alter package 2023-10-26 00:39:41 +03:00
Alexander Zhdanov
5b620936e2 added the ability to change sql security opt in alter procedure 2023-10-25 19:27:43 +03:00
TreeHunter
897ac0c650
Add FORMAT clause to convert datetime types to string and vice versa #2388 (#7629)
* Add FORMAT clause to convert datetime types to string and vice versa

* Add tests for FORMAT clause

* Fixes after review

* Change TZD to TZR

* Change inline variables back to static

* Add README documentation

* Add ability to use " in raw string and ...

Use session timezone if timezone is not specified.
Add ability to use + sign in timezone offset.
Add truncating string exception.

* Move util methods from BOOST_AUTO_TEST_SUITE

* Switch back to inline variables

* Consider charset in the format string

* Add ability to write patterns without separators

* Use printf to add extra zeros

Also add extra zeros to the year patterns.

* Replace template exception with a plain function

* Clean code after review

* Fix bug with TZH:TZM when TZH is 0

* Add TZR to STRING to DATE

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2023-10-24 07:01:58 -03:00
Alexander Zhdanov
9b823e6996 Add ability to change sql security option in alter function 2023-10-16 21:41:41 +03:00
Alexandr
5327ed835c
Added the ability to change deterministic option (#7758)
* Added the ability to change deterministic option
Added the ability to change deterministic opt without specifiying the entire body of the function.
Extended "ALTER FUNCTION" syntax:
ALTER FUNCTION <name> DETERMINISTIC;
ALTER FUNCTION <name> NOT DETERMINISTIC;

* added const qualifier to flag, removed nested if/else

* added doc

---------

Co-authored-by: Alexander Zhdanov <alexander.zhdanov@red-soft.ru>
2023-10-06 16:44:43 +03:00
Adriano dos Santos Fernandes
b6248f6453 Feature #7587 - CALL statement. 2023-09-19 07:29:03 -03:00
Adriano dos Santos Fernandes
00a50429cb Feature #7566 - Allow DEFAULT keyword in argument list. 2023-09-19 07:19:19 -03:00
Adriano dos Santos Fernandes
5dbd5a46ef Allow mixed (positional, named) arguments. 2023-09-19 07:14:06 -03:00
Adriano dos Santos Fernandes
1b2b3ab638 Named arguments for function call, EXECUTE PROCEDURE and procedure record source. 2023-09-19 07:14:02 -03:00
Adriano dos Santos Fernandes
39b019574a
Feature #7675 - EXPLAIN statement and RDB$SQL package. (#7697)
* Feature #7675 - EXPLAIN statement and RDB$SQL package.

* Change ObjectsArray::back() to match STL semantics and add front() method.

* Fix indentation problem.

* Add OBJECT_TYPE column.

* Add CARDINALITY column.

* Add conversion from bid to ISC_QUAD.

* Replace fb_assert by static_assert.

* Change ACCESS_PATH output parameter to blob.

* Improve docs.
2023-09-18 21:52:20 -03:00
Adriano dos Santos Fernandes
5d47a0ba7c Replace throw() by noexcept. 2023-09-18 20:27:13 -03:00
Adriano dos Santos Fernandes
a71ec888e4
Improvement #7590 - Improve DECLARE VARIABLE to accept complete value expressions. (#7608) 2023-09-18 08:02:05 -03:00
Adriano dos Santos Fernandes
986e96fac8
SQL 2023 ANY_VALUE aggregate function. (#7617) 2023-09-18 07:51:41 -03:00
Adriano dos Santos Fernandes
93acbd1aef
Update allowed C++ version (#7654)
* Update allowed C++ version.

* Build examples using C++11.

* Remove pre-C++11 fallback in examples code - thanks to Alex.
2023-09-18 07:14:06 -03:00
Dmitry Yemanov
875f0a25a3 New release version in scripts 2023-09-17 18:29:37 +03:00
Dmitry Yemanov
2375c3d449 Added v5 keywords to the readme 2023-09-14 21:27:30 +03:00
Adriano dos Santos Fernandes
b31d37b787 MacOS: build libicu and static libc++ using vcpkg.
Also improve non-CI build automation.
2023-08-23 23:09:49 -03:00
Alexandr Zhdanov
167d28f188 Added sha3 support for the built-in function CRYPT_HASH()
Added support for sha3_224, sha3_256, sha3_384, sha3_512 for the built-in
CRYPT_HASH() function
2023-08-11 12:35:37 +03:00
Adriano dos Santos Fernandes
47e621b115
Document possible problem of very high overhead using the profiler. (#7689) 2023-08-11 06:13:48 -03:00
Adriano dos Santos Fernandes
c86bd3d4f4 Improvement #7687 - Add LEVEL column to PLG$PROF_RECORD_SOURCES and PLG$PROF_RECORD_SOURCE_STATS_VIEW.
All checks were successful
continuous-integration/drone/push Build is passing
Also avoid start collect profiling data for a record source not from its initial node.
2023-07-28 07:17:02 -03:00
Adriano dos Santos Fernandes
844631b0ee Fix #7638 - OVERRIDING USER VALUE should be allowed for GENERATED ALWAYS AS IDENTITY.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-06-27 22:59:42 -03:00
Adriano dos Santos Fernandes
00bb8e4581 Improvement #7652 - Make the profiler store aggregated requests by default, with option for detailed store.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 22:53:23 -03:00
AlexPeshkoff
be7ef14d4f Doc for #7642
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-21 18:03:30 +03:00
Mark Rotteveel
397b28a034 Delete obsolete README.Win9X_NT_embedding
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-08 17:07:02 +02:00
Adriano dos Santos Fernandes
fec506f4de
Feature #5959 - Add support for QUARTER to EXTRACT, FIRST_DAY and LAST_DAY [CORE5693] (#7564)
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-06 13:16:03 -03:00
Vlad Khorsun
c94d96b308 Improvement #7550 : Add support for -parallel in combination with gfix -icu 2023-04-16 18:26:02 +03:00
Mark Rotteveel
2c79b8770d Fix profiler owner, copy changes from rlsnotes 2023-03-17 11:24:51 +01:00
Adriano dos Santos Fernandes
4595a2c0e3 Add PLG$PROF_CURSORS and some others fixes. 2023-01-10 20:57:51 -03:00
Adriano dos Santos Fernandes
8b934a38c0 Some corrections (datatypes and view's column name) in the profiler plugin. 2023-01-05 08:00:59 -03:00
Adriano dos Santos Fernandes
73c1ab807a
RDB$BLOB_UTIL system package. (#281)
* RDB$BLOB_UTIL system package.

* Do not checkout from engine when calling system packages.

* Remove usage of Attachment::SyncGuard in RDB$BLOB_UTIL.

* Fix Windows build.

* Fix RDB$BLOB_UTIL.SEEK.

* Fix crash.

* Rework changing routines and names for better fit after creation of BLOB_APPEND.

* Add RDB$BLOB_UTIL.IS_WRITABLE function.

* Misc.

* Fix documentation.

* Re-add and use RDB$BLOB_UTIL_HANDLE domain.

* Rename domain RDB$LONG_NUMBER to RDB$INTEGER.
2022-12-16 06:53:47 -03:00
Adriano dos Santos Fernandes
5cc8a8f7fd
SKIP LOCKED clause for SELECT WITH LOCK, UPDATE and DELETE (#7350)
* SKIP LOCKED clause for SELECT WITH LOCK, UPDATE and DELETE.

* Misc.

* Change as Dmitry suggested and fix Windows build.

* Change order of LOCK to between SKIP and FIRST.

* Avoid refetch with READ COMMITTED transaction as suggested by Dmitry.

* Revert changes to TRA_wait and use tra_probe in vio/prepare_update
when skipping locked.

* Add to CHANGELOG.
2022-10-28 07:09:01 -03:00
Dmitry Yemanov
cb104a6dec Update the docs 2022-10-24 14:40:02 +03:00
Dmitry Yemanov
213bc1c2b8 Front-copied BLOB_APPEND readme to master 2022-10-21 10:04:53 +03:00
Dmitry Yemanov
4039167924 Merge branch 'master' into partial-idx 2022-10-10 20:25:15 +03:00
Vlad Khorsun
4ab49be70c Improvement #7186 : FB4 Nbackup RDB$BACKUP_HISTORY issue 2022-10-06 13:01:04 +03:00
Dmitry Yemanov
f3269d144d Added the docs 2022-08-12 16:00:15 +03:00
Adriano dos Santos Fernandes
581795ed78 Merge branch 'work/profiler-plugin' into work/profiler-plugin-merge 2022-08-10 22:26:38 -03:00
Adriano dos Santos Fernandes
64c34f5127
Docs about FirebirdSQL/firebird-documentation#173 2022-07-13 22:19:48 -03:00
AlexPeshkoff
c3b172d4e2 Implemented #7046: Make ability to add comment to mapping ('COMMENT ON MAPPING ... IS ...') 2022-07-01 18:25:42 +03:00
Vlad Khorsun
885ff64f93
Merge pull request #7218 from FirebirdSQL/work/isql-perTableStats
Work/isql per table stats
2022-07-01 10:18:45 +03:00
AlexPeshkoff
96164aba77 Docs 2022-06-27 16:43:29 +03:00
Vlad Khorsun
a4c6a4db1c Some misc corrections per Adriano comments and documentations. 2022-06-24 12:18:33 +03:00