mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Improve documentation about usage of FDW validator functions.
SGML documentation, as well as code comments, failed to note that an FDW's validator will be applied to foreign-table options for foreign tables using the FDW. Etsuro Fujita
This commit is contained in:
@ -80,11 +80,11 @@ CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
|
||||
<varlistentry>
|
||||
<term><literal>VALIDATOR <replaceable class="parameter">validator_function</replaceable></literal></term>
|
||||
<listitem>
|
||||
<para><replaceable class="parameter">validator_function</replaceable> is the
|
||||
name of a previously registered function that will be called to
|
||||
<para><replaceable class="parameter">validator_function</replaceable>
|
||||
is the name of a previously registered function that will be called to
|
||||
check the generic options given to the foreign-data wrapper, as
|
||||
well as options for foreign servers and user mappings using the
|
||||
foreign-data wrapper. If no validator function or <literal>NO
|
||||
well as options for foreign servers, user mappings and foreign tables
|
||||
using the foreign-data wrapper. If no validator function or <literal>NO
|
||||
VALIDATOR</literal> is specified, then options will not be
|
||||
checked at creation time. (Foreign-data wrappers will possibly
|
||||
ignore or reject invalid option specifications at run time,
|
||||
|
Reference in New Issue
Block a user