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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy