Skip to content

Commit

Permalink
Add debuging hints (#193)
Browse files Browse the repository at this point in the history
Add debuging hints to ease the update process.
  • Loading branch information
ponceta authored and 3nids committed Sep 14, 2017
1 parent d9533e3 commit 5a5edc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions update/upgrade_db.README
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,13 @@ The process will create a qwat_test and a qwat_test_conform DB.

If the process is successfull, you will be able to migrate your real database by lauching the command again with " --upgrade yes " parameter. Otherwise, the process is only launched on test DB.

**************
Debuging Hints
**************
On https://github.com/qwat/qwat-data-model/blob/master/update/upgrade_db.sh#L136

--single-transaction --exit-on-error

Can be problematic on restore : see https://lists.osgeo.org/pipermail/postgis-users/2015-November/040950.html

Avoiding quiet mode -q can be a great help to determine which query is failing.

0 comments on commit 5a5edc2

Please sign in to comment.