]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1176206: improve deadlock handling in 2.3-2.4-supplemental.sh user/gmcharlt/avoid-deadlock-during-supplemental-upgrade
authorGalen Charlton <gmc@esilibrary.com>
Fri, 3 May 2013 21:20:21 +0000 (17:20 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 3 May 2013 21:24:57 +0000 (17:24 -0400)
commita399a95e97d1b960a251ede2e302782d8bd0260e
tree137f471218fc3d6c4d2fd4b53aab512c027ea824
parent2be86106c04187a6bfeb3a688b1e87d1743f441f
LP#1176206: improve deadlock handling in 2.3-2.4-supplemental.sh

- make sure that it doesn't attempt to create more than one
  index at a time for a given table
- if deadlocks occur (because of a PostgreSQL bug whose fix
  isn't slated for release until after April 2013), find
  and recreate the affected indexes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/version-upgrade/2.3-2.4-supplemental.sh