mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-10 08:17:00 +02:00
pgloader no longer has to run VACUUM after having loaded all the tables
This commit is contained in:
parent
f912b929cd
commit
60ffb4ba3f
@ -528,13 +528,6 @@ def load_data():
|
||||
except PGLoader_Error, e:
|
||||
log.error("Can't print summary: %s" % e)
|
||||
|
||||
if VACUUM and not DRY_RUN:
|
||||
log.info('vacuumdb... ')
|
||||
try:
|
||||
dbconn.vacuum()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
return retcode
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user