diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-03-12 19:06:43 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-03-12 19:06:43 -0400 |
commit | 209f675f0f9094015414eee39c435ed3bf65d82a (patch) | |
tree | 7884a6631d0bbe0dda6b10e442f7205f844c7f71 | |
parent | 50c19fc76f05124b80fc4c5d20a359c5dbf017af (diff) | |
download | postgresql-209f675f0f9094015414eee39c435ed3bf65d82a.tar.gz postgresql-209f675f0f9094015414eee39c435ed3bf65d82a.zip |
Fix documentation oversight.
Mention that PlanForeignModify's result must be copiable by copyObject.
-rw-r--r-- | doc/src/sgml/fdwhandler.sgml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml index e6bce195e63..d11e3de8953 100644 --- a/doc/src/sgml/fdwhandler.sgml +++ b/doc/src/sgml/fdwhandler.sgml @@ -899,6 +899,10 @@ GetForeignServerByName(const char *name, bool missing_ok); <literal>baserel->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> |