File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 38
38
</para>
39
39
40
40
<para>
41
- The validator function is responsible for validating options given in the
42
- <command>CREATE FOREIGN DATA WRAPPER</command>, <command>CREATE
43
- SERVER</command> and <command>CREATE FOREIGN TABLE</command> commands.
41
+ The validator function is responsible for validating options given in
42
+ <command>CREATE</command> and <command>ALTER</command> commands for its
43
+ foreign data wrapper, as well as foreign servers, user mappings, and
44
+ foreign tables using the wrapper.
44
45
The validator function must be registered as taking two arguments, a text
45
46
array containing the options to be validated, and an OID representing the
46
47
type of object the options are associated with (in the form of the OID
47
- of the system catalog the object would be stored in). If no validator
48
- function is supplied, the options are not checked at object creation time.
48
+ of the system catalog the object would be stored in, either
49
+ <literal>ForeignDataWrapperRelationId</>,
50
+ <literal>ForeignServerRelationId</>,
51
+ <literal>UserMappingRelationId</>,
52
+ or <literal>ForeignTableRelationId</>).
53
+ If no validator function is supplied, options are not checked at object
54
+ creation time or object alteration time.
49
55
</para>
50
56
51
57
<para>
You can’t perform that action at this time.
0 commit comments