Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
43ea23a3
Commit
43ea23a3
authored
Jun 13, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More foreign table documentation improvements.
Shigeru Hanada, with some additional wordsmithing by me
parent
13000b44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
doc/src/sgml/ddl.sgml
doc/src/sgml/ddl.sgml
+5
-4
doc/src/sgml/fdwhandler.sgml
doc/src/sgml/fdwhandler.sgml
+11
-0
No files found.
doc/src/sgml/ddl.sgml
View file @
43ea23a3
...
...
@@ -3021,10 +3021,11 @@ ANALYZE measurement;
<firstterm>foreign data wrapper</firstterm>. A foreign data wrapper is a
library that can communicate with an external data source, hiding the
details of connecting to the data source and fetching data from it. There
are several foreign data wrappers available, which can for example read
plain data files residing on the server, or connect to another PostgreSQL
instance. If none of the existing foreign data wrappers suit your needs,
you can write your own; see <xref linkend="fdwhandler">.
is a foreign data wrapper available as a <file>contrib</file> module,
which can read plain data files residing on the server. Other kind of
foreign data wrappers might be found as third party products. If none of
the existing foreign data wrappers suit your needs, you can write your
own; see <xref linkend="fdwhandler">.
</para>
<para>
...
...
doc/src/sgml/fdwhandler.sgml
View file @
43ea23a3
...
...
@@ -179,6 +179,17 @@ IterateForeignScan (ForeignScanState *node);
are not needed, you should insert nulls in those column positions.
</para>
<para>
Note that <productname>PostgreSQL</productname>'s executor doesn't care
whether the rows returned violate the <literal>NOT NULL</literal>
constraints which were defined on the foreign table columns - but the
planner does care, and may optimize queries incorrectly if
<literal>NULL</> values are present in a column declared not to contain
them. If a <literal>NULL</> value is encountered when the user has
declared that none should be present, it may be appropriate to raise an
error (just as you would need to do in the case of a data type mismatch).
</para>
<para>
<programlisting>
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment