1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Fix documentation oversight.

Mention that PlanForeignModify's result must be copiable by copyObject.
This commit is contained in:
Tom Lane
2013-03-12 19:06:43 -04:00
parent 50c19fc76f
commit 209f675f0f

View File

@ -899,6 +899,10 @@ GetForeignServerByName(const char *name, bool missing_ok);
<literal>baserel-&gt;fdw_private</> data previously created by the <literal>baserel-&gt;fdw_private</> data previously created by the
scan-planning functions. However, in <command>INSERT</> the target scan-planning functions. However, in <command>INSERT</> the target
table is not scanned so there is no <structname>RelOptInfo</> for it. 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>
<para> <para>