@@ -1858,7 +1858,7 @@ postgresExecForeignInsert(EState *estate,
18581858 if (fmstate -> aux_fmstate )
18591859 resultRelInfo -> ri_FdwState = fmstate -> aux_fmstate ;
18601860 rslot = execute_foreign_modify (estate , resultRelInfo , CMD_INSERT ,
1861- slot , planSlot );
1861+ slot , planSlot );
18621862 /* Revert that change */
18631863 if (fmstate -> aux_fmstate )
18641864 resultRelInfo -> ri_FdwState = fmstate ;
@@ -1934,11 +1934,11 @@ postgresBeginForeignInsert(ModifyTableState *mtstate,
19341934 bool doNothing = false;
19351935
19361936 /*
1937- * If the foreign table we are about to insert routed rows into is also
1938- * an UPDATE subplan result rel that will be updated later, proceeding
1939- * with the INSERT will result in the later UPDATE incorrectly modifying
1940- * those routed rows, so prevent the INSERT --- it would be nice if we
1941- * could handle this case; but for now, throw an error for safety.
1937+ * If the foreign table we are about to insert routed rows into is also an
1938+ * UPDATE subplan result rel that will be updated later, proceeding with
1939+ * the INSERT will result in the later UPDATE incorrectly modifying those
1940+ * routed rows, so prevent the INSERT --- it would be nice if we could
1941+ * handle this case; but for now, throw an error for safety.
19421942 */
19431943 if (plan && plan -> operation == CMD_UPDATE &&
19441944 (resultRelInfo -> ri_usesFdwDirectModify ||
@@ -3169,7 +3169,7 @@ adjust_foreign_grouping_path_cost(PlannerInfo *root,
31693169 if (!grouping_is_sortable (root -> parse -> groupClause ) ||
31703170 !pathkeys_contained_in (pathkeys , root -> group_pathkeys ))
31713171 {
3172- Path sort_path ; /* dummy for result of cost_sort */
3172+ Path sort_path ; /* dummy for result of cost_sort */
31733173
31743174 cost_sort (& sort_path ,
31753175 root ,
@@ -3191,7 +3191,7 @@ adjust_foreign_grouping_path_cost(PlannerInfo *root,
31913191 * add 1/4th of that default.
31923192 */
31933193 double sort_multiplier = 1.0 + (DEFAULT_FDW_SORT_MULTIPLIER
3194- - 1.0 ) * 0.25 ;
3194+ - 1.0 ) * 0.25 ;
31953195
31963196 * p_startup_cost *= sort_multiplier ;
31973197 * p_run_cost *= sort_multiplier ;
@@ -3773,6 +3773,7 @@ store_returning_result(PgFdwModifyState *fmstate,
37733773 fmstate -> retrieved_attrs ,
37743774 NULL ,
37753775 fmstate -> temp_cxt );
3776+
37763777 /*
37773778 * The returning slot will not necessarily be suitable to store
37783779 * heaptuples directly, so allow for conversion.
@@ -6059,8 +6060,8 @@ add_foreign_final_paths(PlannerInfo *root, RelOptInfo *input_rel,
60596060 /*
60606061 * Grouping and aggregation are not supported with FOR UPDATE/SHARE,
60616062 * so the input_rel should be a base, join, or ordered relation; and
6062- * if it's an ordered relation, its input relation should be a base
6063- * or join relation.
6063+ * if it's an ordered relation, its input relation should be a base or
6064+ * join relation.
60646065 */
60656066 Assert (input_rel -> reloptkind == RELOPT_BASEREL ||
60666067 input_rel -> reloptkind == RELOPT_JOINREL ||
0 commit comments