相关疑难解决方法(0)

在'A'<'a'的地方调试PostgreSQL

在postgres 9.1和8.4中的简单比较测试中,得到以下奇怪的结果。

postgres=# select 1 one where 'A' < 'a';
 one 
-----
(0 rows)    // ..... I would have expected 1 row

postgres=# select 1 one where 'A' < 'b';
 one 
-----
   1
(1 row)    // ...... this looks OK

postgres=# select 1 one where 'A' = 'a';
 one 
-----
(0 rows)   // ...... This also looks OK

postgres=# select 1 one where 'A' > 'a';
 one 
-----
   1
(1 row)    // ...... This is inconsistent with the above results …
Run Code Online (Sandbox Code Playgroud)

c linux postgresql debugging libc

2
推荐指数
1
解决办法
574
查看次数

标签 统计

c ×1

debugging ×1

libc ×1

linux ×1

postgresql ×1