diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml index c8ae861..c17c540 100644 --- a/doc/src/sgml/fdwhandler.sgml +++ b/doc/src/sgml/fdwhandler.sgml @@ -39,13 +39,18 @@ The validator function is responsible for validating options given in the - CREATE FOREIGN DATA WRAPPER, CREATE - SERVER and CREATE FOREIGN TABLE commands. + CREATE and ALTER commands for + FOREIGN DATA WRAPPER, SERVER, + USER MAPPING and FOREIGN TABLE. To make it + possible to enforce required option, the validator function is called for + every such command even if the option list was empty as a result of + dropping all options. The validator function must be registered as taking two arguments, a text 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 of the system catalog the object would be stored in). If no validator - function is supplied, the options are not checked at object creation time. + function is supplied, the options are not checked at object creation time + or object alteration time.