@@ -340,21 +340,6 @@ GetForeignJoinPaths (PlannerInfo *root,
340
340
<para>
341
341
See <xref linkend="fdw-planning"> for additional information.
342
342
</para>
343
-
344
- <para>
345
- <programlisting>
346
- void
347
- GetExistingLocalJoinPath(RelOptInfo *joinrel)
348
- </programlisting>
349
- The function returns copy of a local join path, which can be converted
350
- into an alternative local join plan, which may be useful when
351
- implementing a <literal>RecheckForeignScan</> method. The function
352
- searches for an unparameterized path in the <literal>pathlist</> of given
353
- <literal>joinrel</>. If it does not find such a path, it returns NULL, in
354
- which case a foreign data wrapper may build the local path by itself or
355
- may choose not to create access paths for that join.
356
- </para>
357
-
358
343
</sect2>
359
344
360
345
<sect2 id="fdw-callbacks-update">
@@ -808,9 +793,13 @@ RecheckForeignScan (ForeignScanState *node, TupleTableSlot *slot);
808
793
can be executed and the resulting tuple can be stored in the slot.
809
794
This plan need not be efficient since no base table will return more
810
795
than one row; for example, it may implement all joins as nested loops.
811
- <literal>GetExistingLocalJoinPath</> may be used to search existing paths
812
- for a suitable local join path, which can be used as the alternative
813
- local join plan.
796
+ The function <literal>GetExistingLocalJoinPath</> may be used to search
797
+ existing paths for a suitable local join path, which can be used as the
798
+ alternative local join plan. <literal>GetExistingLocalJoinPath</>
799
+ searches for an unparameterized path in the path list of the specified
800
+ join relation. (If it does not find such a path, it returns NULL, in
801
+ which case a foreign data wrapper may build the local path by itself or
802
+ may choose not to create access paths for that join.)
814
803
</para>
815
804
</sect2>
816
805
0 commit comments