Commit Graph

6 Commits

Author SHA1 Message Date
Asdine El Hrychy
fa66f81fb6 Improve default value expressions 2021-07-02 18:41:33 +04:00
Asdine El Hrychy
6af0a6f114 Add new environment package 2021-07-02 18:59:20 +04:00
Asdine El Hrychy
d5401cfe5d Decouple transaction from catalog
To avoid cyclic dependencies, we removed the Catalog from the
Transaction type and pass it around everywhere.
2021-07-02 15:55:58 +04:00
Asdine El Hrychy
661c0eacce Add support for sequences (#416)
This adds support for sequences to Genji. For now, only sequence creation and use is supported, dropping or modifying a sequence will be added later.

To create a sequence:

```sql
CREATE SEQUENCE seq INCREMENT BY 10 MINVALUE 100 NO MAXVALUE START 500 CACHE 32 CYCLE;
```
2021-06-26 17:53:52 +04:00
Asdine El Hrychy
9918cd6f55 Thread safe statements (#406)
Previously, expressions and params were evaluated
during the planning phase. This change builds the query
plan without evaluating params and expressions
which are then evaluated only during the execution phase.
2021-06-04 10:56:23 +04:00
Asdine El Hrychy
37ebf47ea8 Move packages under internal package
These packages are not part of the public API and can break at any time.
2021-05-23 11:05:41 +04:00