[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: run pg_dump with -O --column-inserts to make easier to import the dump in a non-postgres db

Holger Levsen holger at layer-acht.org
Mon Dec 26 17:30:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 49de9629b99a6ec277e96221de7421dc0706add5
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Dec 26 18:28:26 2016 +0100

    reproducible debian: run pg_dump with -O --column-inserts to make easier to import the dump in a non-postgres db
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index e6fb4e1..b1024b0 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -40,7 +40,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 	if [ ! -f $BACKUPFILE.xz ] ; then
 		# make the backup
 		DATE=$(date '+%Y-%m-%d')
-		pg_dump $PGDATABASE > "$BACKUPFILE"
+		pg_dump -O --column-inserts $PGDATABASE > "$BACKUPFILE"
 		xz "$BACKUPFILE"
 
 		# make the backup public

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list