diff --git a/postgres.cc b/postgres.cc index 4b6f64c..028f630 100644 --- a/postgres.cc +++ b/postgres.cc @@ -139,7 +139,8 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state } r = w.exec("select typname, " "oid, ',' as typdelim, typrelid, typelem, typarray, typtype " - "from pg_type "); + "from pg_type " + "where typname <> '%in'"); for (auto row = r.begin(); row != r.end(); ++row) { string name(row[0].as()); OID oid(row[1].as());