- Apr 17, 2024
-
-
Georgy Moshkin authored
-
- Dec 22, 2023
-
-
- Oct 31, 2023
-
-
Dmitry Rodionov authored
main.rs has grown a bit, adding new stuff to it doesnt feel natural. Smaller files are easier to digest. For me it is easier to find stuff when there are less files on the top level and some hierarchy shows. where to go. A while back I wanted to move sql command to separate file but there is already sql.rs on the top level. This patch solves this issue.
-
- Oct 10, 2023
-
-
- Sep 21, 2023
-
-
Dmitry Rodionov authored
This patch adds new command `picodata sql`. Arguments are the same as `picodata connect`. The idea would be to eventually replace picodata connect with this version. Simple prerequisites for testing with auth: ```lua pico.create_user("Yoda", "12341234") pico.grant_privilege("Yoda", "execute", "role", "super") ``` Super grant wont be needed in the future when access control will be tuned properly (access to system spaces, context: https://git.picodata.io/picodata/picodata/picodata/-/merge_requests/663). Then run `target/debug/picodata run` in one terminal and `target/debug/picodata sql Yoda@localhost:3301` in another one Features: - Usual lib readline goodies, backward/forward search etc. Provided by [rustyline](https://lib.rs/crates/rustyline) - Simple file based history (~/.picodata_history by default) - Displays result sets in ascii tables. Styling can be customized if needed. Here we're using [comfy-table](https://lib.rs/crates/comfy-table) library - If you type `\e` command your `$EDITOR` will be opened so you can write the query there. Once you close your editor the query will be executed (suggested by @funbringer) There are a lot of things we can add. Completion, highlighting, more special commands. Close #363
-
- Sep 19, 2023
-
-
Kurdakov Alexander authored
Allow connecting interactive console over a unix socket `picodata run --console-sock`. Use `picodata connect --unix` to connect.
-
- Aug 16, 2023
-
-
- Aug 10, 2023
-
-
Georgy Moshkin authored
This reverts commit 5a5a1919.
-
Georgy Moshkin authored
-
Denis Smirnov authored
When picodata process forks, the parent and child are connected by two unix pipes: - the fuse (used by the child to detect parent's death); - the ipc channel (used by the parent to get on-exit messages from the child to change its state in the finite-state machine); The problem was that the parent tried to read the message from the pipe right after the fork (and before the child's exit). Usually the pipe was empty at that moment and the parent collected serde's "failed to fill whole buffer" error instead the real message provided by the child.
-
- Aug 02, 2023
-
-
Dmitry Ivanov authored
NB: this commit needs the fixes in tarantool-sys, so we have to update the git submodule.
-
- Jul 05, 2023
-
-
The following commands are affected: - `picodata connect [user@][host][:port]` - `picodata run --peer` - `picodata run --listen` - `picodata run --http-listen` - `picodata run --advertise` - `picodata expel --peer` Only `picodata connect` respects the username. Other options just ignore it. - Provide new `struct Address` - Replace `try_parse_address` function with `impl FromStr for Address`. - Provide both unit and pytests
-
- Jun 22, 2023
-
-
Georgy Moshkin authored
-
- Apr 21, 2023
-
-
This patch introduces `picodata connect` CLI command. It allows connecting to interactive lua console of a picodata instance via iproto The whole implementation comes down to invoking a lua script with `require("console").start()`.
-
- Mar 31, 2023
-
-
- Mar 29, 2023
-
-
-
Егор Ивков authored
-
- Feb 03, 2023
-
-
- Feb 01, 2023
-
-
- Jan 30, 2023
-
-
Yaroslav Dynnikov authored
-
- Jan 27, 2023
-
-
Егор Ивков authored
-
- Jan 20, 2023
-
-
Егор Ивков authored
-
- Dec 23, 2022
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Dec 21, 2022
-
-
- Dec 16, 2022
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Dec 09, 2022
-
-
Valentin Syrovatskiy authored
-
- Dec 08, 2022
-
-
Georgy Moshkin authored
-
- Dec 05, 2022
-
-
Georgy Moshkin authored
-
-
Valentin Syrovatskiy authored
refactor: rename UpdateInstanceRequest -> update_instance::Request, UpdateInstanceResponse -> update_instance::Response Use direct structure names instead of aliases for better IDE code surfing
-
Valentin Syrovatskiy authored
Use direct structure names instead of aliases for better IDE code surfing 1
-
-
- Dec 02, 2022
-
-
Georgy Moshkin authored
-