Skip to content

Commit 851e29a

Browse files
committed
Revert commit e2d9c70, looks like the machine I was testing on had an ancient version of PostgreSQL installed.
1 parent defd5bf commit 851e29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dump_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ dump_reader::dump_reader(const std::string &table_name,
658658
unsigned int max_concurrency)
659659
: m_impl() {
660660
std::ostringstream cmd;
661-
cmd << "pg_restore -a -t " << table_name << " " << dump_file;
661+
cmd << "pg_restore -f - -a -t " << table_name << " " << dump_file;
662662
m_impl.reset(new pimpl(cmd.str(), table_name, max_concurrency));
663663
}
664664

0 commit comments

Comments
 (0)