Skip to content

Commit

Permalink
PG16: New 'missing_ok' argument to build_attrmap_by_name
Browse files Browse the repository at this point in the history
  • Loading branch information
lkshminarayanan authored and fabriziomello committed Sep 27, 2023
1 parent d07cb91 commit c22d0d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/import/ht_hypertable_modify.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,11 @@ ht_ExecMergeNotMatched(ModifyTableContext * context, ResultRelInfo * resultRelIn
parenttupdesc = RelationGetDescr(resultRelInfo->ri_RelationDesc);
chunktupdesc = RelationGetDescr(cds->rri->ri_RelationDesc);
/* map from parent to chunk */
#if PG16_LT
map = build_attrmap_by_name_if_req(parenttupdesc, chunktupdesc);
#else
map = build_attrmap_by_name_if_req(parenttupdesc, chunktupdesc, false);
#endif
if (map != NULL)
chunk_slot =
execute_attr_map_slot(map,
Expand Down

0 comments on commit c22d0d6

Please sign in to comment.