This is an automated email from the git hooks/post-receive script. sebastic-guest pushed a commit to branch master in repository osmosis.
commit 22ea855b434158b15fabc94017dea15bf0c92f59 Author: Bas Couwenberg <[email protected]> Date: Thu Apr 10 20:20:05 2014 +0200 Add patch from upstream master branch: 0001-Disable-synchronous_commit-for-pgsnapshot-loading.patch --- ...sable-synchronous_commit-for-pgsnapshot-loading.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/debian/patches/0001-Disable-synchronous_commit-for-pgsnapshot-loading.patch b/debian/patches/0001-Disable-synchronous_commit-for-pgsnapshot-loading.patch new file mode 100644 index 0000000..9618fe2 --- /dev/null +++ b/debian/patches/0001-Disable-synchronous_commit-for-pgsnapshot-loading.patch @@ -0,0 +1,16 @@ +From ed22ce623433c7ec9f6ac34c74529bc801527e44 Mon Sep 17 00:00:00 2001 +From: Paul Norman <[email protected]> +Date: Sat, 1 Jun 2013 21:40:37 -0700 +Subject: Disable synchronous_commit for pgsnapshot loading +Origin: https://github.com/openstreetmap/osmosis/commit/ed22ce623433c7ec9f6ac34c74529bc801527e44 + + +--- a/package/script/pgsnapshot_load_0.6.sql ++++ b/package/script/pgsnapshot_load_0.6.sql +@@ -1,3 +1,6 @@ ++-- Allow data loss (but not corruption) in the case of a power outage. This is okay because we need to re-run the script anyways. ++SET synchronous_commit TO OFF; ++ + -- Drop all primary keys and indexes to improve load speed. + ALTER TABLE nodes DROP CONSTRAINT pk_nodes; + ALTER TABLE ways DROP CONSTRAINT pk_ways; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmosis.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

