Skip to content

Commit

Permalink
Addressing other Mats reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziomello committed Mar 22, 2023
1 parent 3faeca8 commit de52e20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ts_catalog/continuous_aggs_watermark.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ ts_cagg_watermark_insert(Hypertable *mat_ht, int64 watermark, bool watermark_isn
ts_catalog_insert_values(rel, desc, values, nulls);
ts_catalog_restore_user(&sec_ctx);

table_close(rel, RowExclusiveLock);
table_close(rel, NoLock);
}

typedef struct WatermarkUpdate
Expand Down Expand Up @@ -398,4 +398,5 @@ ts_cagg_watermark_delete_by_mat_hypertable_id(int32 mat_hypertable_id)
TupleInfo *ti = ts_scan_iterator_tuple_info(&iterator);
ts_catalog_delete_tid(ti->scanrel, ts_scanner_get_tuple_tid(ti));
}
ts_scan_iterator_close(&iterator);
}

0 comments on commit de52e20

Please sign in to comment.