Thanks to visit codestin.com
Credit goes to github.com

Skip to content

adding key -F to pg_dump #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 8, 2018
Prev Previous commit
Cleanup test_dump
  • Loading branch information
Fenimorkin committed May 8, 2018
commit bb88d6e0506a687ebc7ce94ed672e8b12da7da3c
10 changes: 0 additions & 10 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,16 +428,6 @@ def test_dump(self):
with get_new_node().init().start() as node1:

node1.execute(query_create)

# take a new dump plain format
with removing(node1.dump()) as dump:
with get_new_node().init().start() as node2:
# restore dump
self.assertTrue(os.path.isfile(dump))
node2.restore(filename=dump)
res = node2.execute(query_select)
self.assertListEqual(res, [(1, ), (2, )])

for format in ['plain', 'custom', 'directory', 'tar']:
with removing(node1.dump(format=format)) as dump:
with get_new_node().init().start() as node3:
Expand Down