diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml index dc2d890975..98fda71e10 100644 --- a/doc/src/sgml/fdwhandler.sgml +++ b/doc/src/sgml/fdwhandler.sgml @@ -178,7 +178,9 @@ GetForeignPlan (PlannerInfo *root, the selected ForeignPath (previously produced by GetForeignPaths or GetForeignJoinPaths), the target list to be emitted by the plan node, - and the restriction clauses to be enforced by the plan node. + the restriction clauses to be enforced by the plan node, + and the outer subplan of the ForeignScan, + which is used for rechecks performed by RecheckForeignScan. (If the path is for a join rather than a base relation, foreigntableid is InvalidOid.)