04 2024 档案

[code notes] ecpg precompiler 1
摘要:This note will introduce the workflow of parse.pl of the ecpg precompiler. Run the precompiler: perl parse.pl . ../../../backend/parser/gram.y workflo 阅读全文

posted @ 2024-04-19 11:35 winter-loo 阅读(8) 评论(0) 推荐(0) 编辑

lightdb 支持从父查询中返回子查询表中的 rowid
摘要:背景 在如下的 sql 中, select rowid from (select 1 from t); lightdb 24.1 以前会直接报错,说找不到 rowid 列。为了兼容 Oracle, 在 24.1 中,我们选择将告知子查询除了返回子查询应有的列之外,还需返回 rowid 列。 样例 以 阅读全文

posted @ 2024-04-11 16:26 winter-loo 阅读(4) 评论(0) 推荐(0) 编辑

[code notes] subquery parsing in postgresql
摘要:The SQL select a from (select a from t); Overview from (select a from t) will map to one RangeTblEntry struct of the outter query. from t will map to 阅读全文

posted @ 2024-04-11 16:09 winter-loo 阅读(6) 评论(0) 推荐(0) 编辑

lightdb 支持 merge partitions
摘要:背景 Oracle 中支持很多种分区管理操作。其中 merge partitions 会将多个连续分区合并成一个分区。lightdb 24.1 中支持了该功能。 merge partitions 功能支持 list 和 range 分区,不支持 hash 分区。 用例 range 分区 CREATE 阅读全文

posted @ 2024-04-03 09:14 winter-loo 阅读(8) 评论(0) 推荐(0) 编辑

lightdb 支持 oracle raw bit_and 等
摘要:背景 Oracle 的 Raw 类型可以进行位操作,在 lightdb 24.1 中,对其中的函数:bit_and, bit_or, bit_xor, bit_complement 四个函数进行了改进:这些函数有了 strict 属性,即输入参数如果有 null, 则直接返回 null。 用例 bi 阅读全文

posted @ 2024-04-02 20:42 winter-loo 阅读(18) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示