Add an explicit "set eg_version" at start of upgrade script
authorDan Scott <dscott@laurentian.ca>
Thu, 27 Sep 2012 02:02:17 +0000 (22:02 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 3 Oct 2012 16:49:14 +0000 (12:49 -0400)
Thanks to Robert Soulliere for raising this issue in LP# 1057113!

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/version-upgrade/2.2-2.3.0-upgrade-db.sql

index a9f7957..b3ac362 100644 (file)
@@ -1,4 +1,7 @@
 --Upgrade Script for 2.2 to 2.3.0
+
+\set eg_version '''2.3.0'''
+
 BEGIN;
 INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.3.0', :eg_version);
 -- Evergreen DB patch 0703.tpac_value_maps.sql