]> granicus.if.org Git - postgresql/commitdiff
Fix documentation oversight.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Mar 2013 23:06:43 +0000 (19:06 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Mar 2013 23:06:43 +0000 (19:06 -0400)
Mention that PlanForeignModify's result must be copiable by copyObject.

doc/src/sgml/fdwhandler.sgml

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