Skip to content

Commit

Permalink
Ignore *in types
Browse files Browse the repository at this point in the history
  • Loading branch information
def- committed Nov 11, 2023
1 parent 981f55a commit c866679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion postgres.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>());
OID oid(row[1].as<OID>());
Expand Down

0 comments on commit c866679

Please sign in to comment.