diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-06-08 08:16:38 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-06-08 08:16:38 +0530 |
commit | 92c4abc73693690ce9ff13ede160f0dcb0a2de7b (patch) | |
tree | c1264a8f33374569298e2e72feaeda929adef09e /src/backend/executor/nodeModifyTable.c | |
parent | 35b2d4bc0eb5d61a2a294ccb6b2e4abdad307604 (diff) | |
download | postgresql-92c4abc73693690ce9ff13ede160f0dcb0a2de7b.tar.gz postgresql-92c4abc73693690ce9ff13ede160f0dcb0a2de7b.zip |
Fix assorted inconsistencies.
There were a number of issues in the recent commits which include typos,
code and comments mismatch, leftover function declarations. Fix them.
Reported-by: Alexander Lakhin
Author: Alexander Lakhin, Amit Kapila and Amit Langote
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/ef0c0232-0c1d-3a35-63d4-0ebd06e31387@gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
-rw-r--r-- | src/backend/executor/nodeModifyTable.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index a3c0e915434..24ed3718eff 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -2316,7 +2316,9 @@ ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags) * verify that the proposed target relations are valid and open their * indexes for insertion of new index entries. Note we *must* set * estate->es_result_relation_info correctly while we initialize each - * sub-plan; ExecContextForcesOids depends on that! + * sub-plan; external modules such as FDWs may depend on that (see + * contrib/postgres_fdw/postgres_fdw.c: postgresBeginDirectModify() + * as one example). */ saved_resultRelInfo = estate->es_result_relation_info; |