From 53e4ac04ee09306bacfd73c7ffe2cbe3db428f32 Mon Sep 17 00:00:00 2001 From: Lakshmi Narayanan Sreethar Date: Fri, 15 Sep 2023 11:23:03 +0530 Subject: [PATCH] PG16: New 'missing_ok' argument to build_attrmap_by_name postgres/postgres@ad86d159 --- src/import/ht_hypertable_modify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/import/ht_hypertable_modify.c b/src/import/ht_hypertable_modify.c index 417d6f3d85c..3762f07cd9e 100644 --- a/src/import/ht_hypertable_modify.c +++ b/src/import/ht_hypertable_modify.c @@ -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,