Release 2.0.0 (#1680)

* update release notes
* bump version
* change the default alignment in patronictl table output to `left`
* add missing tests
* add missing pieces to the documentation
This commit is contained in:
Alexander Kukushkin
2020-09-02 15:35:04 +02:00
committed by GitHub
parent 98f50423ca
commit 0a1f389686
12 changed files with 261 additions and 37 deletions
+2 -4
View File
@@ -430,11 +430,9 @@ class TestPostgresql(BaseTestPostgresql):
def test_remove_data_directory(self):
def _symlink(src, dst):
try:
if os.name != 'nt': # os.symlink under Windows needs admin rights skip it
os.symlink(src, dst)
except OSError:
if os.name == 'nt': # os.symlink under Windows needs admin rights skip it
pass
os.makedirs(os.path.join(self.p.data_dir, 'foo'))
_symlink('foo', os.path.join(self.p.data_dir, 'pg_wal'))
os.makedirs(os.path.join(self.p.data_dir, 'foo_tsp'))