diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-12-28 20:09:27 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-12-28 20:09:27 +0900 |
commit | 296128a53646126fc33394ca859df5ab000c4798 (patch) | |
tree | cf94a35455cefcb8f1587d26824b8f688b9ec699 | |
parent | 2ad96ebbfd10896c6d4a16bf9f64a09f426244bf (diff) | |
download | postgresql-296128a53646126fc33394ca859df5ab000c4798.tar.gz postgresql-296128a53646126fc33394ca859df5ab000c4798.zip |
doc: Mention AttributeRelationId in FDW validator function description
The documentation has been missing one value in the list of catalog OIDs
that can be given to the validator function of a FDW, as of
AttributeRelationId, when changing the attribute options of a foreign
table.
Author: Ian Lawrence Barwick
Discussion: https://postgr.es/m/CAB8KJ=i16t2yJU_Pq2Z+hnNGWFhagp_bJmzxHZu3ZkOjZm-+rQ@mail.gmail.com
Backpatch-through: 12
-rw-r--r-- | doc/src/sgml/fdwhandler.sgml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml index d0b5951019b..7653bbf51c5 100644 --- a/doc/src/sgml/fdwhandler.sgml +++ b/doc/src/sgml/fdwhandler.sgml @@ -67,13 +67,16 @@ foreign tables using the wrapper. 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, either - <literal>ForeignDataWrapperRelationId</literal>, - <literal>ForeignServerRelationId</literal>, - <literal>UserMappingRelationId</literal>, - or <literal>ForeignTableRelationId</literal>). + representing the type of object the options are associated with. The + latter corresponds to the OID of the system catalog the object + would be stored in, one of: + <itemizedlist spacing="compact"> + <listitem><para><literal>AttributeRelationId</literal></para></listitem> + <listitem><para><literal>ForeignDataWrapperRelationId</literal></para></listitem> + <listitem><para><literal>ForeignServerRelationId</literal></para></listitem> + <listitem><para><literal>ForeignTableRelationId</literal></para></listitem> + <listitem><para><literal>UserMappingRelationId</literal></para></listitem> + </itemizedlist> If no validator function is supplied, options are not checked at object creation time or object alteration time. </para> |