Skip to content

Commit

Permalink
Add missing elog(DEBUG2,...) after refactoring
Browse files Browse the repository at this point in the history
In timescale#7505 we refactored the materialization code but the debugging query
was removed by accident.

Disable-check: force-changelog-file
Disable-check: approval-count
  • Loading branch information
fabriziomello committed Jan 7, 2025
1 parent d0ff15d commit fd676f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsl/src/continuous_aggs/materialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ create_materialization_plan(MaterializationContext *context, MaterializationPlan
char *query = materialization->create_statement(context);
Oid types[] = { context->materialization_range.type, context->materialization_range.type };

elog(DEBUG2, "%s: %s", __func__, query);
materialization->plan = SPI_prepare(query, 2, types);
if (materialization->plan == NULL)
elog(ERROR, "%s: SPI_prepare failed: %s", __func__, query);
Expand Down

0 comments on commit fd676f5

Please sign in to comment.