Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
c188ed7a
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,体验更适合开发者的 AI 搜索 >>
提交
c188ed7a
编写于
10月 29, 2020
作者:
L
Lisa Owen
提交者:
David Yozie
10月 29, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs - add info about postgres_fdw module (#11075)
上级
db74df9f
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
73 addition
and
3 deletion
+73
-3
gpdb-doc/dita/admin_guide/external/g-devel-fdw.xml
gpdb-doc/dita/admin_guide/external/g-devel-fdw.xml
+1
-1
gpdb-doc/dita/admin_guide/external/g-foreign.xml
gpdb-doc/dita/admin_guide/external/g-foreign.xml
+6
-2
gpdb-doc/dita/install_guide/install_modules.xml
gpdb-doc/dita/install_guide/install_modules.xml
+2
-0
gpdb-doc/dita/ref_guide/modules/intro.xml
gpdb-doc/dita/ref_guide/modules/intro.xml
+4
-0
gpdb-doc/dita/ref_guide/modules/modules.ditamap
gpdb-doc/dita/ref_guide/modules/modules.ditamap
+1
-0
gpdb-doc/dita/ref_guide/modules/postgres_fdw.xml
gpdb-doc/dita/ref_guide/modules/postgres_fdw.xml
+59
-0
未找到文件。
gpdb-doc/dita/admin_guide/external/g-devel-fdw.xml
浏览文件 @
c188ed7a
...
...
@@ -12,7 +12,7 @@
wrapper must handle that, too.
</p>
<p>
The foreign-data wrappers included in the Greenplum Database open source
github repository are good references when trying to write your own.
You may want to examine the
You may want to examine the
source code for the
<codeph><xref
href=
"https://github.com/greenplum-db/gpdb/tree/master/contrib/file_fdw"
scope=
"external"
>
file_fdw
</xref></codeph>
and
<codeph><xref
href=
"https://github.com/greenplum-db/gpdb/tree/master/contrib/postgres_fdw"
scope=
"external"
>
postgres_fdw
</xref></codeph>
modules in the
<codeph>
contrib/
</codeph>
directory. The
...
...
gpdb-doc/dita/admin_guide/external/g-foreign.xml
浏览文件 @
c188ed7a
...
...
@@ -11,6 +11,9 @@
A foreign-data wrapper is a library that communicates with a remote
data source. This library hides the source-specific connection and data
access details.
</p>
<p>
The Greenplum Database distribution includes the
<xref
href=
"../../ref_guide/modules/postgres_fdw.xml"
format=
"dita"
scope=
"peer"
>
postgres_fdw
</xref>
foreign data wrapper.
</p>
<note>
Most PostgreSQL foreign-data wrappers should work with Greenplum
Database. However, PostgreSQL foreign-data wrappers connect only through
the Greenplum Database master and do not access the Greenplum Database
...
...
@@ -32,10 +35,11 @@
source. This information can be provided by a
<i>
user mapping
</i>
,
which can provide additional data such as a user name and password
based on the current Greenplum Database role.
</p>
<p>
For additional information, refer to
<p>
For additional information, refer to
the
<codeph><xref
href=
"../../ref_guide/sql_commands/CREATE_FOREIGN_DATA_WRAPPER.xml#topic1"
/></codeph>
,
<codeph><xref
href=
"../../ref_guide/sql_commands/CREATE_SERVER.xml#topic1"
/></codeph>
,
<codeph><xref
href=
"../../ref_guide/sql_commands/CREATE_USER_MAPPING.xml#topic1"
/></codeph>
,
and
<codeph><xref
href=
"../../ref_guide/sql_commands/CREATE_FOREIGN_TABLE.xml#topic1"
/></codeph>
.
</p>
and
<codeph><xref
href=
"../../ref_guide/sql_commands/CREATE_FOREIGN_TABLE.xml#topic1"
/></codeph>
SQL reference pages.
</p>
</body>
</topic>
gpdb-doc/dita/install_guide/install_modules.xml
浏览文件 @
c188ed7a
...
...
@@ -46,6 +46,8 @@
format=
"dita"
>
pageinspect
</xref></li>
<li><xref
href=
"../ref_guide/modules/pgcrypto.xml"
type=
"topic"
scope=
"peer"
format=
"dita"
>
pgcrypto
</xref></li>
<li><xref
href=
"../ref_guide/modules/postgres_fdw.xml"
type=
"topic"
scope=
"peer"
format=
"dita"
>
postgres_fdw
</xref></li>
<li><xref
href=
"../ref_guide/modules/sslinfo.xml"
type=
"topic"
scope=
"peer"
format=
"dita"
>
sslinfo
</xref></li>
</ul>
...
...
gpdb-doc/dita/ref_guide/modules/intro.xml
浏览文件 @
c188ed7a
...
...
@@ -41,6 +41,10 @@
<li><codeph><xref
href=
"pgcrypto.xml"
format=
"dita"
>
pgcrypto
</xref></codeph>
- Provides cryptographic functions for Greenplum
Database.
</li>
<li><codeph><xref
href=
"postgres_fdw.xml"
format=
"dita"
>
postgres_fdw
</xref></codeph>
- Provides a foreign data wrapper (FDW)
for accessing data stored in an external PostgreSQL or Greenplum
database.
</li>
<li><codeph><xref
href=
"sslinfo.xml"
format=
"dita"
>
sslinfo
</xref></codeph>
- Provides
information about the SSL certificate that the current client provided when connecting to
Greenplum.
</li>
...
...
gpdb-doc/dita/ref_guide/modules/modules.ditamap
浏览文件 @
c188ed7a
...
...
@@ -12,6 +12,7 @@
<topicref
href=
"orafce_ref.xml"
/>
<topicref
href=
"pageinspect.xml"
/>
<topicref
href=
"pgcrypto.xml"
/>
<topicref
href=
"postgres_fdw.xml"
/>
<topicref
href=
"sslinfo.xml"
/>
</topicref>
</map>
gpdb-doc/dita/ref_guide/modules/postgres_fdw.xml
0 → 100644
浏览文件 @
c188ed7a
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic
id=
"topic1"
>
<title>
postgres_fdw
</title>
<body>
<p>
The
<codeph>
postgres_fdw
</codeph>
module is a foreign data wrapper (FDW)
that you can use to access data stored in a remote PostgreSQL or Greenplum
database.
</p>
<p>
The Greenplum Database
<codeph>
postgres_fdw
</codeph>
module is a modified
version of the PostgreSQL
<codeph>
postgres_fdw
</codeph>
module. The module
behaves as described in the PostgreSQL
<xref
href=
"https://www.postgresql.org/docs/9.4/postgres-fdw.html"
format=
"html"
scope=
"external"
>
postgres_fdw
</xref>
documentation when you use it to
access a remote PostgreSQL database.
<note>
There are some restrictions and
limitations when you use this foreign data wrapper module to access
Greenplum Database, described below.
</note></p>
</body>
<topic
id=
"topic_reg"
>
<title>
Installing and Registering the Module
</title>
<body>
<p>
The
<codeph>
postgres_fdw
</codeph>
module is installed when you install
Greenplum Database. Before you can use the foreign data wrapper, you
must register the
<codeph>
postgres_fdw
</codeph>
extension in each
database in which you want to use the foreign data wrapper.
<ph
otherprops=
"pivotal"
>
Refer to
<xref
href=
"../../install_guide/install_modules.xml"
format=
"dita"
scope=
"peer"
>
Installing Additional Supplied Modules
</xref>
for more information.
</ph></p>
</body>
</topic>
<topic
id=
"topic_gp_limit"
>
<title>
Greenplum Database Limitations
</title>
<body>
<p>
When you use the foreign data wrapper to access Greenplum Database,
<codeph>
postgres_fdw
</codeph>
has the following limitations:
</p>
<ul>
<li>
The
<codeph>
ctid
</codeph>
is not guaranteed to uniquely identify
the physical location of a row within its table. For example, the
following statements may return incorrect results when the foreign
table references a Greenplum Database table:
<codeblock>
INSERT INTO rem1(f2) VALUES ('test') RETURNING ctid;
SELECT * FROM ft1, t1 WHERE t1.ctid = '(0,2)';
</codeblock></li>
<li><codeph>
postgres_fdw
</codeph>
does not support local or remote
triggers when you use it to access a foreign table that references
a Greenplum Database table.
</li>
<li><codeph>
UPDATE
</codeph>
or
<codeph>
DELETE
</codeph>
operations on
a foreign table that references a Greenplum table are not guaranteed
to work correctly.
</li>
</ul>
</body>
</topic>
<topic
id=
"topic_info"
>
<title>
Additional Module Documentation
</title>
<body>
<p>
Refer to the
<xref
href=
"https://www.postgresql.org/docs/9.4/postgres-fdw.html"
format=
"html"
scope=
"external"
>
postgres_fdw
</xref>
PostgreSQL documentation for detailed
information about this module.
</p>
</body>
</topic>
</topic>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录