feat: add portal/statement storages
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.
parent
5f7e4ebe
No related branches found
No related tags found
Showing
- src/bootstrap_entries.rs 9 additions, 0 deletionssrc/bootstrap_entries.rs
- src/lib.rs 7 additions, 2 deletionssrc/lib.rs
- src/sql.rs 129 additions, 86 deletionssrc/sql.rs
- src/sql/exports 7 additions, 2 deletionssrc/sql/exports
- src/sql/pgproto.lua 182 additions, 41 deletionssrc/sql/pgproto.lua
- src/sql/pgproto.rs 459 additions, 99 deletionssrc/sql/pgproto.rs
- src/storage.rs 15 additions, 2 deletionssrc/storage.rs
- test/conftest.py 87 additions, 21 deletionstest/conftest.py
- test/int/test_basics.py 1 addition, 0 deletionstest/int/test_basics.py
- test/int/test_pgproto.py 336 additions, 61 deletionstest/int/test_pgproto.py
- test/int/test_sql.py 1 addition, 1 deletiontest/int/test_sql.py
Loading
Please register or sign in to comment