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
f5af8eed
Commit
f5af8eed
authored
Jul 25, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to SQL/MED documentation.
Laurenz Albe, somewhat modified by me.
parent
7c263956
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
doc/src/sgml/ddl.sgml
doc/src/sgml/ddl.sgml
+12
-2
doc/src/sgml/fdwhandler.sgml
doc/src/sgml/fdwhandler.sgml
+3
-1
No files found.
doc/src/sgml/ddl.sgml
View file @
f5af8eed
...
@@ -3008,6 +3008,9 @@ ANALYZE measurement;
...
@@ -3008,6 +3008,9 @@ ANALYZE measurement;
<indexterm>
<indexterm>
<primary>foreign table</primary>
<primary>foreign table</primary>
</indexterm>
</indexterm>
<indexterm>
<primary>user mapping</primary>
</indexterm>
<para>
<para>
<productname>PostgreSQL</productname> implements portions of the SQL/MED
<productname>PostgreSQL</productname> implements portions of the SQL/MED
...
@@ -3037,8 +3040,15 @@ ANALYZE measurement;
...
@@ -3037,8 +3040,15 @@ ANALYZE measurement;
tables</firstterm>, which define the structure of the remote data. A
tables</firstterm>, which define the structure of the remote data. A
foreign table can be used in queries just like a normal table, but a
foreign table can be used in queries just like a normal table, but a
foreign table has no storage in the PostgreSQL server. Whenever it is
foreign table has no storage in the PostgreSQL server. Whenever it is
used, PostgreSQL asks the foreign data wrapper to fetch the data from the
used, <productname>PostgreSQL</productname> asks the foreign data wrapper
external source.
to fetch the data from the external source.
</para>
<para>
Accessing remote data may require authentication at the external
data source. This information can be provided by a
<firstterm>user mapping</>, which can provide additional options based
on the current <productname>PostgreSQL</productname> role.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/fdwhandler.sgml
View file @
f5af8eed
...
@@ -152,7 +152,9 @@ BeginForeignScan (ForeignScanState *node,
...
@@ -152,7 +152,9 @@ BeginForeignScan (ForeignScanState *node,
</programlisting>
</programlisting>
Begin executing a foreign scan. This is called during executor startup.
Begin executing a foreign scan. This is called during executor startup.
It should perform any initialization needed before the scan can start.
It should perform any initialization needed before the scan can start,
but not start executing the actual scan (that should be done upon the
first call to <function>IterateForeignScan</>).
The <structname>ForeignScanState</> node has already been created, but
The <structname>ForeignScanState</> node has already been created, but
its <structfield>fdw_state</> field is still NULL. Information about
its <structfield>fdw_state</> field is still NULL. Information about
the table to scan is accessible through the
the table to scan is accessible through the
...
...
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