Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
f5af8eed
Commit
f5af8eed
authored
13 years ago
by
Robert Haas
Browse files
Options
Downloads
Patches
Plain Diff
Improvements to SQL/MED documentation.
Laurenz Albe, somewhat modified by me.
parent
7c263956
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/src/sgml/ddl.sgml
+12
-2
12 additions, 2 deletions
doc/src/sgml/ddl.sgml
doc/src/sgml/fdwhandler.sgml
+3
-1
3 additions, 1 deletion
doc/src/sgml/fdwhandler.sgml
with
15 additions
and
3 deletions
doc/src/sgml/ddl.sgml
+
12
−
2
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>
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/fdwhandler.sgml
+
3
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment