Skip to content

Commit

Permalink
Fix standalone sqlsmith
Browse files Browse the repository at this point in the history
  • Loading branch information
def- committed Nov 7, 2023
1 parent efba94d commit 981f55a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state

tables.push_back(table(w.quote_name(obj["name"].get<string>()),
w.quote_name(schema),
w.quote_name(db),
db.empty() ? db : w.quote_name(db),
((obj["table_type"].get<string>() == "BASE TABLE") ? true : false)));
}
} else {
Expand Down Expand Up @@ -231,7 +231,7 @@ schema_pqxx::schema_pqxx(std::string &conninfo, bool no_catalog, bool dump_state

tables.push_back(table(w.quote_name(name),
w.quote_name(schema),
w.quote_name(db),
db.empty() ? db : w.quote_name(db),
((table_type == "BASE TABLE") ? true : false)));

if (dump_state) {
Expand Down

0 comments on commit 981f55a

Please sign in to comment.