Skip to content

Commit 198f13b

Browse files
committed
another fix
1 parent 8d0bd7f commit 198f13b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

check.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ grep -v "range lower bound must be less than or equal to range upper bound" |
5252
grep -v "length must be nonnegative" |
5353
grep -v "is only defined for finite arguments" |
5454
grep -v "more than one record produced in subquery" |
55+
grep -v "invalid IANA Time Zone Database identifier" |
5556
grep -v "invalid range bound flags" |
5657
grep -v "invalid input syntax for type jsonb" |
5758
grep -v "invalid regular expression" |
@@ -133,6 +134,7 @@ grep -v "cannot reference pseudo type" | # https://github.com/MaterializeInc/mat
133134
grep -v "Invalid data in source, saw retractions" | # https://github.com/MaterializeInc/materialize/issues/17874
134135
#grep -v "internal error: unimplemented join" | # https://github.com/MaterializeInc/materialize/issues/17897
135136
grep -v "' not recognized" | # https://github.com/MaterializeInc/materialize/issues/17981
137+
grep -v "Evaluation error: unit '" | # https://github.com/MaterializeInc/materialize/issues/17981
136138
grep -v "internal error: Invalid data in source, saw negative accumulation for key" | # https://github.com/MaterializeInc/materialize/issues/17509
137139
grep -v "internal transform error: scalar types do not match" | # https://github.com/MaterializeInc/materialize/issues/18023
138140
grep -v "array_agg on arrays not yet supported" | # https://github.com/MaterializeInc/materialize/issues/18044
@@ -160,4 +162,8 @@ grep -v "timestamp cannot be NaN" |
160162
grep -v "regexp_extract must specify at least one capture group" |
161163
grep -v "nested aggregate functions are not allowed" |
162164
grep -v "materialized view objects cannot depend on log sources" | # TODO: This occurs often!
165+
grep -v "Unsupported binary temporal operation" |
166+
grep -v "internal transform error: unexpected panic during query optimization: The fast_path_optimizer shouldn't make a fast path plan slow path." | # TODO: https://github.com/MaterializeInc/database-issues/issues/9645
167+
grep -v "internal transform error: unexpected panic during query optimization: Window function performance issue:" | # TODO: https://github.com/MaterializeInc/database-issues/issues/9644
168+
grep -v "key cannot be null" |
163169
sort | uniq -c | sort -n

postgres.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state
225225
string db(row[2].as<string>());
226226
string table_type(row[3].as<string>());
227227

228-
if (no_catalog && ((schema == "pg_catalog") || (schema == "mz_catalog") || (schema == "mz_internal") || (schema == "information_schema")))
228+
if (no_catalog && ((schema == "pg_catalog") || (schema == "mz_catalog") || (schema == "mz_internal") || (schema == "information_schema") || (schema == "mz_introspection")))
229229
continue;
230230

231231
tables.push_back(table(w.quote_name(name),
@@ -270,7 +270,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state
270270
"from pg_attribute join pg_class c on( c.oid = attrelid ) "
271271
"join pg_namespace n on n.oid = relnamespace "
272272
"where not attisdropped "
273-
"and not (nspname in ('mz_catalog', 'pg_catalog', 'mz_internal', 'information_schema') and atttypid = 18) " // Expected, see https://github.com/MaterializeInc/materialize/issues/17899
273+
"and not (nspname in ('mz_catalog', 'pg_catalog', 'mz_internal', 'information_schema', 'mz_introspection') and atttypid = 18) " // Expected, see https://github.com/MaterializeInc/materialize/issues/17899
274274
"and attname not in "
275275
"('xmin', 'xmax', 'ctid', 'cmin', 'cmax', 'tableoid', 'oid') ");
276276
q += " and relname = " + w.quote(t->name);
@@ -593,7 +593,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state
593593
#ifdef HAVE_LIBPQXX7
594594
c.close();
595595
#else
596-
c.disconnect();
596+
//c.disconnect();
597597
#endif
598598

599599
if (dump_state) {

0 commit comments

Comments
 (0)