Open prochac opened 1 week ago
I'm planning to rewrite the entire Tree, right now that code is messy and not scalable, it only supports 3 levels of depth only. In general, i don't like it, so with that rewrite i think it would be easier to implement partitions.
I looked at how it's implemented in DataGrip (which has super slow starts, that's why I'm considering lazysql), and they do use some kind of recursion. Columns, indexes, sequences, triggers, and partitions are one level below the table. And if you open the partition, it's again the columns, indexes...
Partitions are listed among other tables, leading to a very noisy list.
The relations can be easily listed, in Postgres, by
BTW, MySQL also supports partitioning, but I have zero experience here.
https://dev.mysql.com/doc/refman/8.4/en/partitioning-overview.html