- Mar 07, 2024
-
-
Maksim Kaitmazian authored
This commit introduces: * statement and portal storages; * statements with parameter oids; * portal encoding; * interactive portals; Portal encoding defines in which format (binary or text) columns are returned. Interactive portals allow to limit the number of rows returned from execute method. Other rows can be extracted by calling execute again on the same portal.
-
-
- Mar 04, 2024
-
-
Arseniy Volynets authored
- add new ddl opcode for renaming procedure - update sbroad submodule to get sql support - syntax: alter procedure "foo" rename to "bar" option(timeout=3) alter procedure "foo"(int, int) rename to "bar"
-
- Feb 22, 2024
-
-
- Feb 21, 2024
-
-
Alexander Kurdakov authored
-
- Feb 08, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Feb 06, 2024
-
-
Denis Smirnov authored
Current commit introduces - _pico_routine replicated table - procedure creation with SQL API
-
- Feb 05, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Jan 30, 2024
-
-
- Jan 26, 2024
-
-
- Dec 19, 2023
-
-
-
-
-
This patch adds initiator field to most of the events. Initiator is added to members of Op enum which do not contain it already (e g owner in CreateUser serves as initiator). To me it is reasonable to remove as_user from CaS/ACL checks because it matches initiator. But I decided not to do this just yet. Additionally I've mande small cleanup to UserMetadata to avoid need for intermediate step in decoding when we first fetch tuple and then decode it into model struct. Close https://git.picodata.io/picodata/picodata/picodata/-/issues/433
-
-
At the later stage I discovered that sbroad applies the same validation rules during parsing of grant/revoke statements and even its own Privilege enum that is a ~copy of our PrivilegeType. Unfortunately at the moment there is no way to share code between picodata and sbroad efficiently (now only tarantool-module is shared and it is not suitable for such kind of things) so it still makes sense to have this in picodata because this is the point where all APIs converge to the single point (CaS). In the future all other ways of validation should be removed. Aside from sbroad similar kind of validation is performed independently on lua API side. Note that in prior commit 45ba7392 we've removed all privileges from role super. This patch removes privileges from admin that do not match the model: namely all privileges on universe except session and usage. With this patch it is no longer possible to grant or revoke such privileges.
-
This allows future constructors to enforce invariants. Additionally this commit removes redundant set_schema_version on Op by passing schema version to corresponding Op constructors.
-
- Dec 06, 2023
-
-
- Dec 04, 2023
-
-
Dmitry Ivanov authored
-
Dmitry Ivanov authored
This patch reintroduces instance-related events (e.g. `join_instance`) which were accidentally disabled in a bugfix of the DML handler (see commit 52ed9237 for more information) due to the lack of tests. Furthermore, this patch adds the following events: * expel_instance * change_config, which tracks changes in `_pico_property` This was the original intended change of the patch, but the apparent breakage of the preexisting events called for action.
-
Егор Ивков authored
This change allows for creators of corresponding objects to consequently have all privileges on them.
-
- Nov 29, 2023
-
-
- Nov 28, 2023
-
-
EmirVildanov authored
-
EmirVildanov authored
-
- Nov 27, 2023
-
-
Georgy Moshkin authored
-
-
Dmitry Rodionov authored
Rename space object type to table
-
- Nov 24, 2023
-
-
Egor Ivkov authored
-
Dmitry Ivanov authored
-
Dmitry Ivanov authored
-
Dmitry Ivanov authored
Now the records look like this: ``` { "message": "instance is starting", "severity": "low", "time": "2023-11-22T22:10:24.211+0300", "title": "local_startup" } { "message": "target grade of instance `i1` changed to Online(7)", "severity": "low", "time": "2023-11-22T22:10:24.334+0300", "title": "change_target_grade" } { "message": "current grade of instance `i1` changed to Replicated(7)", "severity": "medium", "time": "2023-11-22T22:10:24.436+0300", "title": "change_current_grade" } ```
-
-
- Nov 23, 2023
-
-
Dmitry Rodionov authored
sbroad needs to be updated to the version that supports newer tarantool-module sbroad support for new module version was merged here: https://git.picodata.io/picodata/picodata/sbroad/-/merge_requests/355
-
- Nov 21, 2023
-
-
Georgy Moshkin authored
- Now we explicitly store the current & target vshard configuration in global storage
-
- Nov 20, 2023
-
-
Yaroslav Dynnikov authored
Follow-up for bfe08313 Also fix some docstrings
-
Georgy Moshkin authored
-