Skip to content

Commit 676d34a

Browse files
authored
Merge pull request #77 from balinorLiang/v3.4_doc_updating
V3.4 doc updating
2 parents 6ecd7ec + 4e4b7ed commit 676d34a

File tree

4 files changed

+3
-39
lines changed

4 files changed

+3
-39
lines changed

CN/modules/ROOT/pages/v3.4/1.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ IvorySQL 3.4基于PostgreSQL 16.4,并修复了多个问题。更多信息请
2727
== 问题修复
2828

2929
- 新增 Oracle sequence功能: 问题 https://github.com/IvorySQL/IvorySQL/issues/588[#588]
30-
- 支持 xmlisvalid 和 xmlelement 函数: 问题 https://github.com/IvorySQL/IvorySQL/issues/695[#695]
30+
- 支持 xmlisvalid 函数: 问题 https://github.com/IvorySQL/IvorySQL/issues/695[#695]
3131
- 在Oracle模式下为字符类型限制设置为2000: 问题 https://github.com/IvorySQL/IvorySQL/issues/561[#561]
32-
- 支持使用SQL命令ALTER TABLE ADD (CONSTRAINT ...)向现有表添加约束: 问题 https://github.com/IvorySQL/IvorySQL/issues/612[#612]
32+
- 支持使用SQL命令ALTER TABLE ADD (CONSTRAINT ...)向现有表添加约束: 问题 https://github.com/IvorySQL/IvorySQL/issues/612[#612]
3333
- 支持以下函数 TO_MULTI_BYTE(), TO_SINGLE_BYTE(), ASCIISTR(), COMPOSE(), DECOMPOSE(): 问题 https://github.com/IvorySQL/IvorySQL/issues/609[#609]
3434
- docker_library项目现已支持Debian的X86和ARM架构: https://github.com/IvorySQL/docker_library/issues/16[#16]
3535

CN/modules/ROOT/pages/v3.4/26.adoc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ SELECT existsnode(XMLType('<a><b>d</b></a>'), '/a') from dual;
4242
| 10 | <<insertchildxmlbefore>> | 该函数用于向指定的XML路径之前插入子节点
4343
| 11 | <<insertchildxmlafter>> | 该函数用于向指定的XML路径之后插入子节点
4444
| 12 | <<xmlisvalid>> | 该函数用于检查XML格式是否正确
45-
| 13 | <<xmlelement>> | 该函数用于生成XML格式的数据结构
4645
|====
4746

4847

@@ -222,21 +221,4 @@ xmlisvalid
222221
------------
223222
t
224223
(1 row)
225-
```
226-
227-
[[xmlelement]]
228-
=== xmlelement
229-
```
230-
ivorysql=# create table xmltest(id int, data XMLType);
231-
CREATE TABLE
232-
ivorysql=# insert into xmltest values(1,'<value>one</value>');
233-
INSERT 0 1
234-
ivorysql=# insert into xmltest values(2,'<value>two</value>');
235-
INSERT 0 1
236-
ivorysql=# SELECT XMLELEMENT("Employee"), XMLELEMENT("Id", x.id), XMLELEMENT("Data", x.data) AS "Result" FROM xmltest x;
237-
xmlelement | xmlelement | Result
238-
------------+------------+-------------
239-
<Employee/> | <Id>1</Id> | <Data>&lt;value&gt;one&lt;/value&gt;</Data>
240-
<Employee/> | <Id>2</Id> | <Data>&lt;value&gt;two&lt;/value&gt;</Data>
241-
(2 rows)
242224
```

EN/modules/ROOT/pages/v3.4/1.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For further details, visit https://www.postgresql.org/docs/release/16.4/[Postgre
2626
== Fixed Issue
2727

2828
- Add support for oracle sequence: Issue https://github.com/IvorySQL/IvorySQL/issues/588[#588]
29-
- Support xmlisvalid and xmlelement functions : Issue https://github.com/IvorySQL/IvorySQL/issues/695[#695]
29+
- Support xmlisvalid function: Issue https://github.com/IvorySQL/IvorySQL/issues/695[#695]
3030
- Set limit 2000 for character type in oracle mode: Issue https://github.com/IvorySQL/IvorySQL/issues/561[#561]
3131
- Support for adding constraints to existing tables using the SQL command ALTER TABLE ADD (CONSTRAINT ...): Issue https://github.com/IvorySQL/IvorySQL/issues/612[#612]
3232
- Support TO_MULTI_BYTE(), TO_SINGLE_BYTE(), ASCIISTR(), COMPOSE(), DECOMPOSE() functions: Issue https://github.com/IvorySQL/IvorySQL/issues/609[#609]

EN/modules/ROOT/pages/v3.4/26.adoc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ When implementing these 11 Oracle-compatible XML functions, IvorySQL adopted two
4545
| 10 | <<insertchildxmlbefore>> | This function is used to insert child nodes before a specified XML path.
4646
| 11 | <<insertchildxmlafter>> | This function is used to insert child nodes after a specified XML path.
4747
| 12 | <<xmlisvalid>> | This functions is used to check the xml content is valid or not
48-
| 13 | <<xmlelement>> | This functions is used to produce an XML element.
4948
|====
5049

5150

@@ -226,20 +225,3 @@ xmlisvalid
226225
t
227226
(1 row)
228227
```
229-
230-
[[xmlelement]]
231-
=== xmlelement
232-
```
233-
ivorysql=# create table xmltest(id int, data XMLType);
234-
CREATE TABLE
235-
ivorysql=# insert into xmltest values(1,'<value>one</value>');
236-
INSERT 0 1
237-
ivorysql=# insert into xmltest values(2,'<value>two</value>');
238-
INSERT 0 1
239-
ivorysql=# SELECT XMLELEMENT("Employee"), XMLELEMENT("Id", x.id), XMLELEMENT("Data", x.data) AS "Result" FROM xmltest x;
240-
xmlelement | xmlelement | Result
241-
------------+------------+-------------
242-
<Employee/> | <Id>1</Id> | <Data>&lt;value&gt;one&lt;/value&gt;</Data>
243-
<Employee/> | <Id>2</Id> | <Data>&lt;value&gt;two&lt;/value&gt;</Data>
244-
(2 rows)
245-
```

0 commit comments

Comments
 (0)