diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml index 8f1782882ff975659229fdb34769a2bdc983c1de..2d604ed583fd0a5261a83cea59a0bcb2a157f2a9 100644 --- a/doc/src/sgml/fdwhandler.sgml +++ b/doc/src/sgml/fdwhandler.sgml @@ -537,9 +537,10 @@ GetForeignServerByName(const char *name, bool missing_ok); <replaceable>local_variable</>. Such clauses will not be found in <literal>baserel->baserestrictinfo</> but must be sought in the relation's join lists. A path using such a clause is called a - <quote>parameterized path</>. It must show the other relation(s) as - <literal>required_outer</> and list the specific join clause(s) in - <literal>param_clauses</>. In <function>GetForeignPlan</>, the + <quote>parameterized path</>. It must identify the other relations + used in the selected join clause(s) with a suitable value of + <literal>param_info</>; use <function>get_baserel_parampathinfo</> + to compute that value. In <function>GetForeignPlan</>, the <replaceable>local_variable</> portion of the join clause would be added to <structfield>fdw_exprs</>, and then at run time the case works the same as for an ordinary restriction clause.