diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml
index eb92253e387..27b94fb6115 100644
--- a/doc/src/sgml/fdwhandler.sgml
+++ b/doc/src/sgml/fdwhandler.sgml
@@ -387,7 +387,9 @@ GetForeignUpperPaths(PlannerInfo *root,
step. The extra parameter provides additional details,
currently, it is set only for UPPERREL_PARTIAL_GROUP_AGG
or UPPERREL_GROUP_AGG, in which case it points to a
- GroupPathExtraData structure.
+ GroupPathExtraData structure;
+ or for UPPERREL_FINAL, in which case it points to a
+ FinalPathExtraData structure.
(Note that ForeignPath paths added
to output_rel would typically not have any direct dependency
on paths of the input_rel, since their processing is expected