Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
65689398
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,发现更多精彩内容 >>
提交
65689398
编写于
8月 10, 2001
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mention that COPY cannot be used on a view (per recent suggestion).
Other small improvements.
上级
135dea63
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
7 deletion
+14
-7
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/copy.sgml
+14
-7
未找到文件。
doc/src/sgml/ref/copy.sgml
浏览文件 @
65689398
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.2
1 2001/05/27 09:59:27 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.2
2 2001/08/10 23:09:30 tgl
Exp $
Postgres documentation
-->
...
...
@@ -65,7 +65,7 @@ COPY [ BINARY ] <replaceable class="parameter">table</replaceable> [ WITH OIDS ]
<term>WITH OIDS</term>
<listitem>
<para>
Specifies copying the internal
unique
object id (OID) for each row.
Specifies copying the internal object id (OID) for each row.
</para>
</listitem>
</varlistentry>
...
...
@@ -181,12 +181,12 @@ ERROR: <replaceable>reason</replaceable>
</para>
<para>
<command>COPY</command> instructs
<command>COPY</command>
with a filename
instructs
the <productname>Postgres</productname> backend
to directly read from or write to a file.
If a file name is specified,
t
he file must be accessible to the backend and the name must be specified
to directly read from or write to a file.
T
he file must be accessible to the backend and the name must be specified
from the viewpoint of the backend.
If
<filename>stdin</filename> or <filename>stdout</filename> is
When
<filename>stdin</filename> or <filename>stdout</filename> is
specified, data flows through the client frontend to the backend.
<tip>
...
...
@@ -209,6 +209,11 @@ ERROR: <replaceable>reason</replaceable>
<title>
Notes
</title>
<para>
<command>COPY</command> can only be used with plain tables, not with
views.
</para>
<para>
The BINARY keyword will force all data to be
stored/read as binary format rather than as text. It is
...
...
@@ -318,6 +323,8 @@ ERROR: <replaceable>reason</replaceable>
</para>
<para>
The OID is emitted as the first column if WITH OIDS is specified.
(An error is raised if WITH OIDS is specified for a table that does not
have OIDs.)
</para>
<para>
If <command>COPY TO</command> is sending its output to standard
...
...
@@ -525,7 +532,7 @@ If OIDs are included in the dump, the OID field immediately follows the
field-count word. It is a normal field except that it's not included
in the field-count. In particular it has a typlen --- this will allow
handling of 4-byte vs 8-byte OIDs without too much pain, and will allow
OIDs to be shown as NULL if
we someday allow OIDs to be optional
.
OIDs to be shown as NULL if
that ever proves desirable
.
</para>
</refsect3>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录