[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: maintenance: drop --column-inserts from pg_dump, it makes restore unecessary painful

Mattia Rizzolo mattia at debian.org
Wed Jul 5 13:28:15 UTC 2017


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

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

commit 6741942854d88bd58185766aa2e540f9159590ea
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Jul 5 15:27:48 2017 +0200

    reproducible debian: maintenance: drop --column-inserts from pg_dump, it makes restore unecessary painful
    
    originally this was done to allow restore in a non-postgres db, but we actually have no use for it, and really restore is too slow with this option on
    
    Thanks: Faux for the suggestion
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 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 c2d348b..202f891 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 -x -O --column-inserts $PGDATABASE > "$BACKUPFILE"
+		pg_dump -x -O $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