transactionalizing scripts
authorChris Sharp <csharp@georgialibraries.org>
Mon, 17 Sep 2012 11:56:43 +0000 (07:56 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 16 Feb 2013 13:28:45 +0000 (08:28 -0500)
Open-ILS/src/sql/Pg/version-upgrade/pines-2.1-2.2-upgrade-parallel-1.sql
Open-ILS/src/sql/Pg/version-upgrade/pines-2.1-2.2-upgrade-pt-1.sql

index 611f66c..b1a563a 100644 (file)
@@ -1,3 +1,6 @@
+\set eg_version '''2.2.0'''
+
+BEGIN;
 -- Evergreen DB patch 0663.schema.archive_circ_stat_cats.sql
 --
 -- Enables users to set copy and patron stat cats to be archivable
@@ -102,4 +105,5 @@ ALTER TABLE action.circulation
     ALTER COLUMN copy_location SET DEFAULT 1,
     ENABLE TRIGGER ALL;
 
+COMMIT;
 
index 1257f30..f5143d9 100644 (file)
@@ -118,9 +118,9 @@ Upgrade script % can not be applied:
 END;
 $$ LANGUAGE PLPGSQL;
 
- Evergreen DB patch 0536.schema.lazy_circ-barcode_lookup.sql
+-- Evergreen DB patch 0536.schema.lazy_circ-barcode_lookup.sql
 
- FIXME: insert description of change, if needed
+--  FIXME: insert description of change, if needed
 
 
 -- check whether patch can be applied
@@ -523,3 +523,4 @@ INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
     ),
     'integer'
 );
+COMMIT;