From ebe124eacd7c3faa36ed358e7cc1d7c5b419e5f6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:18:09 +0200 Subject: Merging upstream version 15.6. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/fdw-functions.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'doc/src/sgml/html/fdw-functions.html') diff --git a/doc/src/sgml/html/fdw-functions.html b/doc/src/sgml/html/fdw-functions.html index ab19bdc..25e6ce3 100644 --- a/doc/src/sgml/html/fdw-functions.html +++ b/doc/src/sgml/html/fdw-functions.html @@ -1,5 +1,5 @@ -59.1. Foreign Data Wrapper Functions

59.1. Foreign Data Wrapper Functions

+59.1. Foreign Data Wrapper Functions

59.1. Foreign Data Wrapper Functions

The FDW author needs to implement a handler function, and optionally a validator function. Both functions must be written in a compiled language such as C, using the version-1 interface. @@ -24,13 +24,10 @@ 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 - ForeignDataWrapperRelationId, - ForeignServerRelationId, - UserMappingRelationId, - or ForeignTableRelationId). + 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: +

  • AttributeRelationId

  • ForeignDataWrapperRelationId

  • ForeignServerRelationId

  • ForeignTableRelationId

  • UserMappingRelationId

If no validator function is supplied, options are not checked at object creation time or object alteration time. -

\ No newline at end of file +

\ No newline at end of file -- cgit v1.2.3