Merge pull request #1267 from IStranger/master

fix db.sh for postgres 9.5+
This commit is contained in:
Serghey Rodin 2017-12-28 15:52:16 +02:00 committed by GitHub
commit aefc654922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ psql_query() {
}
psql_dump() {
pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $1 $2 2>/tmp/e.psql
pg_dump -h $HOST -U $USER -c --inserts -O -x -f $1 $2 2>/tmp/e.psql
if [ '0' -ne "$?" ]; then
rm -rf $tmpdir
if [ "$notify" != 'no' ]; then