JBAS-1554 Aged circ index timeout
authorBill Erickson <berickxx@gmail.com>
Mon, 17 Apr 2017 15:23:19 +0000 (08:23 -0700)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/sql/schema/deploy/aged-circs-api.sql

index 5fc7853..e118d6f 100644 (file)
@@ -1,6 +1,7 @@
 -- Deploy kcls-evergreen:aged-circs-api to pg
 -- requires: patron-co-history-table
 
+
 BEGIN;
 
 \set eg_version '''2.7.8'''
@@ -143,6 +144,7 @@ $$ LANGUAGE 'plpgsql';
 COMMIT;
 
 -- create index on parent_circ after main transaction.
+SET STATEMENT_TIMEOUT = 0;
 CREATE INDEX action_aged_circulation_parent_circ_idx 
     ON action.aged_circulation (parent_circ);