Skip to content

Commit 4eefcee

Browse files
authored
Merge pull request #6 from MaterializeInc/exclude-redact_sql
postgres: exclude the `redact_sql` function
2 parents 07ac467 + e95a4d8 commit 4eefcee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

postgres.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state
418418
"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
419419
"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
420420
"AND mz_functions.name <> 'pretty_sql' " // Expected a keyword at the beginning of a statement, found ...
421+
"AND mz_functions.name <> 'redact_sql' " // Expected a keyword at the beginning of a statement, found ...
421422
"AND mz_functions.name <> 'map_build' " // map_build(text list) does not exist
422423
"AND mz_functions.name <> 'parse_catalog_privileges' " // TODO: Reenable when fixed https://github.com/MaterializeInc/database-issues/issues/11261
423424
"AND NOT (" + procedure_is_aggregate + " or " + procedure_is_window + ") ");

0 commit comments

Comments
 (0)