Add support SQL VACUUM for PostgeSQL (#28106)

* Add support SQL VACUUM for PostgeSQL

VACUUM PostgreSQL DB if repack is true

* Update tests
This commit is contained in:
bastshoes authored and Paulus Schoutsen committed 2019-10-22 08:39:26 -07:00
1 parent c2c9213e9b
commit 0226b76e0a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -174,5 +174,5 @@ class TestRecorderPurge(unittest.TestCase):
self.hass.data[DATA_INSTANCE].block_till_done()
assert (
mock_logger.debug.mock_calls[3][1][0]
== "Vacuuming SQLite to free space"
== "Vacuuming SQL DB to free space"
)