From 32962b3e9a57b509e4593196472ab287e073fba8 Mon Sep 17 00:00:00 2001
From: liyang0608 <2643278072qq.com>
Date: Tue, 25 Aug 2020 16:17:38 +0800
Subject: [PATCH] syncdts
---
content/en/docs/Developerguide/constraints-on-index-use.md | 2 +-
content/en/docs/Developerguide/set.md | 2 +-
content/zh/docs/Developerguide/SET.md | 2 +-
...\274\225\344\275\277\347\224\250\347\272\246\346\235\237.md" | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/en/docs/Developerguide/constraints-on-index-use.md b/content/en/docs/Developerguide/constraints-on-index-use.md
index 32cc0932d..262ab4fd3 100644
--- a/content/en/docs/Developerguide/constraints-on-index-use.md
+++ b/content/en/docs/Developerguide/constraints-on-index-use.md
@@ -12,7 +12,7 @@ postgres=# set default_text_search_config='ts_conf_1';
postgres=# create index idx1 on table1 using gin(to_tsvector(c_text));
postgres=# set default_text_search_config='ts_conf_2';
-postgres=# create index idx2 on tscp_u_m_005_tbl using gin(to_tsvector(c_text));
+postgres=# create index idx2 on table1 using gin(to_tsvector(c_text));
postgres=# select c_varchar,to_tsvector(c_varchar) from table1 where to_tsvector(c_text) @@ plainto_tsquery('¥#@...&**') and to_tsvector(c_text) @@ postgres=# plainto_tsquery('Company ') and c_varchar is not null order by 1 desc limit 3;
```
diff --git a/content/en/docs/Developerguide/set.md b/content/en/docs/Developerguide/set.md
index 290da9377..8f12eb3b3 100644
--- a/content/en/docs/Developerguide/set.md
+++ b/content/en/docs/Developerguide/set.md
@@ -107,7 +107,7 @@ Most run-time parameters can be modified by executing **SET**. Some parameters
postgres=# SET search_path TO tpcds, public;
-- Set the date style to the traditional POSTGRES style (date placed before month).
-postgres=# SET datestyle TO postgres;
+postgres=# SET datestyle TO postgres,dmy;
```
## Helpful Links
diff --git a/content/zh/docs/Developerguide/SET.md b/content/zh/docs/Developerguide/SET.md
index ae4d52508..73ebb9289 100644
--- a/content/zh/docs/Developerguide/SET.md
+++ b/content/zh/docs/Developerguide/SET.md
@@ -107,7 +107,7 @@
postgres=# SET search_path TO tpcds, public;
--把日期时间风格设置为传统的 POSTGRES 风格(日在月前)。
-postgres=# SET datestyle TO postgres;
+postgres=# SET datestyle TO postgres,dym;
```
## 相关链接
diff --git "a/content/zh/docs/Developerguide/\347\264\242\345\274\225\344\275\277\347\224\250\347\272\246\346\235\237.md" "b/content/zh/docs/Developerguide/\347\264\242\345\274\225\344\275\277\347\224\250\347\272\246\346\235\237.md"
index 80e6d3ce3..1b433513f 100644
--- "a/content/zh/docs/Developerguide/\347\264\242\345\274\225\344\275\277\347\224\250\347\272\246\346\235\237.md"
+++ "b/content/zh/docs/Developerguide/\347\264\242\345\274\225\344\275\277\347\224\250\347\272\246\346\235\237.md"
@@ -12,7 +12,7 @@ postgres=# set default_text_search_config='ts_conf_1';
postgres=# create index idx1 on table1 using gin(to_tsvector(c_text));
postgres=# set default_text_search_config='ts_conf_2';
-postgres=# create index idx2 on tscp_u_m_005_tbl using gin(to_tsvector(c_text));
+postgres=# create index idx2 on table1 using gin(to_tsvector(c_text));
postgres=# select c_varchar,to_tsvector(c_varchar) from table1 where to_tsvector(c_text) @@ plainto_tsquery('¥#@……&**') and to_tsvector(c_text) @@ postgres=# plainto_tsquery('某公司 ') and c_varchar is not null order by 1 desc limit 3;
```
--
Gitee