Skip to content

Commit

Permalink
Merge pull request #12 from felix-zg/patch-1
Browse files Browse the repository at this point in the history
Improve pg_dump performance X2
  • Loading branch information
jameshy authored May 16, 2018
2 parents e84f11f + e13565c commit 39d31c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pgdump.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function spawnPgDump(config) {
const env = Object.assign({}, config, {
LD_LIBRARY_PATH: config.PGDUMP_PATH
})
return spawn(pgDumpPath, ['-Fc'], {
return spawn(pgDumpPath, ['-Fc', '-Z 1'], {
env
})
}
Expand Down

0 comments on commit 39d31c6

Please sign in to comment.