From e95a4d86cd94eca8869e34e159d605606dd5b7f7 Mon Sep 17 00:00:00 2001 From: Jan Teske Date: Thu, 2 Apr 2026 14:46:41 +0200 Subject: [PATCH] postgres: exclude the `redact_sql` function --- postgres.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/postgres.cc b/postgres.cc index 7cd50c9..f2f95d1 100644 --- a/postgres.cc +++ b/postgres.cc @@ -418,6 +418,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state "AND (mz_functions.name <> 'sum' OR mz_functions.return_type_id <> (select id from mz_types where name = 'interval'))" // sum(interval) not yet supported, see https://github.com/MaterializeInc/database-issues/issues/5285 "AND (mz_functions.name <> 'timezone' OR mz_functions.argument_type_ids[2] <> (select id from mz_types where name = 'time'))" // timezone with time type is intentionally not supported, see https://github.com/MaterializeInc/materialize/pull/22960 "AND mz_functions.name <> 'pretty_sql' " // Expected a keyword at the beginning of a statement, found ... + "AND mz_functions.name <> 'redact_sql' " // Expected a keyword at the beginning of a statement, found ... "AND mz_functions.name <> 'map_build' " // map_build(text list) does not exist "AND mz_functions.name <> 'parse_catalog_privileges' " // TODO: Reenable when fixed https://github.com/MaterializeInc/database-issues/issues/11261 "AND NOT (" + procedure_is_aggregate + " or " + procedure_is_window + ") ");