diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-10-28 10:28:35 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-10-28 10:28:35 -0400 |
commit | c2b51cf1903d5ed5e962ed68b4a4eeb40fe037db (patch) | |
tree | 02ba970a8fe15a3f54558826b8f0f0ac750f17a5 /doc/src/sgml/ref/create_foreign_data_wrapper.sgml | |
parent | 438df52df9bf7ade0c042e73e9c83c0a58adb5bb (diff) | |
download | postgresql-c2b51cf1903d5ed5e962ed68b4a4eeb40fe037db.tar.gz postgresql-c2b51cf1903d5ed5e962ed68b4a4eeb40fe037db.zip |
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
Diffstat (limited to 'doc/src/sgml/ref/create_foreign_data_wrapper.sgml')
-rw-r--r-- | doc/src/sgml/ref/create_foreign_data_wrapper.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_foreign_data_wrapper.sgml b/doc/src/sgml/ref/create_foreign_data_wrapper.sgml index e2d897fb214..cbe50021f4f 100644 --- a/doc/src/sgml/ref/create_foreign_data_wrapper.sgml +++ b/doc/src/sgml/ref/create_foreign_data_wrapper.sgml @@ -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, |