Skip to content

Commit e23ff22

Browse files
committed
update nls.doc per review comments
1 parent 8c54fa1 commit e23ff22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CN/modules/ROOT/pages/master/6.3.5.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ oratimestamptz_in()
129129

130130
如果相应的掩码被设置,则调用原生PG的处理函数,否则调用兼容代码并忽略NLS格式。
131131

132-
=== GUC参数 `nls_date_format` `nls_timestamp_format` `nls_timestamp_tz_format`
132+
=== GUC参数 `nls_date_format`/`nls_timestamp_format`/`nls_timestamp_tz_format`
133133

134134
这三个GUC参数,在函数 `ora_do_to_timestamp()` 中做为格式字符串,对输入的字符串进行格式检查与模式识别。
135135

@@ -140,7 +140,7 @@ char *nls_timestamp_format = "YYYY-MM-DD HH24:MI:SS.FF6";
140140
char *nls_timestamp_tz_format = "YYYY-MM-DD HH24:MI:SS.FF6 TZH:TZM";
141141
```
142142

143-
=== GUC参数 `nls_currency` `nls_iso_currency` `nls_territory`
143+
=== GUC参数 `nls_currency`/`nls_iso_currency`/`nls_territory`
144144

145145
目前,`nls_territory` 和 `nls_iso_currency` 支持CHINA与AMERICA两个值。
146146

EN/modules/ROOT/pages/master/6.3.5.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ oratimestamptz_in()
124124

125125
If the corresponding mask is set, the native PostgreSQL processing function is called; otherwise, the compatibility code is invoked, and NLS formats are ignored.
126126

127-
=== GUC Parameters `nls_date_format` `nls_timestamp_format` `nls_timestamp_tz_format`
127+
=== GUC Parameters `nls_date_format`/`nls_timestamp_format`/`nls_timestamp_tz_format`
128128

129129
These three GUC parameters serve as format strings in the function `ora_do_to_timestamp()` for checking and parsing input strings. Their default values are:
130130
```c
@@ -134,7 +134,7 @@ char *nls_timestamp_tz_format = "YYYY-MM-DD HH24:MI:SS.FF6 TZH:TZM";
134134
```
135135
Setting these values to "pg" disables NLS-specific behavior, reverting to PostgreSQL's default behavior.
136136

137-
=== GUC Parameters `nls_currency` `nls_iso_currency` `nls_territory`
137+
=== GUC Parameters `nls_currency`/`nls_iso_currency`/`nls_territory`
138138

139139
Currently, `nls_territory` and `nls_iso_currency` support the values CHINA and AMERICA.
140140

0 commit comments

Comments
 (0)