From fd676f535f21758b82d3da0b7b67806275bff2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabr=C3=ADzio=20de=20Royes=20Mello?= Date: Tue, 7 Jan 2025 15:33:58 -0300 Subject: [PATCH] Add missing elog(DEBUG2,...) after refactoring In #7505 we refactored the materialization code but the debugging query was removed by accident. Disable-check: force-changelog-file Disable-check: approval-count --- tsl/src/continuous_aggs/materialize.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tsl/src/continuous_aggs/materialize.c b/tsl/src/continuous_aggs/materialize.c index 40ed1524201..fd20b26d5b4 100644 --- a/tsl/src/continuous_aggs/materialize.c +++ b/tsl/src/continuous_aggs/materialize.c @@ -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);