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
52a42550
Commit
52a42550
authored
Jul 05, 2011
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation about foreign data wrapper validator functions.
Modified version of a patch by Shigeru Hanada.
parent
cab19af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
doc/src/sgml/fdwhandler.sgml
doc/src/sgml/fdwhandler.sgml
+11
-5
No files found.
doc/src/sgml/fdwhandler.sgml
View file @
52a42550
...
@@ -38,14 +38,20 @@
...
@@ -38,14 +38,20 @@
</para>
</para>
<para>
<para>
The validator function is responsible for validating options given in the
The validator function is responsible for validating options given in
<command>CREATE FOREIGN DATA WRAPPER</command>, <command>CREATE
<command>CREATE</command> and <command>ALTER</command> commands for its
SERVER</command> and <command>CREATE FOREIGN TABLE</command> commands.
foreign data wrapper, as well as foreign servers, user mappings, and
foreign tables using the wrapper.
The validator function must be registered as taking two arguments, a text
The validator function must be registered as taking two arguments, a text
array containing the options to be validated, and an OID representing the
array containing the options to be validated, and an OID representing the
type of object the options are associated with (in the form of the OID
type of object the options are associated with (in the form of the OID
of the system catalog the object would be stored in). If no validator
of the system catalog the object would be stored in, either
function is supplied, the options are not checked at object creation time.
<literal>ForeignDataWrapperRelationId</>,
<literal>ForeignServerRelationId</>,
<literal>UserMappingRelationId</>,
or <literal>ForeignTableRelationId</>).
If no validator function is supplied, options are not checked at object
creation time or object alteration time.
</para>
</para>
<para>
<para>
...
...
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