aboutsummaryrefslogtreecommitdiff
path: root/doc/FAQ_chinese
diff options
context:
space:
mode:
Diffstat (limited to 'doc/FAQ_chinese')
-rw-r--r--doc/FAQ_chinese15
1 files changed, 4 insertions, 11 deletions
diff --git a/doc/FAQ_chinese b/doc/FAQ_chinese
index dd159e0b11d..e39c0c77a9f 100644
--- a/doc/FAQ_chinese
+++ b/doc/FAQ_chinese
@@ -88,11 +88,8 @@
4.22) 为什么使用 IN 的子查询这么慢?
4.23) 如何进行 outer join (外连接)?
4.24) 如何使用涉及多个数据库的查询?
-
4.25) 如何让函数返回多行或多列?
-
4.26) 为什么在 PL/PgSQL 函数中不能可靠地创建或删除临时表?
-
4.27) 有哪些数据复制选项?
4.28) 有哪些数据加密选项?
@@ -702,17 +699,13 @@
当使用通配符操作,例如 LIKE 或 ~ 时,索引只能在特定的情况下使用:
* 字符串的开始部分必须是普通字符串,也就是说:
-
* LIKE 模式不能以 % 打头。
* ~ (正则表达式)模式必须以 ^ 打头。
+ * 字符串不能以匹配多个字符的模式类打头,例如 [a-e]。
+ * 大小写无关的查找,如 ILIKE 和 ~* 等不使用索引。但可以用 4.12
+ 节描述的函数索引。
+ * 在做 initdb 时必须采用缺省的本地设置 C locale。
- 字符串不能以匹配多个字符的模式类打头,例如 [a-e]。
-
- 大小写无关的查找,如 ILIKE 和 ~* 等不使用索引。但可以用 4.12
- 节描述的函数索引。
-
- 在做 initdb 时必须采用缺省的本地设置 C locale。
-
4.9) 我如何才能看到查询优化器是怎样处理我的查询的?
参考 EXPLAIN 手册页。