Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
2fa42cc9
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2fa42cc9
编写于
7月 15, 2008
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix alignment of SGML array docs.
上级
bd53eb4b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
33 addition
and
33 deletion
+33
-33
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+33
-33
未找到文件。
doc/src/sgml/func.sgml
浏览文件 @
2fa42cc9
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.4
39 2008/07/07 16:11:35 petere
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.4
40 2008/07/15 18:24:59 momjian
Exp $ -->
<chapter
id=
"functions"
>
<title>
Functions and Operators
</title>
...
...
@@ -9340,10 +9340,10 @@ SELECT NULLIF(value, '(none)') ...
<tbody>
<row>
<entry>
<literal>
<function>
array_append
</function>
(
<type>
anyarray
</type>
,
<type>
anyelement
</type>
)
</literal>
</entry>
<literal>
<function>
array_append
</function>
(
<type>
anyarray
</type>
,
<type>
anyelement
</type>
)
</literal>
</entry>
<entry><type>
anyarray
</type></entry>
<entry>
append an element to the end of an array
</entry>
<entry><literal>
array_append(ARRAY[1,2], 3)
</literal></entry>
...
...
@@ -9351,10 +9351,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
array_cat
</function>
(
<type>
anyarray
</type>
,
<type>
anyarray
</type>
)
</literal>
</entry>
<literal>
<function>
array_cat
</function>
(
<type>
anyarray
</type>
,
<type>
anyarray
</type>
)
</literal>
</entry>
<entry><type>
anyarray
</type></entry>
<entry>
concatenate two arrays
</entry>
<entry><literal>
array_cat(ARRAY[1,2,3], ARRAY[4,5])
</literal></entry>
...
...
@@ -9362,10 +9362,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
array_dims
</function>
(
<type>
anyarray
</type>
)
</literal>
</entry>
<literal>
<function>
array_dims
</function>
(
<type>
anyarray
</type>
)
</literal>
</entry>
<entry><type>
text
</type></entry>
<entry>
returns a text representation of array's dimensions
</entry>
<entry><literal>
array_dims(ARRAY[[1,2,3], [4,5,6]])
</literal></entry>
...
...
@@ -9373,10 +9373,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
array_lower
</function>
(
<type>
anyarray
</type>
,
<type>
int
</type>
)
</literal>
</entry>
<literal>
<function>
array_lower
</function>
(
<type>
anyarray
</type>
,
<type>
int
</type>
)
</literal>
</entry>
<entry><type>
int
</type></entry>
<entry>
returns lower bound of the requested array dimension
</entry>
<entry><literal>
array_lower('[0:2]={1,2,3}'::int[], 1)
</literal></entry>
...
...
@@ -9384,10 +9384,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
array_prepend
</function>
(
<type>
anyelement
</type>
,
<type>
anyarray
</type>
)
</literal>
</entry>
<literal>
<function>
array_prepend
</function>
(
<type>
anyelement
</type>
,
<type>
anyarray
</type>
)
</literal>
</entry>
<entry><type>
anyarray
</type></entry>
<entry>
append an element to the beginning of an array
</entry>
<entry><literal>
array_prepend(1, ARRAY[2,3])
</literal></entry>
...
...
@@ -9395,10 +9395,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
array_to_string
</function>
(
<type>
anyarray
</type>
,
<type>
text
</type>
)
</literal>
</entry>
<literal>
<function>
array_to_string
</function>
(
<type>
anyarray
</type>
,
<type>
text
</type>
)
</literal>
</entry>
<entry><type>
text
</type></entry>
<entry>
concatenates array elements using provided delimiter
</entry>
<entry><literal>
array_to_string(ARRAY[1, 2, 3], '~^~')
</literal></entry>
...
...
@@ -9406,10 +9406,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
array_upper
</function>
(
<type>
anyarray
</type>
,
<type>
int
</type>
)
</literal>
</entry>
<literal>
<function>
array_upper
</function>
(
<type>
anyarray
</type>
,
<type>
int
</type>
)
</literal>
</entry>
<entry><type>
int
</type></entry>
<entry>
returns upper bound of the requested array dimension
</entry>
<entry><literal>
array_upper(ARRAY[1,2,3,4], 1)
</literal></entry>
...
...
@@ -9417,10 +9417,10 @@ SELECT NULLIF(value, '(none)') ...
</row>
<row>
<entry>
<literal>
<function>
string_to_array
</function>
(
<type>
text
</type>
,
<type>
text
</type>
)
</literal>
</entry>
<literal>
<function>
string_to_array
</function>
(
<type>
text
</type>
,
<type>
text
</type>
)
</literal>
</entry>
<entry><type>
text[]
</type></entry>
<entry>
splits string into array elements using provided delimiter
</entry>
<entry><literal>
string_to_array('xx~^~yy~^~zz', '~^~')
</literal></entry>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录