Doc: Update FDW documentation about GetForeignUpperPaths().
authorEtsuro Fujita
Thu, 9 May 2019 10:50:15 +0000 (19:50 +0900)
committerEtsuro Fujita
Thu, 9 May 2019 10:50:15 +0000 (19:50 +0900)
In commit d50d172e51, which added support for LIMIT/OFFSET pushdown in
postgres_fdw, a new struct was introduced as the extra parameter of
GetForeignUpperPaths() set for UPPERREL_FINAL, but I forgot to update
the documentation to mention that.

Author: Etsuro Fujita
Discussion: https://postgr.es/m/CAPmGK17uSXQDe31oRb-z1nYyT6vVzkstZkA3_Wbq38U92b9BmQ%40mail.gmail.com

doc/src/sgml/fdwhandler.sgml

index eb92253e38792969ce82f4ecca28a8735c4d62a5..27b94fb6115bf1c963a100f4235d7f890595da55 100644 (file)
@@ -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