Skip to content

Commit 209f675

Browse files
committed
Fix documentation oversight.
Mention that PlanForeignModify's result must be copiable by copyObject.
1 parent 50c19fc commit 209f675

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/fdwhandler.sgml

+4
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,10 @@ GetForeignServerByName(const char *name, bool missing_ok);
899899
<literal>baserel-&gt;fdw_private</> data previously created by the
900900
scan-planning functions. However, in <command>INSERT</> the target
901901
table is not scanned so there is no <structname>RelOptInfo</> for it.
902+
The <structname>List</> returned by <function>PlanForeignModify</> has
903+
the same restrictions as the <structfield>fdw_private</> list of a
904+
<structname>ForeignScan</> plan node, that is it must contain only
905+
structures that <function>copyObject</> knows how to copy.
902906
</para>
903907

904908
<para>

0 commit comments

Comments
 (0)