@timestamp,@message 2021-11-20 15:24:54.253,15:24:54 [] [] [] [] INFO RestRouting invoking postTenant 2021-11-20 15:24:54.293,15:24:54 [] [] [] [] INFO PostgresClient Executing multiple statements with id -324133105 2021-11-20 15:24:54.298,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER ROLE fs00001046_mod_inventory_storage SET search_path = ""$user"";" 2021-11-20 15:24:54.298,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER ROLE fs00001046_mod_inventory_storage SET search_path = ""$user"";" 2021-11-20 15:24:54.298,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.298,BEGIN 2021-11-20 15:24:54.298, BEGIN 2021-11-20 15:24:54.298," -- This only succeeds if show_trgm, a pg_trgm function," 2021-11-20 15:24:54.298, -- has been loaded into public schema. 2021-11-20 15:24:54.298, PERFORM public.show_trgm('a'); 2021-11-20 15:24:54.298, EXCEPTION 2021-11-20 15:24:54.298, WHEN undefined_function THEN 2021-11-20 15:24:54.298, BEGIN 2021-11-20 15:24:54.298, ALTER EXTENSION pg_trgm SET SCHEMA public; 2021-11-20 15:24:54.298, EXCEPTION 2021-11-20 15:24:54.298, WHEN undefined_object THEN NULL; 2021-11-20 15:24:54.298, END; 2021-11-20 15:24:54.298, END; 2021-11-20 15:24:54.298,END $$; 2021-11-20 15:24:54.300,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.300,BEGIN 2021-11-20 15:24:54.300, BEGIN 2021-11-20 15:24:54.300," -- This only succeeds if show_trgm, a pg_trgm function," 2021-11-20 15:24:54.300, -- has been loaded into public schema. 2021-11-20 15:24:54.300, PERFORM public.show_trgm('a'); 2021-11-20 15:24:54.300, EXCEPTION 2021-11-20 15:24:54.300, WHEN undefined_function THEN 2021-11-20 15:24:54.300, BEGIN 2021-11-20 15:24:54.300, ALTER EXTENSION pg_trgm SET SCHEMA public; 2021-11-20 15:24:54.300, EXCEPTION 2021-11-20 15:24:54.300, WHEN undefined_object THEN NULL; 2021-11-20 15:24:54.300, END; 2021-11-20 15:24:54.300, END; 2021-11-20 15:24:54.300,END $$; 2021-11-20 15:24:54.301,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2021-11-20 15:24:54.301,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42710', message='extension ""unaccent"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1672', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.301,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2021-11-20 15:24:54.301,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2021-11-20 15:24:54.302,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42710', message='extension ""pg_trgm"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1672', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.302,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2021-11-20 15:24:54.302,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.302,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""rmb_job"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.302,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.311,15:24:54 [] [] [] [] INFO LogUtil 127.0.0.1:57802 POST /_/tenant null HTTP_1_1 201 296 58 tid=fs00001046 Created 2021-11-20 15:24:54.604,15:24:54 [] [] [] [] INFO PostgresClient Executing multiple statements with id 446512351 2021-11-20 15:24:54.605,15:24:54 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:54.609,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} SET search_path TO fs00001046_mod_inventory_storage; 2021-11-20 15:24:54.609,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed SET search_path TO fs00001046_mod_inventory_storage; 2021-11-20 15:24:54.609,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL );" 2021-11-20 15:24:54.610,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""rmb_internal_index"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.610,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL );" 2021-11-20 15:24:54.610,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} UPDATE fs00001046_mod_inventory_storage.rmb_internal_index SET remove = TRUE; 2021-11-20 15:24:54.612,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed UPDATE fs00001046_mod_inventory_storage.rmb_internal_index SET remove = TRUE; 2021-11-20 15:24:54.612,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2021-11-20 15:24:54.612,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""rmb_internal_analyze"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.612,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2021-11-20 15:24:54.612,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.count_estimate_smart2(bigint,bigint,text);" 2021-11-20 15:24:54.614,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.count_estimate_smart2(bigint,bigint,text);" 2021-11-20 15:24:54.614,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE FUNCTION fs00001046_mod_inventory_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$" 2021-11-20 15:24:54.614,DECLARE 2021-11-20 15:24:54.614, rec record; 2021-11-20 15:24:54.614, cnt bigint; 2021-11-20 15:24:54.614,BEGIN 2021-11-20 15:24:54.614, IF rows = lim THEN 2021-11-20 15:24:54.614, FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP 2021-11-20 15:24:54.614," cnt := substring(rec.""QUERY PLAN"" FROM ' rows=([[:digit:]]+)');" 2021-11-20 15:24:54.614, EXIT WHEN cnt IS NOT NULL; 2021-11-20 15:24:54.614, END LOOP; 2021-11-20 15:24:54.614, RETURN cnt; 2021-11-20 15:24:54.614, END IF; 2021-11-20 15:24:54.614, RETURN rows; 2021-11-20 15:24:54.614,END; 2021-11-20 15:24:54.614,$$ LANGUAGE plpgsql VOLATILE STRICT; 2021-11-20 15:24:54.616,15:24:54 [] [] [] [] INFO LogUtil 127.0.0.1:57814 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 10 tid=fs00001046 OK 2021-11-20 15:24:54.617,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE FUNCTION fs00001046_mod_inventory_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$" 2021-11-20 15:24:54.617,DECLARE 2021-11-20 15:24:54.617, rec record; 2021-11-20 15:24:54.617, cnt bigint; 2021-11-20 15:24:54.617,BEGIN 2021-11-20 15:24:54.617, IF rows = lim THEN 2021-11-20 15:24:54.617, FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP 2021-11-20 15:24:54.617," cnt := substring(rec.""QUERY PLAN"" FROM ' rows=([[:digit:]]+)');" 2021-11-20 15:24:54.617, EXIT WHEN cnt IS NOT NULL; 2021-11-20 15:24:54.617, END LOOP; 2021-11-20 15:24:54.617, RETURN cnt; 2021-11-20 15:24:54.617, END IF; 2021-11-20 15:24:54.617, RETURN rows; 2021-11-20 15:24:54.617,END; 2021-11-20 15:24:54.617,$$ LANGUAGE plpgsql VOLATILE STRICT; 2021-11-20 15:24:54.617,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.count_estimate_default(query text) RETURNS bigint AS $$ 2021-11-20 15:24:54.617,DECLARE 2021-11-20 15:24:54.617, rows bigint; 2021-11-20 15:24:54.617, q text; 2021-11-20 15:24:54.617,BEGIN 2021-11-20 15:24:54.617, q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 2021-11-20 15:24:54.617, EXECUTE q INTO rows; 2021-11-20 15:24:54.617, IF rows < 1000 THEN 2021-11-20 15:24:54.617, return rows; 2021-11-20 15:24:54.617, END IF; 2021-11-20 15:24:54.617," rows = fs00001046_mod_inventory_storage.count_estimate_smart2(1000, 1000, query);" 2021-11-20 15:24:54.617, IF rows < 1000 THEN 2021-11-20 15:24:54.617, return 1000; 2021-11-20 15:24:54.617, END IF; 2021-11-20 15:24:54.617, RETURN rows; 2021-11-20 15:24:54.617,END; 2021-11-20 15:24:54.617,$$ LANGUAGE plpgsql IMMUTABLE STRICT; 2021-11-20 15:24:54.618,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.count_estimate_default(query text) RETURNS bigint AS $$ 2021-11-20 15:24:54.618,DECLARE 2021-11-20 15:24:54.618, rows bigint; 2021-11-20 15:24:54.618, q text; 2021-11-20 15:24:54.618,BEGIN 2021-11-20 15:24:54.618, q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 2021-11-20 15:24:54.618, EXECUTE q INTO rows; 2021-11-20 15:24:54.618, IF rows < 1000 THEN 2021-11-20 15:24:54.618, return rows; 2021-11-20 15:24:54.618, END IF; 2021-11-20 15:24:54.618," rows = fs00001046_mod_inventory_storage.count_estimate_smart2(1000, 1000, query);" 2021-11-20 15:24:54.618, IF rows < 1000 THEN 2021-11-20 15:24:54.618, return 1000; 2021-11-20 15:24:54.618, END IF; 2021-11-20 15:24:54.618, RETURN rows; 2021-11-20 15:24:54.618,END; 2021-11-20 15:24:54.618,$$ LANGUAGE plpgsql IMMUTABLE STRICT; 2021-11-20 15:24:54.618,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.count_estimate(query text) RETURNS bigint AS $$ 2021-11-20 15:24:54.618,DECLARE 2021-11-20 15:24:54.618, count bigint; 2021-11-20 15:24:54.618, est_count bigint; 2021-11-20 15:24:54.618, q text; 2021-11-20 15:24:54.618,BEGIN 2021-11-20 15:24:54.618," est_count = fs00001046_mod_inventory_storage.count_estimate_smart2(1000, 1000, query);" 2021-11-20 15:24:54.618, IF est_count > 4*1000 THEN 2021-11-20 15:24:54.618, RETURN est_count; 2021-11-20 15:24:54.618, END IF; 2021-11-20 15:24:54.618, q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 2021-11-20 15:24:54.618, EXECUTE q INTO count; 2021-11-20 15:24:54.618, IF count < 1000 THEN 2021-11-20 15:24:54.618, RETURN count; 2021-11-20 15:24:54.618, END IF; 2021-11-20 15:24:54.618, IF est_count < 1000 THEN 2021-11-20 15:24:54.618, RETURN 1000; 2021-11-20 15:24:54.618, END IF; 2021-11-20 15:24:54.618, RETURN est_count; 2021-11-20 15:24:54.618,END; 2021-11-20 15:24:54.618,$$ LANGUAGE plpgsql STABLE STRICT; 2021-11-20 15:24:54.619,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.count_estimate(query text) RETURNS bigint AS $$ 2021-11-20 15:24:54.619,DECLARE 2021-11-20 15:24:54.619, count bigint; 2021-11-20 15:24:54.619, est_count bigint; 2021-11-20 15:24:54.619, q text; 2021-11-20 15:24:54.619,BEGIN 2021-11-20 15:24:54.619," est_count = fs00001046_mod_inventory_storage.count_estimate_smart2(1000, 1000, query);" 2021-11-20 15:24:54.619, IF est_count > 4*1000 THEN 2021-11-20 15:24:54.619, RETURN est_count; 2021-11-20 15:24:54.619, END IF; 2021-11-20 15:24:54.619, q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 2021-11-20 15:24:54.619, EXECUTE q INTO count; 2021-11-20 15:24:54.619, IF count < 1000 THEN 2021-11-20 15:24:54.619, RETURN count; 2021-11-20 15:24:54.619, END IF; 2021-11-20 15:24:54.619, IF est_count < 1000 THEN 2021-11-20 15:24:54.619, RETURN 1000; 2021-11-20 15:24:54.619, END IF; 2021-11-20 15:24:54.619, RETURN est_count; 2021-11-20 15:24:54.619,END; 2021-11-20 15:24:54.619,$$ LANGUAGE plpgsql STABLE STRICT; 2021-11-20 15:24:54.619,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$" 2021-11-20 15:24:54.619,DECLARE 2021-11-20 15:24:54.619, ret uuid; 2021-11-20 15:24:54.619,BEGIN 2021-11-20 15:24:54.619," EXECUTE format('UPDATE fs00001046_mod_inventory_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1)" 2021-11-20 15:24:54.619," USING $1, $2, $3 INTO ret;" 2021-11-20 15:24:54.619, IF ret IS NOT NULL THEN 2021-11-20 15:24:54.619, RETURN ret; 2021-11-20 15:24:54.619, END IF; 2021-11-20 15:24:54.619," EXECUTE format('INSERT INTO fs00001046_mod_inventory_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1)" 2021-11-20 15:24:54.619," USING $1, $2, $3 INTO STRICT ret;" 2021-11-20 15:24:54.619, RETURN ret; 2021-11-20 15:24:54.619,END; 2021-11-20 15:24:54.619,$$ LANGUAGE plpgsql; 2021-11-20 15:24:54.620,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$" 2021-11-20 15:24:54.620,DECLARE 2021-11-20 15:24:54.620, ret uuid; 2021-11-20 15:24:54.620,BEGIN 2021-11-20 15:24:54.620," EXECUTE format('UPDATE fs00001046_mod_inventory_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1)" 2021-11-20 15:24:54.620," USING $1, $2, $3 INTO ret;" 2021-11-20 15:24:54.620, IF ret IS NOT NULL THEN 2021-11-20 15:24:54.620, RETURN ret; 2021-11-20 15:24:54.620, END IF; 2021-11-20 15:24:54.620," EXECUTE format('INSERT INTO fs00001046_mod_inventory_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1)" 2021-11-20 15:24:54.620," USING $1, $2, $3 INTO STRICT ret;" 2021-11-20 15:24:54.620, RETURN ret; 2021-11-20 15:24:54.620,END; 2021-11-20 15:24:54.620,$$ LANGUAGE plpgsql; 2021-11-20 15:24:54.620,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.620, DECLARE ver integer; 2021-11-20 15:24:54.620, BEGIN 2021-11-20 15:24:54.620, SELECT current_setting('server_version_num') INTO ver; 2021-11-20 15:24:54.620, IF (ver >= 120000) THEN 2021-11-20 15:24:54.620, CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.f_unaccent(text) 2021-11-20 15:24:54.620, RETURNS text AS 2021-11-20 15:24:54.620, $f_unaccent$ 2021-11-20 15:24:54.620," SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary" 2021-11-20 15:24:54.620, $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.620, ELSE 2021-11-20 15:24:54.620, CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.f_unaccent(text) 2021-11-20 15:24:54.620, RETURNS text AS 2021-11-20 15:24:54.620, $f_unaccent$ 2021-11-20 15:24:54.620," SELECT regexp_replace(public.unaccent('public.unaccent', $1)," 2021-11-20 15:24:54.620, E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || 2021-11-20 15:24:54.620, E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || 2021-11-20 15:24:54.620, E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || 2021-11-20 15:24:54.620, E'\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || 2021-11-20 15:24:54.620, E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || 2021-11-20 15:24:54.620, E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || 2021-11-20 15:24:54.620, E'\u0360\u0361\u0362' || 2021-11-20 15:24:54.620, E'\u20dd\u20de\u20df\u20e0' || 2021-11-20 15:24:54.620," E'\u20e2\u20e3\u20e4]'," 2021-11-20 15:24:54.620," ''," 2021-11-20 15:24:54.620, 'g') 2021-11-20 15:24:54.620, $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.620, END IF; 2021-11-20 15:24:54.620, END 2021-11-20 15:24:54.620,$$; 2021-11-20 15:24:54.621,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.621, DECLARE ver integer; 2021-11-20 15:24:54.621, BEGIN 2021-11-20 15:24:54.621, SELECT current_setting('server_version_num') INTO ver; 2021-11-20 15:24:54.621, IF (ver >= 120000) THEN 2021-11-20 15:24:54.621, CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.f_unaccent(text) 2021-11-20 15:24:54.621, RETURNS text AS 2021-11-20 15:24:54.621, $f_unaccent$ 2021-11-20 15:24:54.621," SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary" 2021-11-20 15:24:54.621, $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.621, ELSE 2021-11-20 15:24:54.621, CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.f_unaccent(text) 2021-11-20 15:24:54.621, RETURNS text AS 2021-11-20 15:24:54.621, $f_unaccent$ 2021-11-20 15:24:54.621," SELECT regexp_replace(public.unaccent('public.unaccent', $1)," 2021-11-20 15:24:54.621, E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || 2021-11-20 15:24:54.621, E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || 2021-11-20 15:24:54.621, E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || 2021-11-20 15:24:54.621, E'\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || 2021-11-20 15:24:54.621, E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || 2021-11-20 15:24:54.621, E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || 2021-11-20 15:24:54.621, E'\u0360\u0361\u0362' || 2021-11-20 15:24:54.621, E'\u20dd\u20de\u20df\u20e0' || 2021-11-20 15:24:54.621," E'\u20e2\u20e3\u20e4]'," 2021-11-20 15:24:54.621," ''," 2021-11-20 15:24:54.621, 'g') 2021-11-20 15:24:54.621, $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.621, END IF; 2021-11-20 15:24:54.621, END 2021-11-20 15:24:54.621,$$; 2021-11-20 15:24:54.621,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.get_tsvector(text) RETURNS tsvector AS $$ 2021-11-20 15:24:54.621," SELECT to_tsvector('simple', translate($1, '&', ','));" 2021-11-20 15:24:54.621,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.622,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.get_tsvector(text) RETURNS tsvector AS $$ 2021-11-20 15:24:54.622," SELECT to_tsvector('simple', translate($1, '&', ','));" 2021-11-20 15:24:54.622,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.622,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.tsquery_and(text) RETURNS tsquery AS $$ 2021-11-20 15:24:54.622," SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN ''" 2021-11-20 15:24:54.622," WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*'" 2021-11-20 15:24:54.622," ELSE '''' || v || '''' END," 2021-11-20 15:24:54.622, '&')) 2021-11-20 15:24:54.622," FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v);" 2021-11-20 15:24:54.622,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.624,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.tsquery_and(text) RETURNS tsquery AS $$ 2021-11-20 15:24:54.624," SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN ''" 2021-11-20 15:24:54.624," WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*'" 2021-11-20 15:24:54.624," ELSE '''' || v || '''' END," 2021-11-20 15:24:54.624, '&')) 2021-11-20 15:24:54.624," FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v);" 2021-11-20 15:24:54.624,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.624,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.tsquery_or(text) RETURNS tsquery AS $$ 2021-11-20 15:24:54.624," SELECT replace(fs00001046_mod_inventory_storage.tsquery_and($1)::text, '&', '|')::tsquery;" 2021-11-20 15:24:54.624,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.624,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.tsquery_or(text) RETURNS tsquery AS $$ 2021-11-20 15:24:54.624," SELECT replace(fs00001046_mod_inventory_storage.tsquery_and($1)::text, '&', '|')::tsquery;" 2021-11-20 15:24:54.624,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.624,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.tsquery_phrase(text) RETURNS tsquery AS $$ 2021-11-20 15:24:54.624," SELECT replace(fs00001046_mod_inventory_storage.tsquery_and($1)::text, '&', '<->')::tsquery;" 2021-11-20 15:24:54.624,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.625,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.tsquery_phrase(text) RETURNS tsquery AS $$ 2021-11-20 15:24:54.625," SELECT replace(fs00001046_mod_inventory_storage.tsquery_and($1)::text, '&', '<->')::tsquery;" 2021-11-20 15:24:54.625,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.625,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.normalize_digits(text) RETURNS text AS $$ 2021-11-20 15:24:54.625," SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '')" 2021-11-20 15:24:54.625," || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN ''" 2021-11-20 15:24:54.625," WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN ''" 2021-11-20 15:24:54.625, ELSE ' ' 2021-11-20 15:24:54.625, END 2021-11-20 15:24:54.625," || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2];" 2021-11-20 15:24:54.625,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.626,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.normalize_digits(text) RETURNS text AS $$ 2021-11-20 15:24:54.626," SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '')" 2021-11-20 15:24:54.626," || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN ''" 2021-11-20 15:24:54.626," WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN ''" 2021-11-20 15:24:54.626, ELSE ' ' 2021-11-20 15:24:54.626, END 2021-11-20 15:24:54.626," || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2];" 2021-11-20 15:24:54.626,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.626,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.626,BEGIN 2021-11-20 15:24:54.626," NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id));" 2021-11-20 15:24:54.626, RETURN NEW; 2021-11-20 15:24:54.626,END; 2021-11-20 15:24:54.626,$$ language 'plpgsql'; 2021-11-20 15:24:54.627,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.627,BEGIN 2021-11-20 15:24:54.627," NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id));" 2021-11-20 15:24:54.627, RETURN NEW; 2021-11-20 15:24:54.627,END; 2021-11-20 15:24:54.627,$$ language 'plpgsql'; 2021-11-20 15:24:54.627,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} create or replace function fs00001046_mod_inventory_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1);" 2021-11-20 15:24:54.627,$$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.628,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed create or replace function fs00001046_mod_inventory_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1);" 2021-11-20 15:24:54.628,$$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.628,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} create or replace function fs00001046_mod_inventory_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$" 2021-11-20 15:24:54.628," SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1);" 2021-11-20 15:24:54.628,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.628,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed create or replace function fs00001046_mod_inventory_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$" 2021-11-20 15:24:54.628," SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1);" 2021-11-20 15:24:54.628,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.628,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} create or replace function fs00001046_mod_inventory_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$" 2021-11-20 15:24:54.628,"SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4;" 2021-11-20 15:24:54.628,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.629,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed create or replace function fs00001046_mod_inventory_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$" 2021-11-20 15:24:54.629,"SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4;" 2021-11-20 15:24:54.629,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.629,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} create or replace function fs00001046_mod_inventory_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$" 2021-11-20 15:24:54.629,SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; 2021-11-20 15:24:54.629,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.630,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed create or replace function fs00001046_mod_inventory_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$" 2021-11-20 15:24:54.630,SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; 2021-11-20 15:24:54.630,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.630,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} create or replace function fs00001046_mod_inventory_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ 2021-11-20 15:24:54.630," SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1);" 2021-11-20 15:24:54.630,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.631,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed create or replace function fs00001046_mod_inventory_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ 2021-11-20 15:24:54.631," SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1);" 2021-11-20 15:24:54.631,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:24:54.631,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text);" 2021-11-20 15:24:54.631,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.631,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text);" 2021-11-20 15:24:54.632,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$" 2021-11-20 15:24:54.632,DECLARE 2021-11-20 15:24:54.632, olddef text; 2021-11-20 15:24:54.632," namep CONSTANT text = concat(aname, '_p');" 2021-11-20 15:24:54.632, prepareddef text; 2021-11-20 15:24:54.632,BEGIN 2021-11-20 15:24:54.632, IF tops = 'DELETE' THEN 2021-11-20 15:24:54.632," -- use case insensitive %s, not case sensitive %I" 2021-11-20 15:24:54.632, -- no SQL injection because the names are hard-coded in schema.json 2021-11-20 15:24:54.632," EXECUTE format('DROP INDEX IF EXISTS %s', aname);" 2021-11-20 15:24:54.632, EXECUTE 'DELETE FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE name = $1' USING aname; 2021-11-20 15:24:54.632, RETURN; 2021-11-20 15:24:54.632, END IF; 2021-11-20 15:24:54.632, SELECT def INTO olddef FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE name = aname; 2021-11-20 15:24:54.632, SELECT def INTO prepareddef FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE name = namep; 2021-11-20 15:24:54.632," prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON '));" 2021-11-20 15:24:54.632, IF prepareddef = newdef THEN 2021-11-20 15:24:54.632," EXECUTE format('DROP INDEX IF EXISTS %s', aname);" 2021-11-20 15:24:54.632," EXECUTE format('ALTER INDEX IF EXISTS %s RENAME TO %s', namep, aname);" 2021-11-20 15:24:54.632, EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; 2021-11-20 15:24:54.632, EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; 2021-11-20 15:24:54.632, ELSIF olddef IS DISTINCT FROM newdef THEN 2021-11-20 15:24:54.632," EXECUTE format('DROP INDEX IF EXISTS %s', aname);" 2021-11-20 15:24:54.632, EXECUTE newdef; 2021-11-20 15:24:54.632, EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; 2021-11-20 15:24:54.632, END IF; 2021-11-20 15:24:54.632," EXECUTE 'INSERT INTO fs00001046_mod_inventory_storage.rmb_internal_index VALUES ($1, $2, FALSE) '" 2021-11-20 15:24:54.632," 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef;" 2021-11-20 15:24:54.632,END 2021-11-20 15:24:54.632,$$ LANGUAGE plpgsql; 2021-11-20 15:24:54.632,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$" 2021-11-20 15:24:54.632,DECLARE 2021-11-20 15:24:54.632, olddef text; 2021-11-20 15:24:54.632," namep CONSTANT text = concat(aname, '_p');" 2021-11-20 15:24:54.632, prepareddef text; 2021-11-20 15:24:54.632,BEGIN 2021-11-20 15:24:54.632, IF tops = 'DELETE' THEN 2021-11-20 15:24:54.632," -- use case insensitive %s, not case sensitive %I" 2021-11-20 15:24:54.632, -- no SQL injection because the names are hard-coded in schema.json 2021-11-20 15:24:54.632," EXECUTE format('DROP INDEX IF EXISTS %s', aname);" 2021-11-20 15:24:54.632, EXECUTE 'DELETE FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE name = $1' USING aname; 2021-11-20 15:24:54.632, RETURN; 2021-11-20 15:24:54.632, END IF; 2021-11-20 15:24:54.632, SELECT def INTO olddef FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE name = aname; 2021-11-20 15:24:54.632, SELECT def INTO prepareddef FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE name = namep; 2021-11-20 15:24:54.632," prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON '));" 2021-11-20 15:24:54.632, IF prepareddef = newdef THEN 2021-11-20 15:24:54.632," EXECUTE format('DROP INDEX IF EXISTS %s', aname);" 2021-11-20 15:24:54.632," EXECUTE format('ALTER INDEX IF EXISTS %s RENAME TO %s', namep, aname);" 2021-11-20 15:24:54.632, EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; 2021-11-20 15:24:54.632, EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; 2021-11-20 15:24:54.632, ELSIF olddef IS DISTINCT FROM newdef THEN 2021-11-20 15:24:54.632," EXECUTE format('DROP INDEX IF EXISTS %s', aname);" 2021-11-20 15:24:54.632, EXECUTE newdef; 2021-11-20 15:24:54.632, EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; 2021-11-20 15:24:54.632, END IF; 2021-11-20 15:24:54.632," EXECUTE 'INSERT INTO fs00001046_mod_inventory_storage.rmb_internal_index VALUES ($1, $2, FALSE) '" 2021-11-20 15:24:54.632," 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef;" 2021-11-20 15:24:54.632,END 2021-11-20 15:24:54.632,$$ LANGUAGE plpgsql; 2021-11-20 15:24:54.633,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.633,BEGIN 2021-11-20 15:24:54.633," -- use advisory lock to prevent ""tuple concurrently updated""" 2021-11-20 15:24:54.633, -- https://issues.folio.org/browse/RMB-744 2021-11-20 15:24:54.633," PERFORM pg_advisory_xact_lock(20201101, 1234567890);" 2021-11-20 15:24:54.633, REVOKE ALL PRIVILEGES ON SCHEMA public FROM fs00001046_mod_inventory_storage; 2021-11-20 15:24:54.633, REVOKE CREATE ON SCHEMA public FROM PUBLIC; 2021-11-20 15:24:54.633,END $$; 2021-11-20 15:24:54.633,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.633,BEGIN 2021-11-20 15:24:54.633," -- use advisory lock to prevent ""tuple concurrently updated""" 2021-11-20 15:24:54.633, -- https://issues.folio.org/browse/RMB-744 2021-11-20 15:24:54.633," PERFORM pg_advisory_xact_lock(20201101, 1234567890);" 2021-11-20 15:24:54.633, REVOKE ALL PRIVILEGES ON SCHEMA public FROM fs00001046_mod_inventory_storage; 2021-11-20 15:24:54.633, REVOKE CREATE ON SCHEMA public FROM PUBLIC; 2021-11-20 15:24:54.633,END $$; 2021-11-20 15:24:54.633,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.loan_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.634,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""loan_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.634,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.loan_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.634,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_loan_type ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.634,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_loan_type"" for relation ""fs00001046_mod_inventory_storage.loan_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.634,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_loan_type ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.634,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.635,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.636,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loan_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.636,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loan_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.637,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.loan_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.637,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""loan_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.637,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""loan_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.637,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.loan_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.637,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.637, BEGIN 2021-11-20 15:24:54.637, PERFORM rmb_internal_index( 2021-11-20 15:24:54.637," 'loan_type', 'loan_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.637, 'CREATE UNIQUE INDEX IF NOT EXISTS loan_type_name_idx_unique ON fs00001046_mod_inventory_storage.loan_type ' 2021-11-20 15:24:54.637, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.637, ); 2021-11-20 15:24:54.637, END $do$; 2021-11-20 15:24:54.639,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.639, BEGIN 2021-11-20 15:24:54.639, PERFORM rmb_internal_index( 2021-11-20 15:24:54.639," 'loan_type', 'loan_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.639, 'CREATE UNIQUE INDEX IF NOT EXISTS loan_type_name_idx_unique ON fs00001046_mod_inventory_storage.loan_type ' 2021-11-20 15:24:54.639, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.639, ); 2021-11-20 15:24:54.639, END $do$; 2021-11-20 15:24:54.639,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_loan_type_references ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.639,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_loan_type_references"" for relation ""fs00001046_mod_inventory_storage.loan_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.639,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_loan_type_references ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.639,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_loan_type_references(); 2021-11-20 15:24:54.640,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_loan_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.640,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_loan_type_references(); 2021-11-20 15:24:54.640,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.loan_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.640,DECLARE 2021-11-20 15:24:54.640, input text; 2021-11-20 15:24:54.640, createdDate timestamp; 2021-11-20 15:24:54.640,BEGIN 2021-11-20 15:24:54.640, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.640, IF input IS NULL THEN 2021-11-20 15:24:54.640, RETURN NEW; 2021-11-20 15:24:54.640, END IF; 2021-11-20 15:24:54.640, -- time stamp without time zone? 2021-11-20 15:24:54.640, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.640," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.640, createdDate = input::timestamp; 2021-11-20 15:24:54.640, ELSE 2021-11-20 15:24:54.640, -- createdDate has a time zone string 2021-11-20 15:24:54.640," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.640, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.640, END IF; 2021-11-20 15:24:54.640," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.640, NEW.creation_date = createdDate; 2021-11-20 15:24:54.640, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.640, RETURN NEW; 2021-11-20 15:24:54.640,END; 2021-11-20 15:24:54.640,$$ language 'plpgsql'; 2021-11-20 15:24:54.641,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.loan_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.641,DECLARE 2021-11-20 15:24:54.641, input text; 2021-11-20 15:24:54.641, createdDate timestamp; 2021-11-20 15:24:54.641,BEGIN 2021-11-20 15:24:54.641, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.641, IF input IS NULL THEN 2021-11-20 15:24:54.641, RETURN NEW; 2021-11-20 15:24:54.641, END IF; 2021-11-20 15:24:54.641, -- time stamp without time zone? 2021-11-20 15:24:54.641, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.641," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.641, createdDate = input::timestamp; 2021-11-20 15:24:54.641, ELSE 2021-11-20 15:24:54.641, -- createdDate has a time zone string 2021-11-20 15:24:54.641," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.641, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.641, END IF; 2021-11-20 15:24:54.641," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.641, NEW.creation_date = createdDate; 2021-11-20 15:24:54.641, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.641, RETURN NEW; 2021-11-20 15:24:54.641,END; 2021-11-20 15:24:54.641,$$ language 'plpgsql'; 2021-11-20 15:24:54.641,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loan_type_md_trigger ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.641,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loan_type_md_trigger ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.641,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_loan_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.loan_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.loan_type_set_md(); 2021-11-20 15:24:54.642,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_loan_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.loan_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.loan_type_set_md(); 2021-11-20 15:24:54.642,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_loan_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.642,BEGIN 2021-11-20 15:24:54.642, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.642, RETURN NEW; 2021-11-20 15:24:54.642, end if; 2021-11-20 15:24:54.642," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.642, if NEW.created_by IS NULL then 2021-11-20 15:24:54.642," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.642, else 2021-11-20 15:24:54.642," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.642, end if; 2021-11-20 15:24:54.642, RETURN NEW; 2021-11-20 15:24:54.642,END; 2021-11-20 15:24:54.642,$$ language 'plpgsql'; 2021-11-20 15:24:54.642,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_loan_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.642,BEGIN 2021-11-20 15:24:54.642, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.642, RETURN NEW; 2021-11-20 15:24:54.642, end if; 2021-11-20 15:24:54.642," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.642, if NEW.created_by IS NULL then 2021-11-20 15:24:54.642," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.642, else 2021-11-20 15:24:54.642," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.642, end if; 2021-11-20 15:24:54.642, RETURN NEW; 2021-11-20 15:24:54.642,END; 2021-11-20 15:24:54.642,$$ language 'plpgsql'; 2021-11-20 15:24:54.642,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loan_type_md_json_trigger ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.643,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loan_type_md_json_trigger ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.643,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_loan_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.loan_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_loan_type_md_json(); 2021-11-20 15:24:54.643,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_loan_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.loan_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_loan_type_md_json(); 2021-11-20 15:24:54.643,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loan_type_ol_version_trigger ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.644,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_loan_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.loan_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.644,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loan_type_ol_version_trigger ON fs00001046_mod_inventory_storage.loan_type CASCADE; 2021-11-20 15:24:54.644,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.loan_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.645,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.loan_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.645,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.loan_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.645,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.material_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.645,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""material_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.647,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.material_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.647,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_material_type ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.647,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_material_type"" for relation ""fs00001046_mod_inventory_storage.material_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.647,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_material_type ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.647,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.648,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.648,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.material_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.649,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.material_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.649,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.material_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.650,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""material_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.650,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""material_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.650,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.material_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.650,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.650, BEGIN 2021-11-20 15:24:54.650, PERFORM rmb_internal_index( 2021-11-20 15:24:54.650," 'material_type', 'material_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.650, 'CREATE UNIQUE INDEX IF NOT EXISTS material_type_name_idx_unique ON fs00001046_mod_inventory_storage.material_type ' 2021-11-20 15:24:54.650, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.650, ); 2021-11-20 15:24:54.650, END $do$; 2021-11-20 15:24:54.651,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.651, BEGIN 2021-11-20 15:24:54.651, PERFORM rmb_internal_index( 2021-11-20 15:24:54.651," 'material_type', 'material_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.651, 'CREATE UNIQUE INDEX IF NOT EXISTS material_type_name_idx_unique ON fs00001046_mod_inventory_storage.material_type ' 2021-11-20 15:24:54.651, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.651, ); 2021-11-20 15:24:54.651, END $do$; 2021-11-20 15:24:54.651,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_material_type_references ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.651,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_material_type_references"" for relation ""fs00001046_mod_inventory_storage.material_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.651,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_material_type_references ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.651,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_material_type_references(); 2021-11-20 15:24:54.652,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_material_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.652,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_material_type_references(); 2021-11-20 15:24:54.652,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.material_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.652,DECLARE 2021-11-20 15:24:54.652, input text; 2021-11-20 15:24:54.652, createdDate timestamp; 2021-11-20 15:24:54.652,BEGIN 2021-11-20 15:24:54.652, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.652, IF input IS NULL THEN 2021-11-20 15:24:54.652, RETURN NEW; 2021-11-20 15:24:54.652, END IF; 2021-11-20 15:24:54.652, -- time stamp without time zone? 2021-11-20 15:24:54.652, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.652," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.652, createdDate = input::timestamp; 2021-11-20 15:24:54.652, ELSE 2021-11-20 15:24:54.652, -- createdDate has a time zone string 2021-11-20 15:24:54.652," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.652, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.652, END IF; 2021-11-20 15:24:54.652," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.652, NEW.creation_date = createdDate; 2021-11-20 15:24:54.652, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.652, RETURN NEW; 2021-11-20 15:24:54.652,END; 2021-11-20 15:24:54.652,$$ language 'plpgsql'; 2021-11-20 15:24:54.653,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.material_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.653,DECLARE 2021-11-20 15:24:54.653, input text; 2021-11-20 15:24:54.653, createdDate timestamp; 2021-11-20 15:24:54.653,BEGIN 2021-11-20 15:24:54.653, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.653, IF input IS NULL THEN 2021-11-20 15:24:54.653, RETURN NEW; 2021-11-20 15:24:54.653, END IF; 2021-11-20 15:24:54.653, -- time stamp without time zone? 2021-11-20 15:24:54.653, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.653," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.653, createdDate = input::timestamp; 2021-11-20 15:24:54.653, ELSE 2021-11-20 15:24:54.653, -- createdDate has a time zone string 2021-11-20 15:24:54.653," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.653, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.653, END IF; 2021-11-20 15:24:54.653," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.653, NEW.creation_date = createdDate; 2021-11-20 15:24:54.653, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.653, RETURN NEW; 2021-11-20 15:24:54.653,END; 2021-11-20 15:24:54.653,$$ language 'plpgsql'; 2021-11-20 15:24:54.653,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_material_type_md_trigger ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.653,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_material_type_md_trigger ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.653,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_material_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.material_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.material_type_set_md(); 2021-11-20 15:24:54.654,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_material_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.material_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.material_type_set_md(); 2021-11-20 15:24:54.654,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_material_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.654,BEGIN 2021-11-20 15:24:54.654, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.654, RETURN NEW; 2021-11-20 15:24:54.654, end if; 2021-11-20 15:24:54.654," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.654, if NEW.created_by IS NULL then 2021-11-20 15:24:54.654," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.654, else 2021-11-20 15:24:54.654," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.654, end if; 2021-11-20 15:24:54.654, RETURN NEW; 2021-11-20 15:24:54.654,END; 2021-11-20 15:24:54.654,$$ language 'plpgsql'; 2021-11-20 15:24:54.655,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_material_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.655,BEGIN 2021-11-20 15:24:54.655, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.655, RETURN NEW; 2021-11-20 15:24:54.655, end if; 2021-11-20 15:24:54.655," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.655, if NEW.created_by IS NULL then 2021-11-20 15:24:54.655," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.655, else 2021-11-20 15:24:54.655," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.655, end if; 2021-11-20 15:24:54.655, RETURN NEW; 2021-11-20 15:24:54.655,END; 2021-11-20 15:24:54.655,$$ language 'plpgsql'; 2021-11-20 15:24:54.655,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_material_type_md_json_trigger ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.655,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_material_type_md_json_trigger ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.655,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_material_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.material_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_material_type_md_json(); 2021-11-20 15:24:54.656,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_material_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.material_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_material_type_md_json(); 2021-11-20 15:24:54.656,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_material_type_ol_version_trigger ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.656,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_material_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.material_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.656,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_material_type_ol_version_trigger ON fs00001046_mod_inventory_storage.material_type CASCADE; 2021-11-20 15:24:54.656,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.material_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.657,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.material_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.657,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.material_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.657,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.locinstitution ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.657,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""locinstitution"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.657,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.locinstitution ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.658,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_locinstitution ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.658,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_locinstitution"" for relation ""fs00001046_mod_inventory_storage.locinstitution"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.658,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_locinstitution ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.658,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.659,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.659,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.locinstitution FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.660,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.locinstitution FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.660,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.locinstitution ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.660,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""locinstitution"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.660,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""locinstitution"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.660,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.locinstitution ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.660,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.660, BEGIN 2021-11-20 15:24:54.660, PERFORM rmb_internal_index( 2021-11-20 15:24:54.660," 'locinstitution', 'locinstitution_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.660, 'CREATE UNIQUE INDEX IF NOT EXISTS locinstitution_name_idx_unique ON fs00001046_mod_inventory_storage.locinstitution ' 2021-11-20 15:24:54.660, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.660, ); 2021-11-20 15:24:54.660, END $do$; 2021-11-20 15:24:54.661,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.661, BEGIN 2021-11-20 15:24:54.661, PERFORM rmb_internal_index( 2021-11-20 15:24:54.661," 'locinstitution', 'locinstitution_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.661, 'CREATE UNIQUE INDEX IF NOT EXISTS locinstitution_name_idx_unique ON fs00001046_mod_inventory_storage.locinstitution ' 2021-11-20 15:24:54.661, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.661, ); 2021-11-20 15:24:54.661, END $do$; 2021-11-20 15:24:54.661,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_locinstitution_references ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.662,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_locinstitution_references"" for relation ""fs00001046_mod_inventory_storage.locinstitution"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.662,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_locinstitution_references ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.662,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_locinstitution_references(); 2021-11-20 15:24:54.662,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_locinstitution_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.662,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_locinstitution_references(); 2021-11-20 15:24:54.663,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.locinstitution_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.663,DECLARE 2021-11-20 15:24:54.663, input text; 2021-11-20 15:24:54.663, createdDate timestamp; 2021-11-20 15:24:54.663,BEGIN 2021-11-20 15:24:54.663, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.663, IF input IS NULL THEN 2021-11-20 15:24:54.663, RETURN NEW; 2021-11-20 15:24:54.663, END IF; 2021-11-20 15:24:54.663, -- time stamp without time zone? 2021-11-20 15:24:54.663, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.663," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.663, createdDate = input::timestamp; 2021-11-20 15:24:54.663, ELSE 2021-11-20 15:24:54.663, -- createdDate has a time zone string 2021-11-20 15:24:54.663," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.663, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.663, END IF; 2021-11-20 15:24:54.663," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.663, NEW.creation_date = createdDate; 2021-11-20 15:24:54.663, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.663, RETURN NEW; 2021-11-20 15:24:54.663,END; 2021-11-20 15:24:54.663,$$ language 'plpgsql'; 2021-11-20 15:24:54.663,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.locinstitution_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.663,DECLARE 2021-11-20 15:24:54.663, input text; 2021-11-20 15:24:54.663, createdDate timestamp; 2021-11-20 15:24:54.663,BEGIN 2021-11-20 15:24:54.663, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.663, IF input IS NULL THEN 2021-11-20 15:24:54.663, RETURN NEW; 2021-11-20 15:24:54.663, END IF; 2021-11-20 15:24:54.663, -- time stamp without time zone? 2021-11-20 15:24:54.663, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.663," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.663, createdDate = input::timestamp; 2021-11-20 15:24:54.663, ELSE 2021-11-20 15:24:54.663, -- createdDate has a time zone string 2021-11-20 15:24:54.663," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.663, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.663, END IF; 2021-11-20 15:24:54.663," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.663, NEW.creation_date = createdDate; 2021-11-20 15:24:54.663, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.663, RETURN NEW; 2021-11-20 15:24:54.663,END; 2021-11-20 15:24:54.663,$$ language 'plpgsql'; 2021-11-20 15:24:54.663,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_locinstitution_md_trigger ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.664,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_locinstitution_md_trigger ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.664,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_locinstitution_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.locinstitution FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.locinstitution_set_md(); 2021-11-20 15:24:54.665,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_locinstitution_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.locinstitution FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.locinstitution_set_md(); 2021-11-20 15:24:54.665,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_locinstitution_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.665,BEGIN 2021-11-20 15:24:54.665, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.665, RETURN NEW; 2021-11-20 15:24:54.665, end if; 2021-11-20 15:24:54.665," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.665, if NEW.created_by IS NULL then 2021-11-20 15:24:54.665," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.665, else 2021-11-20 15:24:54.665," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.665, end if; 2021-11-20 15:24:54.665, RETURN NEW; 2021-11-20 15:24:54.665,END; 2021-11-20 15:24:54.665,$$ language 'plpgsql'; 2021-11-20 15:24:54.665,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_locinstitution_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.665,BEGIN 2021-11-20 15:24:54.665, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.665, RETURN NEW; 2021-11-20 15:24:54.665, end if; 2021-11-20 15:24:54.665," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.665, if NEW.created_by IS NULL then 2021-11-20 15:24:54.665," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.665, else 2021-11-20 15:24:54.665," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.665, end if; 2021-11-20 15:24:54.665, RETURN NEW; 2021-11-20 15:24:54.665,END; 2021-11-20 15:24:54.665,$$ language 'plpgsql'; 2021-11-20 15:24:54.665,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_locinstitution_md_json_trigger ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.666,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_locinstitution_md_json_trigger ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.666,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_locinstitution_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.locinstitution FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_locinstitution_md_json(); 2021-11-20 15:24:54.666,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_locinstitution_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.locinstitution FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_locinstitution_md_json(); 2021-11-20 15:24:54.666,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_locinstitution_ol_version_trigger ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.667,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_locinstitution_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.locinstitution"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.667,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_locinstitution_ol_version_trigger ON fs00001046_mod_inventory_storage.locinstitution CASCADE; 2021-11-20 15:24:54.667,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.locinstitution_set_ol_version() CASCADE; 2021-11-20 15:24:54.667,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.locinstitution_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.668,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.locinstitution_set_ol_version() CASCADE; 2021-11-20 15:24:54.668,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.loccampus ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.668,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""loccampus"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.668,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.loccampus ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.668,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_loccampus ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.669,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_loccampus"" for relation ""fs00001046_mod_inventory_storage.loccampus"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.669,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_loccampus ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.669,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.669,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.669,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.670,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.671,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.loccampus ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.671,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""loccampus"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.671,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""loccampus"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.671,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.loccampus ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.671,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.671, BEGIN 2021-11-20 15:24:54.671, PERFORM rmb_internal_index( 2021-11-20 15:24:54.671," 'loccampus', 'loccampus_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.671, 'CREATE UNIQUE INDEX IF NOT EXISTS loccampus_name_idx_unique ON fs00001046_mod_inventory_storage.loccampus ' 2021-11-20 15:24:54.671, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.671, ); 2021-11-20 15:24:54.671, END $do$; 2021-11-20 15:24:54.672,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.672, BEGIN 2021-11-20 15:24:54.672, PERFORM rmb_internal_index( 2021-11-20 15:24:54.672," 'loccampus', 'loccampus_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.672, 'CREATE UNIQUE INDEX IF NOT EXISTS loccampus_name_idx_unique ON fs00001046_mod_inventory_storage.loccampus ' 2021-11-20 15:24:54.672, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.672, ); 2021-11-20 15:24:54.672, END $do$; 2021-11-20 15:24:54.672,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.loccampus ADD COLUMN IF NOT EXISTS institutionId UUID; 2021-11-20 15:24:54.672,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""institutionid"" of relation ""loccampus"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.673,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.loccampus ADD COLUMN IF NOT EXISTS institutionId UUID; 2021-11-20 15:24:54.673,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.673, BEGIN 2021-11-20 15:24:54.673, BEGIN 2021-11-20 15:24:54.673, ALTER TABLE loccampus 2021-11-20 15:24:54.673, ADD CONSTRAINT institutionId_locinstitution_fkey 2021-11-20 15:24:54.673, FOREIGN KEY (institutionId) REFERENCES locinstitution; 2021-11-20 15:24:54.673, EXCEPTION 2021-11-20 15:24:54.673, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.673, END; 2021-11-20 15:24:54.673, END $$; 2021-11-20 15:24:54.673,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.673, BEGIN 2021-11-20 15:24:54.673, BEGIN 2021-11-20 15:24:54.673, ALTER TABLE loccampus 2021-11-20 15:24:54.673, ADD CONSTRAINT institutionId_locinstitution_fkey 2021-11-20 15:24:54.673, FOREIGN KEY (institutionId) REFERENCES locinstitution; 2021-11-20 15:24:54.673, EXCEPTION 2021-11-20 15:24:54.673, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.673, END; 2021-11-20 15:24:54.673, END $$; 2021-11-20 15:24:54.673,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS loccampus_institutionId_idx ON fs00001046_mod_inventory_storage.loccampus (institutionId); 2021-11-20 15:24:54.674,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""loccampus_institutionid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.674,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS loccampus_institutionId_idx ON fs00001046_mod_inventory_storage.loccampus (institutionId); 2021-11-20 15:24:54.674,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('loccampus'); 2021-11-20 15:24:54.674,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('loccampus'); 2021-11-20 15:24:54.674,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_loccampus_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.674, BEGIN 2021-11-20 15:24:54.674, NEW.institutionId = (NEW.jsonb->>'institutionId'); 2021-11-20 15:24:54.675, RETURN NEW; 2021-11-20 15:24:54.675, END; 2021-11-20 15:24:54.675, $$ language 'plpgsql'; 2021-11-20 15:24:54.675,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_loccampus_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.675, BEGIN 2021-11-20 15:24:54.675, NEW.institutionId = (NEW.jsonb->>'institutionId'); 2021-11-20 15:24:54.675, RETURN NEW; 2021-11-20 15:24:54.675, END; 2021-11-20 15:24:54.675, $$ language 'plpgsql'; 2021-11-20 15:24:54.675,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_loccampus_references ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.676,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_loccampus_references ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.676,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_loccampus_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_loccampus_references(); 2021-11-20 15:24:54.676,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_loccampus_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_loccampus_references(); 2021-11-20 15:24:54.676,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.676, DECLARE 2021-11-20 15:24:54.676, version TEXT; 2021-11-20 15:24:54.676, i INT; 2021-11-20 15:24:54.676, BEGIN 2021-11-20 15:24:54.676, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.676, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.676, RETURN; 2021-11-20 15:24:54.676, END IF; 2021-11-20 15:24:54.676, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.676, EXECUTE 'ALTER TABLE loccampus DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.676, || 'institutionId_locinstitution_fkey' || i; 2021-11-20 15:24:54.676, END LOOP; 2021-11-20 15:24:54.676, END $$; 2021-11-20 15:24:54.677,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.677, DECLARE 2021-11-20 15:24:54.677, version TEXT; 2021-11-20 15:24:54.677, i INT; 2021-11-20 15:24:54.677, BEGIN 2021-11-20 15:24:54.677, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.677, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.677, RETURN; 2021-11-20 15:24:54.677, END IF; 2021-11-20 15:24:54.677, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.677, EXECUTE 'ALTER TABLE loccampus DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.677, || 'institutionId_locinstitution_fkey' || i; 2021-11-20 15:24:54.677, END LOOP; 2021-11-20 15:24:54.677, END $$; 2021-11-20 15:24:54.677,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.loccampus_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.677,DECLARE 2021-11-20 15:24:54.677, input text; 2021-11-20 15:24:54.677, createdDate timestamp; 2021-11-20 15:24:54.677,BEGIN 2021-11-20 15:24:54.677, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.677, IF input IS NULL THEN 2021-11-20 15:24:54.677, RETURN NEW; 2021-11-20 15:24:54.677, END IF; 2021-11-20 15:24:54.677, -- time stamp without time zone? 2021-11-20 15:24:54.677, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.677," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.677, createdDate = input::timestamp; 2021-11-20 15:24:54.677, ELSE 2021-11-20 15:24:54.677, -- createdDate has a time zone string 2021-11-20 15:24:54.677," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.677, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.677, END IF; 2021-11-20 15:24:54.677," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.677, NEW.creation_date = createdDate; 2021-11-20 15:24:54.677, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.677, RETURN NEW; 2021-11-20 15:24:54.677,END; 2021-11-20 15:24:54.677,$$ language 'plpgsql'; 2021-11-20 15:24:54.678,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.loccampus_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.678,DECLARE 2021-11-20 15:24:54.678, input text; 2021-11-20 15:24:54.678, createdDate timestamp; 2021-11-20 15:24:54.678,BEGIN 2021-11-20 15:24:54.678, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.678, IF input IS NULL THEN 2021-11-20 15:24:54.678, RETURN NEW; 2021-11-20 15:24:54.678, END IF; 2021-11-20 15:24:54.678, -- time stamp without time zone? 2021-11-20 15:24:54.678, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.678," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.678, createdDate = input::timestamp; 2021-11-20 15:24:54.678, ELSE 2021-11-20 15:24:54.678, -- createdDate has a time zone string 2021-11-20 15:24:54.678," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.678, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.678, END IF; 2021-11-20 15:24:54.678," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.678, NEW.creation_date = createdDate; 2021-11-20 15:24:54.678, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.678, RETURN NEW; 2021-11-20 15:24:54.678,END; 2021-11-20 15:24:54.678,$$ language 'plpgsql'; 2021-11-20 15:24:54.678,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loccampus_md_trigger ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.679,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loccampus_md_trigger ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.679,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_loccampus_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.loccampus_set_md(); 2021-11-20 15:24:54.679,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_loccampus_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.loccampus_set_md(); 2021-11-20 15:24:54.679,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_loccampus_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.679,BEGIN 2021-11-20 15:24:54.679, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.679, RETURN NEW; 2021-11-20 15:24:54.679, end if; 2021-11-20 15:24:54.679," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.679, if NEW.created_by IS NULL then 2021-11-20 15:24:54.679," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.679, else 2021-11-20 15:24:54.679," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.679, end if; 2021-11-20 15:24:54.679, RETURN NEW; 2021-11-20 15:24:54.679,END; 2021-11-20 15:24:54.679,$$ language 'plpgsql'; 2021-11-20 15:24:54.680,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_loccampus_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.680,BEGIN 2021-11-20 15:24:54.680, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.680, RETURN NEW; 2021-11-20 15:24:54.680, end if; 2021-11-20 15:24:54.680," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.680, if NEW.created_by IS NULL then 2021-11-20 15:24:54.680," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.680, else 2021-11-20 15:24:54.680," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.680, end if; 2021-11-20 15:24:54.680, RETURN NEW; 2021-11-20 15:24:54.680,END; 2021-11-20 15:24:54.680,$$ language 'plpgsql'; 2021-11-20 15:24:54.680,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loccampus_md_json_trigger ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.680,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loccampus_md_json_trigger ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.681,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_loccampus_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_loccampus_md_json(); 2021-11-20 15:24:54.681,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_loccampus_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.loccampus FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_loccampus_md_json(); 2021-11-20 15:24:54.681,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loccampus_ol_version_trigger ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.681,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_loccampus_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.loccampus"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.682,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loccampus_ol_version_trigger ON fs00001046_mod_inventory_storage.loccampus CASCADE; 2021-11-20 15:24:54.682,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.loccampus_set_ol_version() CASCADE; 2021-11-20 15:24:54.682,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.loccampus_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.682,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.loccampus_set_ol_version() CASCADE; 2021-11-20 15:24:54.682,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.loclibrary ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.683,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""loclibrary"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.683,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.loclibrary ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.683,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_loclibrary ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.683,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_loclibrary"" for relation ""fs00001046_mod_inventory_storage.loclibrary"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.683,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_loclibrary ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.683,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.684,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.684,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.685,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.685,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.loclibrary ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.686,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""loclibrary"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.686,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""loclibrary"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.686,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.loclibrary ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.686,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.686, BEGIN 2021-11-20 15:24:54.686, PERFORM rmb_internal_index( 2021-11-20 15:24:54.686," 'loclibrary', 'loclibrary_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.686, 'CREATE UNIQUE INDEX IF NOT EXISTS loclibrary_name_idx_unique ON fs00001046_mod_inventory_storage.loclibrary ' 2021-11-20 15:24:54.686, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.686, ); 2021-11-20 15:24:54.686, END $do$; 2021-11-20 15:24:54.687,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.687, BEGIN 2021-11-20 15:24:54.687, PERFORM rmb_internal_index( 2021-11-20 15:24:54.687," 'loclibrary', 'loclibrary_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.687, 'CREATE UNIQUE INDEX IF NOT EXISTS loclibrary_name_idx_unique ON fs00001046_mod_inventory_storage.loclibrary ' 2021-11-20 15:24:54.687, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.687, ); 2021-11-20 15:24:54.687, END $do$; 2021-11-20 15:24:54.687,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.loclibrary ADD COLUMN IF NOT EXISTS campusId UUID; 2021-11-20 15:24:54.687,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""campusid"" of relation ""loclibrary"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.687,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.loclibrary ADD COLUMN IF NOT EXISTS campusId UUID; 2021-11-20 15:24:54.687,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.687, BEGIN 2021-11-20 15:24:54.687, BEGIN 2021-11-20 15:24:54.687, ALTER TABLE loclibrary 2021-11-20 15:24:54.687, ADD CONSTRAINT campusId_loccampus_fkey 2021-11-20 15:24:54.687, FOREIGN KEY (campusId) REFERENCES loccampus; 2021-11-20 15:24:54.687, EXCEPTION 2021-11-20 15:24:54.687, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.687, END; 2021-11-20 15:24:54.687, END $$; 2021-11-20 15:24:54.688,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.688, BEGIN 2021-11-20 15:24:54.688, BEGIN 2021-11-20 15:24:54.688, ALTER TABLE loclibrary 2021-11-20 15:24:54.688, ADD CONSTRAINT campusId_loccampus_fkey 2021-11-20 15:24:54.688, FOREIGN KEY (campusId) REFERENCES loccampus; 2021-11-20 15:24:54.688, EXCEPTION 2021-11-20 15:24:54.688, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.688, END; 2021-11-20 15:24:54.688, END $$; 2021-11-20 15:24:54.688,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS loclibrary_campusId_idx ON fs00001046_mod_inventory_storage.loclibrary (campusId); 2021-11-20 15:24:54.688,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""loclibrary_campusid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.688,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS loclibrary_campusId_idx ON fs00001046_mod_inventory_storage.loclibrary (campusId); 2021-11-20 15:24:54.689,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('loclibrary'); 2021-11-20 15:24:54.689,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('loclibrary'); 2021-11-20 15:24:54.689,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_loclibrary_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.689, BEGIN 2021-11-20 15:24:54.689, NEW.campusId = (NEW.jsonb->>'campusId'); 2021-11-20 15:24:54.689, RETURN NEW; 2021-11-20 15:24:54.689, END; 2021-11-20 15:24:54.689, $$ language 'plpgsql'; 2021-11-20 15:24:54.690,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_loclibrary_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.690, BEGIN 2021-11-20 15:24:54.690, NEW.campusId = (NEW.jsonb->>'campusId'); 2021-11-20 15:24:54.690, RETURN NEW; 2021-11-20 15:24:54.690, END; 2021-11-20 15:24:54.690, $$ language 'plpgsql'; 2021-11-20 15:24:54.690,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_loclibrary_references ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.690,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_loclibrary_references ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.690,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_loclibrary_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_loclibrary_references(); 2021-11-20 15:24:54.691,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_loclibrary_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_loclibrary_references(); 2021-11-20 15:24:54.691,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.691, DECLARE 2021-11-20 15:24:54.691, version TEXT; 2021-11-20 15:24:54.691, i INT; 2021-11-20 15:24:54.691, BEGIN 2021-11-20 15:24:54.691, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.691, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.691, RETURN; 2021-11-20 15:24:54.691, END IF; 2021-11-20 15:24:54.691, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.691, EXECUTE 'ALTER TABLE loclibrary DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.691, || 'campusId_loccampus_fkey' || i; 2021-11-20 15:24:54.691, END LOOP; 2021-11-20 15:24:54.691, END $$; 2021-11-20 15:24:54.691,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.691, DECLARE 2021-11-20 15:24:54.691, version TEXT; 2021-11-20 15:24:54.691, i INT; 2021-11-20 15:24:54.691, BEGIN 2021-11-20 15:24:54.691, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.691, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.691, RETURN; 2021-11-20 15:24:54.691, END IF; 2021-11-20 15:24:54.691, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.691, EXECUTE 'ALTER TABLE loclibrary DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.691, || 'campusId_loccampus_fkey' || i; 2021-11-20 15:24:54.691, END LOOP; 2021-11-20 15:24:54.691, END $$; 2021-11-20 15:24:54.691,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.loclibrary_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.691,DECLARE 2021-11-20 15:24:54.691, input text; 2021-11-20 15:24:54.691, createdDate timestamp; 2021-11-20 15:24:54.691,BEGIN 2021-11-20 15:24:54.691, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.691, IF input IS NULL THEN 2021-11-20 15:24:54.691, RETURN NEW; 2021-11-20 15:24:54.691, END IF; 2021-11-20 15:24:54.691, -- time stamp without time zone? 2021-11-20 15:24:54.691, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.691," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.691, createdDate = input::timestamp; 2021-11-20 15:24:54.691, ELSE 2021-11-20 15:24:54.691, -- createdDate has a time zone string 2021-11-20 15:24:54.691," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.691, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.691, END IF; 2021-11-20 15:24:54.691," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.691, NEW.creation_date = createdDate; 2021-11-20 15:24:54.691, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.691, RETURN NEW; 2021-11-20 15:24:54.691,END; 2021-11-20 15:24:54.691,$$ language 'plpgsql'; 2021-11-20 15:24:54.692,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.loclibrary_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.692,DECLARE 2021-11-20 15:24:54.692, input text; 2021-11-20 15:24:54.692, createdDate timestamp; 2021-11-20 15:24:54.692,BEGIN 2021-11-20 15:24:54.692, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.692, IF input IS NULL THEN 2021-11-20 15:24:54.692, RETURN NEW; 2021-11-20 15:24:54.692, END IF; 2021-11-20 15:24:54.692, -- time stamp without time zone? 2021-11-20 15:24:54.692, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.692," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.692, createdDate = input::timestamp; 2021-11-20 15:24:54.692, ELSE 2021-11-20 15:24:54.692, -- createdDate has a time zone string 2021-11-20 15:24:54.692," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.692, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.692, END IF; 2021-11-20 15:24:54.692," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.692, NEW.creation_date = createdDate; 2021-11-20 15:24:54.692, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.692, RETURN NEW; 2021-11-20 15:24:54.692,END; 2021-11-20 15:24:54.692,$$ language 'plpgsql'; 2021-11-20 15:24:54.692,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loclibrary_md_trigger ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.693,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loclibrary_md_trigger ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.693,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_loclibrary_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.loclibrary_set_md(); 2021-11-20 15:24:54.693,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_loclibrary_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.loclibrary_set_md(); 2021-11-20 15:24:54.693,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_loclibrary_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.693,BEGIN 2021-11-20 15:24:54.693, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.693, RETURN NEW; 2021-11-20 15:24:54.693, end if; 2021-11-20 15:24:54.693," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.693, if NEW.created_by IS NULL then 2021-11-20 15:24:54.693," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.693, else 2021-11-20 15:24:54.693," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.693, end if; 2021-11-20 15:24:54.693, RETURN NEW; 2021-11-20 15:24:54.693,END; 2021-11-20 15:24:54.693,$$ language 'plpgsql'; 2021-11-20 15:24:54.694,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_loclibrary_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.694,BEGIN 2021-11-20 15:24:54.694, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.694, RETURN NEW; 2021-11-20 15:24:54.694, end if; 2021-11-20 15:24:54.694," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.694, if NEW.created_by IS NULL then 2021-11-20 15:24:54.694," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.694, else 2021-11-20 15:24:54.694," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.694, end if; 2021-11-20 15:24:54.694, RETURN NEW; 2021-11-20 15:24:54.694,END; 2021-11-20 15:24:54.694,$$ language 'plpgsql'; 2021-11-20 15:24:54.694,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loclibrary_md_json_trigger ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.694,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loclibrary_md_json_trigger ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.695,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_loclibrary_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_loclibrary_md_json(); 2021-11-20 15:24:54.695,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_loclibrary_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.loclibrary FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_loclibrary_md_json(); 2021-11-20 15:24:54.695,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_loclibrary_ol_version_trigger ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.695,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_loclibrary_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.loclibrary"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.696,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_loclibrary_ol_version_trigger ON fs00001046_mod_inventory_storage.loclibrary CASCADE; 2021-11-20 15:24:54.696,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.loclibrary_set_ol_version() CASCADE; 2021-11-20 15:24:54.696,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.loclibrary_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.696,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.loclibrary_set_ol_version() CASCADE; 2021-11-20 15:24:54.696,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.location ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.697,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""location"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.697,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.location ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.697,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_location ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.697,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_location"" for relation ""fs00001046_mod_inventory_storage.location"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.697,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_location ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.698,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.698,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.698,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.699,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.699,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.700,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""location"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.700,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""location"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.700,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.700,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.700, BEGIN 2021-11-20 15:24:54.700, PERFORM rmb_internal_index( 2021-11-20 15:24:54.700," 'location', 'location_primaryServicePoint_idx', 'ADD'," 2021-11-20 15:24:54.700, 'CREATE INDEX IF NOT EXISTS location_primaryServicePoint_idx ON fs00001046_mod_inventory_storage.location ' 2021-11-20 15:24:54.700," || $rmb$(left(lower(jsonb->>'primaryServicePoint'),600))$rmb$" 2021-11-20 15:24:54.700, ); 2021-11-20 15:24:54.700, END $do$; 2021-11-20 15:24:54.701,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.701, BEGIN 2021-11-20 15:24:54.701, PERFORM rmb_internal_index( 2021-11-20 15:24:54.701," 'location', 'location_primaryServicePoint_idx', 'ADD'," 2021-11-20 15:24:54.701, 'CREATE INDEX IF NOT EXISTS location_primaryServicePoint_idx ON fs00001046_mod_inventory_storage.location ' 2021-11-20 15:24:54.701," || $rmb$(left(lower(jsonb->>'primaryServicePoint'),600))$rmb$" 2021-11-20 15:24:54.701, ); 2021-11-20 15:24:54.701, END $do$; 2021-11-20 15:24:54.701,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.701, BEGIN 2021-11-20 15:24:54.701, PERFORM rmb_internal_index( 2021-11-20 15:24:54.701," 'location', 'location_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.701, 'CREATE UNIQUE INDEX IF NOT EXISTS location_name_idx_unique ON fs00001046_mod_inventory_storage.location ' 2021-11-20 15:24:54.701, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.701, ); 2021-11-20 15:24:54.701, END $do$; 2021-11-20 15:24:54.701,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.701, BEGIN 2021-11-20 15:24:54.701, PERFORM rmb_internal_index( 2021-11-20 15:24:54.701," 'location', 'location_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.701, 'CREATE UNIQUE INDEX IF NOT EXISTS location_name_idx_unique ON fs00001046_mod_inventory_storage.location ' 2021-11-20 15:24:54.701, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.701, ); 2021-11-20 15:24:54.701, END $do$; 2021-11-20 15:24:54.702,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.702, BEGIN 2021-11-20 15:24:54.702, PERFORM rmb_internal_index( 2021-11-20 15:24:54.702," 'location', 'location_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.702, 'CREATE UNIQUE INDEX IF NOT EXISTS location_code_idx_unique ON fs00001046_mod_inventory_storage.location ' 2021-11-20 15:24:54.702, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.702, ); 2021-11-20 15:24:54.702, END $do$; 2021-11-20 15:24:54.702,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.702, BEGIN 2021-11-20 15:24:54.702, PERFORM rmb_internal_index( 2021-11-20 15:24:54.702," 'location', 'location_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.702, 'CREATE UNIQUE INDEX IF NOT EXISTS location_code_idx_unique ON fs00001046_mod_inventory_storage.location ' 2021-11-20 15:24:54.702, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.702, ); 2021-11-20 15:24:54.702, END $do$; 2021-11-20 15:24:54.702,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS institutionId UUID; 2021-11-20 15:24:54.703,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""institutionid"" of relation ""location"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.703,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS institutionId UUID; 2021-11-20 15:24:54.703,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.703, BEGIN 2021-11-20 15:24:54.703, BEGIN 2021-11-20 15:24:54.703, ALTER TABLE location 2021-11-20 15:24:54.703, ADD CONSTRAINT institutionId_locinstitution_fkey 2021-11-20 15:24:54.703, FOREIGN KEY (institutionId) REFERENCES locinstitution; 2021-11-20 15:24:54.703, EXCEPTION 2021-11-20 15:24:54.703, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.703, END; 2021-11-20 15:24:54.703, END $$; 2021-11-20 15:24:54.703,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.703, BEGIN 2021-11-20 15:24:54.703, BEGIN 2021-11-20 15:24:54.703, ALTER TABLE location 2021-11-20 15:24:54.703, ADD CONSTRAINT institutionId_locinstitution_fkey 2021-11-20 15:24:54.703, FOREIGN KEY (institutionId) REFERENCES locinstitution; 2021-11-20 15:24:54.703, EXCEPTION 2021-11-20 15:24:54.703, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.703, END; 2021-11-20 15:24:54.703, END $$; 2021-11-20 15:24:54.703,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS location_institutionId_idx ON fs00001046_mod_inventory_storage.location (institutionId); 2021-11-20 15:24:54.704,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""location_institutionid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.704,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS location_institutionId_idx ON fs00001046_mod_inventory_storage.location (institutionId); 2021-11-20 15:24:54.704,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('location'); 2021-11-20 15:24:54.705,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('location'); 2021-11-20 15:24:54.705,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS campusId UUID; 2021-11-20 15:24:54.705,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""campusid"" of relation ""location"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.705,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS campusId UUID; 2021-11-20 15:24:54.705,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.705, BEGIN 2021-11-20 15:24:54.705, BEGIN 2021-11-20 15:24:54.705, ALTER TABLE location 2021-11-20 15:24:54.705, ADD CONSTRAINT campusId_loccampus_fkey 2021-11-20 15:24:54.705, FOREIGN KEY (campusId) REFERENCES loccampus; 2021-11-20 15:24:54.705, EXCEPTION 2021-11-20 15:24:54.705, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.705, END; 2021-11-20 15:24:54.705, END $$; 2021-11-20 15:24:54.706,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.706, BEGIN 2021-11-20 15:24:54.706, BEGIN 2021-11-20 15:24:54.706, ALTER TABLE location 2021-11-20 15:24:54.706, ADD CONSTRAINT campusId_loccampus_fkey 2021-11-20 15:24:54.706, FOREIGN KEY (campusId) REFERENCES loccampus; 2021-11-20 15:24:54.706, EXCEPTION 2021-11-20 15:24:54.706, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.706, END; 2021-11-20 15:24:54.706, END $$; 2021-11-20 15:24:54.706,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS location_campusId_idx ON fs00001046_mod_inventory_storage.location (campusId); 2021-11-20 15:24:54.706,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""location_campusid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.706,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS location_campusId_idx ON fs00001046_mod_inventory_storage.location (campusId); 2021-11-20 15:24:54.706,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('location'); 2021-11-20 15:24:54.707,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('location'); 2021-11-20 15:24:54.707,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS libraryId UUID; 2021-11-20 15:24:54.707,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""libraryid"" of relation ""location"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.707,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.location ADD COLUMN IF NOT EXISTS libraryId UUID; 2021-11-20 15:24:54.707,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.707, BEGIN 2021-11-20 15:24:54.707, BEGIN 2021-11-20 15:24:54.707, ALTER TABLE location 2021-11-20 15:24:54.707, ADD CONSTRAINT libraryId_loclibrary_fkey 2021-11-20 15:24:54.707, FOREIGN KEY (libraryId) REFERENCES loclibrary; 2021-11-20 15:24:54.707, EXCEPTION 2021-11-20 15:24:54.707, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.707, END; 2021-11-20 15:24:54.707, END $$; 2021-11-20 15:24:54.708,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.708, BEGIN 2021-11-20 15:24:54.708, BEGIN 2021-11-20 15:24:54.708, ALTER TABLE location 2021-11-20 15:24:54.708, ADD CONSTRAINT libraryId_loclibrary_fkey 2021-11-20 15:24:54.708, FOREIGN KEY (libraryId) REFERENCES loclibrary; 2021-11-20 15:24:54.708, EXCEPTION 2021-11-20 15:24:54.708, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.708, END; 2021-11-20 15:24:54.708, END $$; 2021-11-20 15:24:54.708,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS location_libraryId_idx ON fs00001046_mod_inventory_storage.location (libraryId); 2021-11-20 15:24:54.708,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""location_libraryid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.708,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS location_libraryId_idx ON fs00001046_mod_inventory_storage.location (libraryId); 2021-11-20 15:24:54.708,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('location'); 2021-11-20 15:24:54.709,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('location'); 2021-11-20 15:24:54.709,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_location_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.709, BEGIN 2021-11-20 15:24:54.709, NEW.institutionId = (NEW.jsonb->>'institutionId'); 2021-11-20 15:24:54.709, NEW.campusId = (NEW.jsonb->>'campusId'); 2021-11-20 15:24:54.709, NEW.libraryId = (NEW.jsonb->>'libraryId'); 2021-11-20 15:24:54.709, RETURN NEW; 2021-11-20 15:24:54.709, END; 2021-11-20 15:24:54.709, $$ language 'plpgsql'; 2021-11-20 15:24:54.710,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_location_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.710, BEGIN 2021-11-20 15:24:54.710, NEW.institutionId = (NEW.jsonb->>'institutionId'); 2021-11-20 15:24:54.710, NEW.campusId = (NEW.jsonb->>'campusId'); 2021-11-20 15:24:54.710, NEW.libraryId = (NEW.jsonb->>'libraryId'); 2021-11-20 15:24:54.710, RETURN NEW; 2021-11-20 15:24:54.710, END; 2021-11-20 15:24:54.710, $$ language 'plpgsql'; 2021-11-20 15:24:54.710,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_location_references ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.710,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_location_references ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.710,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_location_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_location_references(); 2021-11-20 15:24:54.711,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_location_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_location_references(); 2021-11-20 15:24:54.711,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.711, DECLARE 2021-11-20 15:24:54.711, version TEXT; 2021-11-20 15:24:54.711, i INT; 2021-11-20 15:24:54.711, BEGIN 2021-11-20 15:24:54.711, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.711, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.711, RETURN; 2021-11-20 15:24:54.711, END IF; 2021-11-20 15:24:54.711, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.711, EXECUTE 'ALTER TABLE location DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.711, || 'institutionId_locinstitution_fkey' || i; 2021-11-20 15:24:54.711, END LOOP; 2021-11-20 15:24:54.711, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.711, EXECUTE 'ALTER TABLE location DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.711, || 'campusId_loccampus_fkey' || i; 2021-11-20 15:24:54.711, END LOOP; 2021-11-20 15:24:54.711, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.711, EXECUTE 'ALTER TABLE location DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.711, || 'libraryId_loclibrary_fkey' || i; 2021-11-20 15:24:54.711, END LOOP; 2021-11-20 15:24:54.711, END $$; 2021-11-20 15:24:54.711,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.711, DECLARE 2021-11-20 15:24:54.711, version TEXT; 2021-11-20 15:24:54.711, i INT; 2021-11-20 15:24:54.711, BEGIN 2021-11-20 15:24:54.711, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.711, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.711, RETURN; 2021-11-20 15:24:54.711, END IF; 2021-11-20 15:24:54.711, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.711, EXECUTE 'ALTER TABLE location DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.711, || 'institutionId_locinstitution_fkey' || i; 2021-11-20 15:24:54.711, END LOOP; 2021-11-20 15:24:54.711, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.711, EXECUTE 'ALTER TABLE location DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.711, || 'campusId_loccampus_fkey' || i; 2021-11-20 15:24:54.711, END LOOP; 2021-11-20 15:24:54.711, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.711, EXECUTE 'ALTER TABLE location DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.711, || 'libraryId_loclibrary_fkey' || i; 2021-11-20 15:24:54.711, END LOOP; 2021-11-20 15:24:54.711, END $$; 2021-11-20 15:24:54.711,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.location_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.711,DECLARE 2021-11-20 15:24:54.711, input text; 2021-11-20 15:24:54.711, createdDate timestamp; 2021-11-20 15:24:54.711,BEGIN 2021-11-20 15:24:54.711, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.711, IF input IS NULL THEN 2021-11-20 15:24:54.711, RETURN NEW; 2021-11-20 15:24:54.711, END IF; 2021-11-20 15:24:54.711, -- time stamp without time zone? 2021-11-20 15:24:54.711, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.711," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.711, createdDate = input::timestamp; 2021-11-20 15:24:54.711, ELSE 2021-11-20 15:24:54.711, -- createdDate has a time zone string 2021-11-20 15:24:54.711," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.711, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.711, END IF; 2021-11-20 15:24:54.711," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.711, NEW.creation_date = createdDate; 2021-11-20 15:24:54.711, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.711, RETURN NEW; 2021-11-20 15:24:54.711,END; 2021-11-20 15:24:54.711,$$ language 'plpgsql'; 2021-11-20 15:24:54.712,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.location_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.712,DECLARE 2021-11-20 15:24:54.712, input text; 2021-11-20 15:24:54.712, createdDate timestamp; 2021-11-20 15:24:54.712,BEGIN 2021-11-20 15:24:54.712, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.712, IF input IS NULL THEN 2021-11-20 15:24:54.712, RETURN NEW; 2021-11-20 15:24:54.712, END IF; 2021-11-20 15:24:54.712, -- time stamp without time zone? 2021-11-20 15:24:54.712, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.712," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.712, createdDate = input::timestamp; 2021-11-20 15:24:54.712, ELSE 2021-11-20 15:24:54.712, -- createdDate has a time zone string 2021-11-20 15:24:54.712," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.712, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.712, END IF; 2021-11-20 15:24:54.712," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.712, NEW.creation_date = createdDate; 2021-11-20 15:24:54.712, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.712, RETURN NEW; 2021-11-20 15:24:54.712,END; 2021-11-20 15:24:54.712,$$ language 'plpgsql'; 2021-11-20 15:24:54.712,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_location_md_trigger ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.713,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_location_md_trigger ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.713,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_location_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.location_set_md(); 2021-11-20 15:24:54.713,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_location_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.location_set_md(); 2021-11-20 15:24:54.713,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_location_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.713,BEGIN 2021-11-20 15:24:54.713, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.713, RETURN NEW; 2021-11-20 15:24:54.713, end if; 2021-11-20 15:24:54.713," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.713, if NEW.created_by IS NULL then 2021-11-20 15:24:54.713," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.713, else 2021-11-20 15:24:54.713," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.713, end if; 2021-11-20 15:24:54.713, RETURN NEW; 2021-11-20 15:24:54.713,END; 2021-11-20 15:24:54.713,$$ language 'plpgsql'; 2021-11-20 15:24:54.714,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_location_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.714,BEGIN 2021-11-20 15:24:54.714, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.714, RETURN NEW; 2021-11-20 15:24:54.714, end if; 2021-11-20 15:24:54.714," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.714, if NEW.created_by IS NULL then 2021-11-20 15:24:54.714," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.714, else 2021-11-20 15:24:54.714," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.714, end if; 2021-11-20 15:24:54.714, RETURN NEW; 2021-11-20 15:24:54.714,END; 2021-11-20 15:24:54.714,$$ language 'plpgsql'; 2021-11-20 15:24:54.714,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_location_md_json_trigger ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.715,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_location_md_json_trigger ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.715,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_location_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_location_md_json(); 2021-11-20 15:24:54.715,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_location_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.location FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_location_md_json(); 2021-11-20 15:24:54.715,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_location_ol_version_trigger ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.716,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_location_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.location"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.716,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_location_ol_version_trigger ON fs00001046_mod_inventory_storage.location CASCADE; 2021-11-20 15:24:54.716,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.location_set_ol_version() CASCADE; 2021-11-20 15:24:54.716,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.location_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.717,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.location_set_ol_version() CASCADE; 2021-11-20 15:24:54.717,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.service_point ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.717,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""service_point"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.717,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.service_point ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.717,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_service_point ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.718,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_service_point"" for relation ""fs00001046_mod_inventory_storage.service_point"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.718,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_service_point ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.718,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.718,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.719,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.service_point FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.719,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.service_point FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.719,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.service_point ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.720,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""service_point"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.720,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""service_point"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.720,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.service_point ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.720,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.720, BEGIN 2021-11-20 15:24:54.720, PERFORM rmb_internal_index( 2021-11-20 15:24:54.720," 'service_point', 'service_point_pickupLocation_idx', 'ADD'," 2021-11-20 15:24:54.720, 'CREATE INDEX IF NOT EXISTS service_point_pickupLocation_idx ON fs00001046_mod_inventory_storage.service_point ' 2021-11-20 15:24:54.720," || $rmb$(left(lower(jsonb->>'pickupLocation'),600))$rmb$" 2021-11-20 15:24:54.720, ); 2021-11-20 15:24:54.720, END $do$; 2021-11-20 15:24:54.721,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.721, BEGIN 2021-11-20 15:24:54.721, PERFORM rmb_internal_index( 2021-11-20 15:24:54.721," 'service_point', 'service_point_pickupLocation_idx', 'ADD'," 2021-11-20 15:24:54.721, 'CREATE INDEX IF NOT EXISTS service_point_pickupLocation_idx ON fs00001046_mod_inventory_storage.service_point ' 2021-11-20 15:24:54.721," || $rmb$(left(lower(jsonb->>'pickupLocation'),600))$rmb$" 2021-11-20 15:24:54.721, ); 2021-11-20 15:24:54.721, END $do$; 2021-11-20 15:24:54.721,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.721, BEGIN 2021-11-20 15:24:54.721, PERFORM rmb_internal_index( 2021-11-20 15:24:54.721," 'service_point', 'service_point_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.721, 'CREATE UNIQUE INDEX IF NOT EXISTS service_point_name_idx_unique ON fs00001046_mod_inventory_storage.service_point ' 2021-11-20 15:24:54.721, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.721, ); 2021-11-20 15:24:54.721, END $do$; 2021-11-20 15:24:54.722,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.722, BEGIN 2021-11-20 15:24:54.722, PERFORM rmb_internal_index( 2021-11-20 15:24:54.722," 'service_point', 'service_point_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.722, 'CREATE UNIQUE INDEX IF NOT EXISTS service_point_name_idx_unique ON fs00001046_mod_inventory_storage.service_point ' 2021-11-20 15:24:54.722, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.722, ); 2021-11-20 15:24:54.722, END $do$; 2021-11-20 15:24:54.722,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.722, BEGIN 2021-11-20 15:24:54.722, PERFORM rmb_internal_index( 2021-11-20 15:24:54.722," 'service_point', 'service_point_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.722, 'CREATE UNIQUE INDEX IF NOT EXISTS service_point_code_idx_unique ON fs00001046_mod_inventory_storage.service_point ' 2021-11-20 15:24:54.722, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.722, ); 2021-11-20 15:24:54.722, END $do$; 2021-11-20 15:24:54.722,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.722, BEGIN 2021-11-20 15:24:54.722, PERFORM rmb_internal_index( 2021-11-20 15:24:54.722," 'service_point', 'service_point_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.722, 'CREATE UNIQUE INDEX IF NOT EXISTS service_point_code_idx_unique ON fs00001046_mod_inventory_storage.service_point ' 2021-11-20 15:24:54.722, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.722, ); 2021-11-20 15:24:54.722, END $do$; 2021-11-20 15:24:54.722,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_service_point_references ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.723,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_service_point_references"" for relation ""fs00001046_mod_inventory_storage.service_point"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.723,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_service_point_references ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.723,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_service_point_references(); 2021-11-20 15:24:54.724,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_service_point_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.724,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_service_point_references(); 2021-11-20 15:24:54.724,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.service_point_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.724,DECLARE 2021-11-20 15:24:54.724, input text; 2021-11-20 15:24:54.724, createdDate timestamp; 2021-11-20 15:24:54.724,BEGIN 2021-11-20 15:24:54.724, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.724, IF input IS NULL THEN 2021-11-20 15:24:54.724, RETURN NEW; 2021-11-20 15:24:54.724, END IF; 2021-11-20 15:24:54.724, -- time stamp without time zone? 2021-11-20 15:24:54.724, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.724," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.724, createdDate = input::timestamp; 2021-11-20 15:24:54.724, ELSE 2021-11-20 15:24:54.724, -- createdDate has a time zone string 2021-11-20 15:24:54.724," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.724, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.724, END IF; 2021-11-20 15:24:54.724," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.724, NEW.creation_date = createdDate; 2021-11-20 15:24:54.724, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.724, RETURN NEW; 2021-11-20 15:24:54.724,END; 2021-11-20 15:24:54.724,$$ language 'plpgsql'; 2021-11-20 15:24:54.725,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.service_point_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.725,DECLARE 2021-11-20 15:24:54.725, input text; 2021-11-20 15:24:54.725, createdDate timestamp; 2021-11-20 15:24:54.725,BEGIN 2021-11-20 15:24:54.725, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.725, IF input IS NULL THEN 2021-11-20 15:24:54.725, RETURN NEW; 2021-11-20 15:24:54.725, END IF; 2021-11-20 15:24:54.725, -- time stamp without time zone? 2021-11-20 15:24:54.725, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.725," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.725, createdDate = input::timestamp; 2021-11-20 15:24:54.725, ELSE 2021-11-20 15:24:54.725, -- createdDate has a time zone string 2021-11-20 15:24:54.725," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.725, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.725, END IF; 2021-11-20 15:24:54.725," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.725, NEW.creation_date = createdDate; 2021-11-20 15:24:54.725, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.725, RETURN NEW; 2021-11-20 15:24:54.725,END; 2021-11-20 15:24:54.725,$$ language 'plpgsql'; 2021-11-20 15:24:54.725,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_service_point_md_trigger ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.726,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_service_point_md_trigger ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.726,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_service_point_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.service_point FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.service_point_set_md(); 2021-11-20 15:24:54.726,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_service_point_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.service_point FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.service_point_set_md(); 2021-11-20 15:24:54.726,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_service_point_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.726,BEGIN 2021-11-20 15:24:54.726, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.726, RETURN NEW; 2021-11-20 15:24:54.726, end if; 2021-11-20 15:24:54.726," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.726, if NEW.created_by IS NULL then 2021-11-20 15:24:54.726," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.726, else 2021-11-20 15:24:54.726," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.726, end if; 2021-11-20 15:24:54.726, RETURN NEW; 2021-11-20 15:24:54.726,END; 2021-11-20 15:24:54.726,$$ language 'plpgsql'; 2021-11-20 15:24:54.727,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_service_point_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.727,BEGIN 2021-11-20 15:24:54.727, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.727, RETURN NEW; 2021-11-20 15:24:54.727, end if; 2021-11-20 15:24:54.727," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.727, if NEW.created_by IS NULL then 2021-11-20 15:24:54.727," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.727, else 2021-11-20 15:24:54.727," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.727, end if; 2021-11-20 15:24:54.727, RETURN NEW; 2021-11-20 15:24:54.727,END; 2021-11-20 15:24:54.727,$$ language 'plpgsql'; 2021-11-20 15:24:54.727,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_service_point_md_json_trigger ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.728,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_service_point_md_json_trigger ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.728,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_service_point_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.service_point FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_service_point_md_json(); 2021-11-20 15:24:54.728,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_service_point_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.service_point FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_service_point_md_json(); 2021-11-20 15:24:54.728,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_service_point_ol_version_trigger ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.729,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_service_point_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.service_point"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.729,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_service_point_ol_version_trigger ON fs00001046_mod_inventory_storage.service_point CASCADE; 2021-11-20 15:24:54.729,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.service_point_set_ol_version() CASCADE; 2021-11-20 15:24:54.730,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.service_point_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.730,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.service_point_set_ol_version() CASCADE; 2021-11-20 15:24:54.730,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.service_point_user ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.730,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""service_point_user"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.730,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.service_point_user ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.730,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_service_point_user ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.731,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_service_point_user"" for relation ""fs00001046_mod_inventory_storage.service_point_user"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.731,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_service_point_user ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.731,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.732,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.732,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.733,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.733,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.service_point_user ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.733,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""service_point_user"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.733,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""service_point_user"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.734,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.service_point_user ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.734,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.734, BEGIN 2021-11-20 15:24:54.734, PERFORM rmb_internal_index( 2021-11-20 15:24:54.734," 'service_point_user', 'service_point_user_userId_idx_unique', 'ADD'," 2021-11-20 15:24:54.734, 'CREATE UNIQUE INDEX IF NOT EXISTS service_point_user_userId_idx_unique ON fs00001046_mod_inventory_storage.service_point_user ' 2021-11-20 15:24:54.734, || $rmb$(lower(f_unaccent(jsonb->>'userId')))$rmb$ 2021-11-20 15:24:54.734, ); 2021-11-20 15:24:54.734, END $do$; 2021-11-20 15:24:54.734,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.734, BEGIN 2021-11-20 15:24:54.734, PERFORM rmb_internal_index( 2021-11-20 15:24:54.734," 'service_point_user', 'service_point_user_userId_idx_unique', 'ADD'," 2021-11-20 15:24:54.734, 'CREATE UNIQUE INDEX IF NOT EXISTS service_point_user_userId_idx_unique ON fs00001046_mod_inventory_storage.service_point_user ' 2021-11-20 15:24:54.734, || $rmb$(lower(f_unaccent(jsonb->>'userId')))$rmb$ 2021-11-20 15:24:54.734, ); 2021-11-20 15:24:54.734, END $do$; 2021-11-20 15:24:54.734,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.service_point_user ADD COLUMN IF NOT EXISTS defaultServicePointId UUID; 2021-11-20 15:24:54.735,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""defaultservicepointid"" of relation ""service_point_user"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.735,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.service_point_user ADD COLUMN IF NOT EXISTS defaultServicePointId UUID; 2021-11-20 15:24:54.735,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.735, BEGIN 2021-11-20 15:24:54.735, BEGIN 2021-11-20 15:24:54.735, ALTER TABLE service_point_user 2021-11-20 15:24:54.735, ADD CONSTRAINT defaultServicePointId_service_point_fkey 2021-11-20 15:24:54.735, FOREIGN KEY (defaultServicePointId) REFERENCES service_point; 2021-11-20 15:24:54.735, EXCEPTION 2021-11-20 15:24:54.735, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.735, END; 2021-11-20 15:24:54.735, END $$; 2021-11-20 15:24:54.736,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.736, BEGIN 2021-11-20 15:24:54.736, BEGIN 2021-11-20 15:24:54.736, ALTER TABLE service_point_user 2021-11-20 15:24:54.736, ADD CONSTRAINT defaultServicePointId_service_point_fkey 2021-11-20 15:24:54.736, FOREIGN KEY (defaultServicePointId) REFERENCES service_point; 2021-11-20 15:24:54.736, EXCEPTION 2021-11-20 15:24:54.736, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.736, END; 2021-11-20 15:24:54.736, END $$; 2021-11-20 15:24:54.736,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS service_point_user_defaultServicePointId_idx ON fs00001046_mod_inventory_storage.service_point_user (defaultServicePointId); 2021-11-20 15:24:54.736,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""service_point_user_defaultservicepointid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.737,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS service_point_user_defaultServicePointId_idx ON fs00001046_mod_inventory_storage.service_point_user (defaultServicePointId); 2021-11-20 15:24:54.737,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('service_point_user'); 2021-11-20 15:24:54.737,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('service_point_user'); 2021-11-20 15:24:54.737,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_service_point_user_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.737, BEGIN 2021-11-20 15:24:54.737, NEW.defaultServicePointId = (NEW.jsonb->>'defaultServicePointId'); 2021-11-20 15:24:54.737, RETURN NEW; 2021-11-20 15:24:54.737, END; 2021-11-20 15:24:54.737, $$ language 'plpgsql'; 2021-11-20 15:24:54.738,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_service_point_user_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.738, BEGIN 2021-11-20 15:24:54.738, NEW.defaultServicePointId = (NEW.jsonb->>'defaultServicePointId'); 2021-11-20 15:24:54.738, RETURN NEW; 2021-11-20 15:24:54.738, END; 2021-11-20 15:24:54.738, $$ language 'plpgsql'; 2021-11-20 15:24:54.738,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_service_point_user_references ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.738,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_service_point_user_references ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.738,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_service_point_user_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_service_point_user_references(); 2021-11-20 15:24:54.739,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_service_point_user_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_service_point_user_references(); 2021-11-20 15:24:54.739,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.739, DECLARE 2021-11-20 15:24:54.739, version TEXT; 2021-11-20 15:24:54.739, i INT; 2021-11-20 15:24:54.739, BEGIN 2021-11-20 15:24:54.739, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.739, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.739, RETURN; 2021-11-20 15:24:54.739, END IF; 2021-11-20 15:24:54.739, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.739, EXECUTE 'ALTER TABLE service_point_user DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.739, || 'defaultServicePointId_service_point_fkey' || i; 2021-11-20 15:24:54.739, END LOOP; 2021-11-20 15:24:54.739, END $$; 2021-11-20 15:24:54.739,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.739, DECLARE 2021-11-20 15:24:54.739, version TEXT; 2021-11-20 15:24:54.739, i INT; 2021-11-20 15:24:54.739, BEGIN 2021-11-20 15:24:54.739, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.739, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.739, RETURN; 2021-11-20 15:24:54.739, END IF; 2021-11-20 15:24:54.739, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.739, EXECUTE 'ALTER TABLE service_point_user DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.739, || 'defaultServicePointId_service_point_fkey' || i; 2021-11-20 15:24:54.739, END LOOP; 2021-11-20 15:24:54.739, END $$; 2021-11-20 15:24:54.739,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.service_point_user_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.739,DECLARE 2021-11-20 15:24:54.739, input text; 2021-11-20 15:24:54.739, createdDate timestamp; 2021-11-20 15:24:54.739,BEGIN 2021-11-20 15:24:54.739, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.739, IF input IS NULL THEN 2021-11-20 15:24:54.739, RETURN NEW; 2021-11-20 15:24:54.739, END IF; 2021-11-20 15:24:54.739, -- time stamp without time zone? 2021-11-20 15:24:54.739, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.739," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.739, createdDate = input::timestamp; 2021-11-20 15:24:54.739, ELSE 2021-11-20 15:24:54.739, -- createdDate has a time zone string 2021-11-20 15:24:54.739," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.739, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.739, END IF; 2021-11-20 15:24:54.739," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.739, NEW.creation_date = createdDate; 2021-11-20 15:24:54.739, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.739, RETURN NEW; 2021-11-20 15:24:54.739,END; 2021-11-20 15:24:54.739,$$ language 'plpgsql'; 2021-11-20 15:24:54.740,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.service_point_user_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.740,DECLARE 2021-11-20 15:24:54.740, input text; 2021-11-20 15:24:54.740, createdDate timestamp; 2021-11-20 15:24:54.740,BEGIN 2021-11-20 15:24:54.740, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.740, IF input IS NULL THEN 2021-11-20 15:24:54.740, RETURN NEW; 2021-11-20 15:24:54.740, END IF; 2021-11-20 15:24:54.740, -- time stamp without time zone? 2021-11-20 15:24:54.740, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.740," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.740, createdDate = input::timestamp; 2021-11-20 15:24:54.740, ELSE 2021-11-20 15:24:54.740, -- createdDate has a time zone string 2021-11-20 15:24:54.740," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.740, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.740, END IF; 2021-11-20 15:24:54.740," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.740, NEW.creation_date = createdDate; 2021-11-20 15:24:54.740, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.740, RETURN NEW; 2021-11-20 15:24:54.740,END; 2021-11-20 15:24:54.740,$$ language 'plpgsql'; 2021-11-20 15:24:54.740,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_service_point_user_md_trigger ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.740,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_service_point_user_md_trigger ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.741,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_service_point_user_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.service_point_user_set_md(); 2021-11-20 15:24:54.741,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_service_point_user_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.service_point_user_set_md(); 2021-11-20 15:24:54.741,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_service_point_user_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.741,BEGIN 2021-11-20 15:24:54.741, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.741, RETURN NEW; 2021-11-20 15:24:54.741, end if; 2021-11-20 15:24:54.741," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.741, if NEW.created_by IS NULL then 2021-11-20 15:24:54.741," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.741, else 2021-11-20 15:24:54.741," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.741, end if; 2021-11-20 15:24:54.741, RETURN NEW; 2021-11-20 15:24:54.741,END; 2021-11-20 15:24:54.741,$$ language 'plpgsql'; 2021-11-20 15:24:54.742,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_service_point_user_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.742,BEGIN 2021-11-20 15:24:54.742, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.742, RETURN NEW; 2021-11-20 15:24:54.742, end if; 2021-11-20 15:24:54.742," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.742, if NEW.created_by IS NULL then 2021-11-20 15:24:54.742," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.742, else 2021-11-20 15:24:54.742," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.742, end if; 2021-11-20 15:24:54.742, RETURN NEW; 2021-11-20 15:24:54.742,END; 2021-11-20 15:24:54.742,$$ language 'plpgsql'; 2021-11-20 15:24:54.742,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_service_point_user_md_json_trigger ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.742,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_service_point_user_md_json_trigger ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.743,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_service_point_user_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_service_point_user_md_json(); 2021-11-20 15:24:54.743,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_service_point_user_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.service_point_user FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_service_point_user_md_json(); 2021-11-20 15:24:54.743,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_service_point_user_ol_version_trigger ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.744,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_service_point_user_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.service_point_user"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.744,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_service_point_user_ol_version_trigger ON fs00001046_mod_inventory_storage.service_point_user CASCADE; 2021-11-20 15:24:54.744,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.service_point_user_set_ol_version() CASCADE; 2021-11-20 15:24:54.744,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.service_point_user_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.744,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.service_point_user_set_ol_version() CASCADE; 2021-11-20 15:24:54.744,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.identifier_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.745,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""identifier_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.745,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.identifier_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.745,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_identifier_type ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.745,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_identifier_type"" for relation ""fs00001046_mod_inventory_storage.identifier_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.745,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_identifier_type ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.745,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.746,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.746,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.identifier_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.747,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.identifier_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.747,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.identifier_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.747,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""identifier_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.748,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""identifier_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.748,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.identifier_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.748,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.748, BEGIN 2021-11-20 15:24:54.748, PERFORM rmb_internal_index( 2021-11-20 15:24:54.748," 'identifier_type', 'identifier_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.748, 'CREATE UNIQUE INDEX IF NOT EXISTS identifier_type_name_idx_unique ON fs00001046_mod_inventory_storage.identifier_type ' 2021-11-20 15:24:54.748, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.748, ); 2021-11-20 15:24:54.748, END $do$; 2021-11-20 15:24:54.749,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.749, BEGIN 2021-11-20 15:24:54.749, PERFORM rmb_internal_index( 2021-11-20 15:24:54.749," 'identifier_type', 'identifier_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.749, 'CREATE UNIQUE INDEX IF NOT EXISTS identifier_type_name_idx_unique ON fs00001046_mod_inventory_storage.identifier_type ' 2021-11-20 15:24:54.749, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.749, ); 2021-11-20 15:24:54.749, END $do$; 2021-11-20 15:24:54.749,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_identifier_type_references ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.749,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_identifier_type_references"" for relation ""fs00001046_mod_inventory_storage.identifier_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.749,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_identifier_type_references ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.749,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_identifier_type_references(); 2021-11-20 15:24:54.750,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_identifier_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.750,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_identifier_type_references(); 2021-11-20 15:24:54.750,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.identifier_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.750,DECLARE 2021-11-20 15:24:54.750, input text; 2021-11-20 15:24:54.750, createdDate timestamp; 2021-11-20 15:24:54.750,BEGIN 2021-11-20 15:24:54.750, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.750, IF input IS NULL THEN 2021-11-20 15:24:54.750, RETURN NEW; 2021-11-20 15:24:54.750, END IF; 2021-11-20 15:24:54.750, -- time stamp without time zone? 2021-11-20 15:24:54.750, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.750," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.750, createdDate = input::timestamp; 2021-11-20 15:24:54.750, ELSE 2021-11-20 15:24:54.750, -- createdDate has a time zone string 2021-11-20 15:24:54.750," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.750, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.750, END IF; 2021-11-20 15:24:54.750," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.750, NEW.creation_date = createdDate; 2021-11-20 15:24:54.750, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.750, RETURN NEW; 2021-11-20 15:24:54.750,END; 2021-11-20 15:24:54.750,$$ language 'plpgsql'; 2021-11-20 15:24:54.751,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.identifier_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.751,DECLARE 2021-11-20 15:24:54.751, input text; 2021-11-20 15:24:54.751, createdDate timestamp; 2021-11-20 15:24:54.751,BEGIN 2021-11-20 15:24:54.751, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.751, IF input IS NULL THEN 2021-11-20 15:24:54.751, RETURN NEW; 2021-11-20 15:24:54.751, END IF; 2021-11-20 15:24:54.751, -- time stamp without time zone? 2021-11-20 15:24:54.751, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.751," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.751, createdDate = input::timestamp; 2021-11-20 15:24:54.751, ELSE 2021-11-20 15:24:54.751, -- createdDate has a time zone string 2021-11-20 15:24:54.751," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.751, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.751, END IF; 2021-11-20 15:24:54.751," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.751, NEW.creation_date = createdDate; 2021-11-20 15:24:54.751, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.751, RETURN NEW; 2021-11-20 15:24:54.751,END; 2021-11-20 15:24:54.751,$$ language 'plpgsql'; 2021-11-20 15:24:54.751,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_identifier_type_md_trigger ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.751,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_identifier_type_md_trigger ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.751,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_identifier_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.identifier_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.identifier_type_set_md(); 2021-11-20 15:24:54.752,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_identifier_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.identifier_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.identifier_type_set_md(); 2021-11-20 15:24:54.752,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_identifier_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.752,BEGIN 2021-11-20 15:24:54.752, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.752, RETURN NEW; 2021-11-20 15:24:54.752, end if; 2021-11-20 15:24:54.752," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.752, if NEW.created_by IS NULL then 2021-11-20 15:24:54.752," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.752, else 2021-11-20 15:24:54.752," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.752, end if; 2021-11-20 15:24:54.752, RETURN NEW; 2021-11-20 15:24:54.752,END; 2021-11-20 15:24:54.752,$$ language 'plpgsql'; 2021-11-20 15:24:54.753,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_identifier_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.753,BEGIN 2021-11-20 15:24:54.753, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.753, RETURN NEW; 2021-11-20 15:24:54.753, end if; 2021-11-20 15:24:54.753," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.753, if NEW.created_by IS NULL then 2021-11-20 15:24:54.753," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.753, else 2021-11-20 15:24:54.753," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.753, end if; 2021-11-20 15:24:54.753, RETURN NEW; 2021-11-20 15:24:54.753,END; 2021-11-20 15:24:54.753,$$ language 'plpgsql'; 2021-11-20 15:24:54.753,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_identifier_type_md_json_trigger ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.753,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_identifier_type_md_json_trigger ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.753,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_identifier_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.identifier_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_identifier_type_md_json(); 2021-11-20 15:24:54.754,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_identifier_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.identifier_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_identifier_type_md_json(); 2021-11-20 15:24:54.754,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_identifier_type_ol_version_trigger ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.754,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_identifier_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.identifier_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.754,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_identifier_type_ol_version_trigger ON fs00001046_mod_inventory_storage.identifier_type CASCADE; 2021-11-20 15:24:54.754,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.identifier_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.755,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.identifier_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.755,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.identifier_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.755,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_relationship_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.755,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_relationship_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.755,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_relationship_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.756,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_relationship_type ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.756,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_relationship_type"" for relation ""fs00001046_mod_inventory_storage.instance_relationship_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.756,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_relationship_type ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.756,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.757,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.757,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_relationship_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.758,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_relationship_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.758,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.758,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""instance_relationship_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.759,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""instance_relationship_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.759,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.759,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.759, BEGIN 2021-11-20 15:24:54.759, PERFORM rmb_internal_index( 2021-11-20 15:24:54.759," 'instance_relationship_type', 'instance_relationship_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.759, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_relationship_type_name_idx_unique ON fs00001046_mod_inventory_storage.instance_relationship_type ' 2021-11-20 15:24:54.759, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.759, ); 2021-11-20 15:24:54.759, END $do$; 2021-11-20 15:24:54.759,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.759, BEGIN 2021-11-20 15:24:54.759, PERFORM rmb_internal_index( 2021-11-20 15:24:54.759," 'instance_relationship_type', 'instance_relationship_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.759, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_relationship_type_name_idx_unique ON fs00001046_mod_inventory_storage.instance_relationship_type ' 2021-11-20 15:24:54.759, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.759, ); 2021-11-20 15:24:54.759, END $do$; 2021-11-20 15:24:54.760,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_relationship_type_references ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.760,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_instance_relationship_type_references"" for relation ""fs00001046_mod_inventory_storage.instance_relationship_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.760,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_relationship_type_references ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.760,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_relationship_type_references(); 2021-11-20 15:24:54.761,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_instance_relationship_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.761,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_relationship_type_references(); 2021-11-20 15:24:54.761,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_relationship_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.761,DECLARE 2021-11-20 15:24:54.761, input text; 2021-11-20 15:24:54.761, createdDate timestamp; 2021-11-20 15:24:54.761,BEGIN 2021-11-20 15:24:54.761, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.761, IF input IS NULL THEN 2021-11-20 15:24:54.761, RETURN NEW; 2021-11-20 15:24:54.761, END IF; 2021-11-20 15:24:54.761, -- time stamp without time zone? 2021-11-20 15:24:54.761, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.761," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.761, createdDate = input::timestamp; 2021-11-20 15:24:54.761, ELSE 2021-11-20 15:24:54.761, -- createdDate has a time zone string 2021-11-20 15:24:54.761," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.761, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.761, END IF; 2021-11-20 15:24:54.761," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.761, NEW.creation_date = createdDate; 2021-11-20 15:24:54.761, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.761, RETURN NEW; 2021-11-20 15:24:54.761,END; 2021-11-20 15:24:54.761,$$ language 'plpgsql'; 2021-11-20 15:24:54.762,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_relationship_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.762,DECLARE 2021-11-20 15:24:54.762, input text; 2021-11-20 15:24:54.762, createdDate timestamp; 2021-11-20 15:24:54.762,BEGIN 2021-11-20 15:24:54.762, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.762, IF input IS NULL THEN 2021-11-20 15:24:54.762, RETURN NEW; 2021-11-20 15:24:54.762, END IF; 2021-11-20 15:24:54.762, -- time stamp without time zone? 2021-11-20 15:24:54.762, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.762," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.762, createdDate = input::timestamp; 2021-11-20 15:24:54.762, ELSE 2021-11-20 15:24:54.762, -- createdDate has a time zone string 2021-11-20 15:24:54.762," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.762, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.762, END IF; 2021-11-20 15:24:54.762," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.762, NEW.creation_date = createdDate; 2021-11-20 15:24:54.762, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.762, RETURN NEW; 2021-11-20 15:24:54.762,END; 2021-11-20 15:24:54.762,$$ language 'plpgsql'; 2021-11-20 15:24:54.762,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_relationship_type_md_trigger ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.762,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_relationship_type_md_trigger ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.762,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_relationship_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_relationship_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_relationship_type_set_md(); 2021-11-20 15:24:54.763,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_relationship_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_relationship_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_relationship_type_set_md(); 2021-11-20 15:24:54.763,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_relationship_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.763,BEGIN 2021-11-20 15:24:54.763, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.763, RETURN NEW; 2021-11-20 15:24:54.763, end if; 2021-11-20 15:24:54.763," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.763, if NEW.created_by IS NULL then 2021-11-20 15:24:54.763," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.763, else 2021-11-20 15:24:54.763," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.763, end if; 2021-11-20 15:24:54.763, RETURN NEW; 2021-11-20 15:24:54.763,END; 2021-11-20 15:24:54.763,$$ language 'plpgsql'; 2021-11-20 15:24:54.764,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_relationship_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.764,BEGIN 2021-11-20 15:24:54.764, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.764, RETURN NEW; 2021-11-20 15:24:54.764, end if; 2021-11-20 15:24:54.764," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.764, if NEW.created_by IS NULL then 2021-11-20 15:24:54.764," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.764, else 2021-11-20 15:24:54.764," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.764, end if; 2021-11-20 15:24:54.764, RETURN NEW; 2021-11-20 15:24:54.764,END; 2021-11-20 15:24:54.764,$$ language 'plpgsql'; 2021-11-20 15:24:54.764,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_relationship_type_md_json_trigger ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.764,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_relationship_type_md_json_trigger ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.764,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_relationship_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_relationship_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_relationship_type_md_json(); 2021-11-20 15:24:54.765,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_relationship_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_relationship_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_relationship_type_md_json(); 2021-11-20 15:24:54.765,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_relationship_type_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.765,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_relationship_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_relationship_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.765,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_relationship_type_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_relationship_type CASCADE; 2021-11-20 15:24:54.765,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_relationship_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.766,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_relationship_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.766,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_relationship_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.766,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.contributor_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.767,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""contributor_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.767,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.contributor_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.767,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_contributor_type ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.767,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_contributor_type"" for relation ""fs00001046_mod_inventory_storage.contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.767,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_contributor_type ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.767,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.768,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.768,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.contributor_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.769,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.contributor_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.769,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.contributor_type DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:24:54.770,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""creation_date"" of relation ""contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.770,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""created_by"" of relation ""contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.770,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.contributor_type DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:24:54.770,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.770, BEGIN 2021-11-20 15:24:54.770, PERFORM rmb_internal_index( 2021-11-20 15:24:54.770," 'contributor_type', 'contributor_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.770, 'CREATE UNIQUE INDEX IF NOT EXISTS contributor_type_name_idx_unique ON fs00001046_mod_inventory_storage.contributor_type ' 2021-11-20 15:24:54.770, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.770, ); 2021-11-20 15:24:54.770, END $do$; 2021-11-20 15:24:54.771,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.771, BEGIN 2021-11-20 15:24:54.771, PERFORM rmb_internal_index( 2021-11-20 15:24:54.771," 'contributor_type', 'contributor_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.771, 'CREATE UNIQUE INDEX IF NOT EXISTS contributor_type_name_idx_unique ON fs00001046_mod_inventory_storage.contributor_type ' 2021-11-20 15:24:54.771, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.771, ); 2021-11-20 15:24:54.771, END $do$; 2021-11-20 15:24:54.771,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.771, BEGIN 2021-11-20 15:24:54.771, PERFORM rmb_internal_index( 2021-11-20 15:24:54.771," 'contributor_type', 'contributor_type_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.771, 'CREATE UNIQUE INDEX IF NOT EXISTS contributor_type_code_idx_unique ON fs00001046_mod_inventory_storage.contributor_type ' 2021-11-20 15:24:54.771, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.771, ); 2021-11-20 15:24:54.771, END $do$; 2021-11-20 15:24:54.771,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.771, BEGIN 2021-11-20 15:24:54.771, PERFORM rmb_internal_index( 2021-11-20 15:24:54.771," 'contributor_type', 'contributor_type_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.771, 'CREATE UNIQUE INDEX IF NOT EXISTS contributor_type_code_idx_unique ON fs00001046_mod_inventory_storage.contributor_type ' 2021-11-20 15:24:54.771, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.771, ); 2021-11-20 15:24:54.771, END $do$; 2021-11-20 15:24:54.772,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_contributor_type_references ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.772,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_contributor_type_references"" for relation ""fs00001046_mod_inventory_storage.contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.772,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_contributor_type_references ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.772,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_contributor_type_references(); 2021-11-20 15:24:54.773,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_contributor_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.773,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_contributor_type_references(); 2021-11-20 15:24:54.773,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.contributor_type_set_md() CASCADE; 2021-11-20 15:24:54.774,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.contributor_type_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.774,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.contributor_type_set_md() CASCADE; 2021-11-20 15:24:54.774,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_contributor_type_md_trigger ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.774,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_contributor_type_md_trigger"" for relation ""fs00001046_mod_inventory_storage.contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.774,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_contributor_type_md_trigger ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.774,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_contributor_type_md_json() CASCADE; 2021-11-20 15:24:54.775,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.set_contributor_type_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.775,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_contributor_type_md_json() CASCADE; 2021-11-20 15:24:54.775,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_contributor_type_md_json_trigger ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.775,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_contributor_type_md_json_trigger"" for relation ""fs00001046_mod_inventory_storage.contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.775,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_contributor_type_md_json_trigger ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.775,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_contributor_type_ol_version_trigger ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.776,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_contributor_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.contributor_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.776,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_contributor_type_ol_version_trigger ON fs00001046_mod_inventory_storage.contributor_type CASCADE; 2021-11-20 15:24:54.776,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.contributor_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.777,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.contributor_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.777,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.contributor_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.777,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.contributor_name_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.777,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""contributor_name_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.777,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.contributor_name_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.777,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_contributor_name_type ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.778,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_contributor_name_type"" for relation ""fs00001046_mod_inventory_storage.contributor_name_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.778,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_contributor_name_type ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.778,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.778,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.779,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.contributor_name_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.779,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.contributor_name_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.779,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.contributor_name_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.780,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""contributor_name_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.780,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""contributor_name_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.780,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.contributor_name_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.780,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.780, BEGIN 2021-11-20 15:24:54.780, PERFORM rmb_internal_index( 2021-11-20 15:24:54.780," 'contributor_name_type', 'contributor_name_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.780, 'CREATE UNIQUE INDEX IF NOT EXISTS contributor_name_type_name_idx_unique ON fs00001046_mod_inventory_storage.contributor_name_type ' 2021-11-20 15:24:54.780, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.780, ); 2021-11-20 15:24:54.780, END $do$; 2021-11-20 15:24:54.781,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.781, BEGIN 2021-11-20 15:24:54.781, PERFORM rmb_internal_index( 2021-11-20 15:24:54.781," 'contributor_name_type', 'contributor_name_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.781, 'CREATE UNIQUE INDEX IF NOT EXISTS contributor_name_type_name_idx_unique ON fs00001046_mod_inventory_storage.contributor_name_type ' 2021-11-20 15:24:54.781, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.781, ); 2021-11-20 15:24:54.781, END $do$; 2021-11-20 15:24:54.781,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_contributor_name_type_references ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.781,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_contributor_name_type_references"" for relation ""fs00001046_mod_inventory_storage.contributor_name_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.781,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_contributor_name_type_references ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.781,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_contributor_name_type_references(); 2021-11-20 15:24:54.782,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_contributor_name_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.782,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_contributor_name_type_references(); 2021-11-20 15:24:54.782,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.contributor_name_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.782,DECLARE 2021-11-20 15:24:54.782, input text; 2021-11-20 15:24:54.782, createdDate timestamp; 2021-11-20 15:24:54.782,BEGIN 2021-11-20 15:24:54.782, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.782, IF input IS NULL THEN 2021-11-20 15:24:54.782, RETURN NEW; 2021-11-20 15:24:54.782, END IF; 2021-11-20 15:24:54.782, -- time stamp without time zone? 2021-11-20 15:24:54.782, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.782," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.782, createdDate = input::timestamp; 2021-11-20 15:24:54.782, ELSE 2021-11-20 15:24:54.782, -- createdDate has a time zone string 2021-11-20 15:24:54.782," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.782, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.782, END IF; 2021-11-20 15:24:54.782," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.782, NEW.creation_date = createdDate; 2021-11-20 15:24:54.782, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.782, RETURN NEW; 2021-11-20 15:24:54.782,END; 2021-11-20 15:24:54.782,$$ language 'plpgsql'; 2021-11-20 15:24:54.783,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.contributor_name_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.783,DECLARE 2021-11-20 15:24:54.783, input text; 2021-11-20 15:24:54.783, createdDate timestamp; 2021-11-20 15:24:54.783,BEGIN 2021-11-20 15:24:54.783, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.783, IF input IS NULL THEN 2021-11-20 15:24:54.783, RETURN NEW; 2021-11-20 15:24:54.783, END IF; 2021-11-20 15:24:54.783, -- time stamp without time zone? 2021-11-20 15:24:54.783, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.783," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.783, createdDate = input::timestamp; 2021-11-20 15:24:54.783, ELSE 2021-11-20 15:24:54.783, -- createdDate has a time zone string 2021-11-20 15:24:54.783," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.783, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.783, END IF; 2021-11-20 15:24:54.783," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.783, NEW.creation_date = createdDate; 2021-11-20 15:24:54.783, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.783, RETURN NEW; 2021-11-20 15:24:54.783,END; 2021-11-20 15:24:54.783,$$ language 'plpgsql'; 2021-11-20 15:24:54.783,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_contributor_name_type_md_trigger ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.783,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_contributor_name_type_md_trigger ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.783,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_contributor_name_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.contributor_name_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.contributor_name_type_set_md(); 2021-11-20 15:24:54.784,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_contributor_name_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.contributor_name_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.contributor_name_type_set_md(); 2021-11-20 15:24:54.784,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_contributor_name_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.784,BEGIN 2021-11-20 15:24:54.784, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.784, RETURN NEW; 2021-11-20 15:24:54.784, end if; 2021-11-20 15:24:54.784," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.784, if NEW.created_by IS NULL then 2021-11-20 15:24:54.784," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.784, else 2021-11-20 15:24:54.784," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.784, end if; 2021-11-20 15:24:54.784, RETURN NEW; 2021-11-20 15:24:54.784,END; 2021-11-20 15:24:54.784,$$ language 'plpgsql'; 2021-11-20 15:24:54.785,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_contributor_name_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.785,BEGIN 2021-11-20 15:24:54.785, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.785, RETURN NEW; 2021-11-20 15:24:54.785, end if; 2021-11-20 15:24:54.785," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.785, if NEW.created_by IS NULL then 2021-11-20 15:24:54.785," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.785, else 2021-11-20 15:24:54.785," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.785, end if; 2021-11-20 15:24:54.785, RETURN NEW; 2021-11-20 15:24:54.785,END; 2021-11-20 15:24:54.785,$$ language 'plpgsql'; 2021-11-20 15:24:54.785,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_contributor_name_type_md_json_trigger ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.785,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_contributor_name_type_md_json_trigger ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.785,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_contributor_name_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.contributor_name_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_contributor_name_type_md_json(); 2021-11-20 15:24:54.786,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_contributor_name_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.contributor_name_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_contributor_name_type_md_json(); 2021-11-20 15:24:54.786,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_contributor_name_type_ol_version_trigger ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.786,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_contributor_name_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.contributor_name_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.786,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_contributor_name_type_ol_version_trigger ON fs00001046_mod_inventory_storage.contributor_name_type CASCADE; 2021-11-20 15:24:54.786,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.contributor_name_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.787,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.contributor_name_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.787,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.contributor_name_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.787,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.787,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.788,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.788,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_type ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.788,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_type"" for relation ""fs00001046_mod_inventory_storage.instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.788,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_type ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.788,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.789,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.789,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.790,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.790,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_type DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:24:54.790,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""creation_date"" of relation ""instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.791,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""created_by"" of relation ""instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.791,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_type DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:24:54.791,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.791, BEGIN 2021-11-20 15:24:54.791, PERFORM rmb_internal_index( 2021-11-20 15:24:54.791," 'instance_type', 'instance_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.791, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_type_name_idx_unique ON fs00001046_mod_inventory_storage.instance_type ' 2021-11-20 15:24:54.791, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.791, ); 2021-11-20 15:24:54.791, END $do$; 2021-11-20 15:24:54.791,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.791, BEGIN 2021-11-20 15:24:54.791, PERFORM rmb_internal_index( 2021-11-20 15:24:54.791," 'instance_type', 'instance_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.791, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_type_name_idx_unique ON fs00001046_mod_inventory_storage.instance_type ' 2021-11-20 15:24:54.791, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.791, ); 2021-11-20 15:24:54.791, END $do$; 2021-11-20 15:24:54.791,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.791, BEGIN 2021-11-20 15:24:54.791, PERFORM rmb_internal_index( 2021-11-20 15:24:54.791," 'instance_type', 'instance_type_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.791, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_type_code_idx_unique ON fs00001046_mod_inventory_storage.instance_type ' 2021-11-20 15:24:54.791, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.791, ); 2021-11-20 15:24:54.791, END $do$; 2021-11-20 15:24:54.792,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.792, BEGIN 2021-11-20 15:24:54.792, PERFORM rmb_internal_index( 2021-11-20 15:24:54.792," 'instance_type', 'instance_type_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.792, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_type_code_idx_unique ON fs00001046_mod_inventory_storage.instance_type ' 2021-11-20 15:24:54.792, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.792, ); 2021-11-20 15:24:54.792, END $do$; 2021-11-20 15:24:54.792,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_type_references ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.793,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_instance_type_references"" for relation ""fs00001046_mod_inventory_storage.instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.793,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_type_references ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.793,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_type_references(); 2021-11-20 15:24:54.793,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_instance_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.793,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_type_references(); 2021-11-20 15:24:54.793,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_type_set_md() CASCADE; 2021-11-20 15:24:54.794,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_type_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.794,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_type_set_md() CASCADE; 2021-11-20 15:24:54.794,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_type_md_trigger ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.794,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_type_md_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.794,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_type_md_trigger ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.795,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_instance_type_md_json() CASCADE; 2021-11-20 15:24:54.795,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.set_instance_type_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.795,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_instance_type_md_json() CASCADE; 2021-11-20 15:24:54.795,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_type_md_json_trigger ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.796,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_type_md_json_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.796,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_type_md_json_trigger ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.796,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_type_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.796,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.796,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_type_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_type CASCADE; 2021-11-20 15:24:54.796,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.797,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.797,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.797,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_format ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.797,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_format"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.798,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_format ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.798,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_format ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.798,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_format"" for relation ""fs00001046_mod_inventory_storage.instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.798,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_format ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.798,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.799,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.799,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_format FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.800,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_format FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.800,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_format DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:24:54.800,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""creation_date"" of relation ""instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.800,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""created_by"" of relation ""instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.801,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_format DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:24:54.801,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.801, BEGIN 2021-11-20 15:24:54.801, PERFORM rmb_internal_index( 2021-11-20 15:24:54.801," 'instance_format', 'instance_format_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.801, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_format_name_idx_unique ON fs00001046_mod_inventory_storage.instance_format ' 2021-11-20 15:24:54.801, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.801, ); 2021-11-20 15:24:54.801, END $do$; 2021-11-20 15:24:54.801,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.801, BEGIN 2021-11-20 15:24:54.801, PERFORM rmb_internal_index( 2021-11-20 15:24:54.801," 'instance_format', 'instance_format_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.801, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_format_name_idx_unique ON fs00001046_mod_inventory_storage.instance_format ' 2021-11-20 15:24:54.801, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.801, ); 2021-11-20 15:24:54.801, END $do$; 2021-11-20 15:24:54.801,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.801, BEGIN 2021-11-20 15:24:54.801, PERFORM rmb_internal_index( 2021-11-20 15:24:54.801," 'instance_format', 'instance_format_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.801, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_format_code_idx_unique ON fs00001046_mod_inventory_storage.instance_format ' 2021-11-20 15:24:54.801, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.801, ); 2021-11-20 15:24:54.801, END $do$; 2021-11-20 15:24:54.802,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.802, BEGIN 2021-11-20 15:24:54.802, PERFORM rmb_internal_index( 2021-11-20 15:24:54.802," 'instance_format', 'instance_format_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.802, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_format_code_idx_unique ON fs00001046_mod_inventory_storage.instance_format ' 2021-11-20 15:24:54.802, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.802, ); 2021-11-20 15:24:54.802, END $do$; 2021-11-20 15:24:54.802,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_format_references ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.802,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_instance_format_references"" for relation ""fs00001046_mod_inventory_storage.instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.803,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_format_references ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.803,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_format_references(); 2021-11-20 15:24:54.803,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_instance_format_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.803,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_format_references(); 2021-11-20 15:24:54.803,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_format_set_md() CASCADE; 2021-11-20 15:24:54.804,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_format_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.804,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_format_set_md() CASCADE; 2021-11-20 15:24:54.804,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_format_md_trigger ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.804,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_format_md_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.805,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_format_md_trigger ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.805,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_instance_format_md_json() CASCADE; 2021-11-20 15:24:54.805,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.set_instance_format_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.805,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_instance_format_md_json() CASCADE; 2021-11-20 15:24:54.805,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_format_md_json_trigger ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.806,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_format_md_json_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.806,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_format_md_json_trigger ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.806,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_format_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.806,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_format_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_format"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.806,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_format_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_format CASCADE; 2021-11-20 15:24:54.807,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_format_set_ol_version() CASCADE; 2021-11-20 15:24:54.807,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_format_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.807,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_format_set_ol_version() CASCADE; 2021-11-20 15:24:54.807,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.nature_of_content_term ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.808,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""nature_of_content_term"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.808,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.nature_of_content_term ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.808,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_nature_of_content_term ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.809,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_nature_of_content_term"" for relation ""fs00001046_mod_inventory_storage.nature_of_content_term"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.809,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_nature_of_content_term ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.809,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.810,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.810,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.nature_of_content_term FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.810,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.nature_of_content_term FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.811,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.nature_of_content_term ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.811,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""nature_of_content_term"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.811,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""nature_of_content_term"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.811,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.nature_of_content_term ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.811,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.811, BEGIN 2021-11-20 15:24:54.811, PERFORM rmb_internal_index( 2021-11-20 15:24:54.811," 'nature_of_content_term', 'nature_of_content_term_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.811, 'CREATE UNIQUE INDEX IF NOT EXISTS nature_of_content_term_name_idx_unique ON fs00001046_mod_inventory_storage.nature_of_content_term ' 2021-11-20 15:24:54.811, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.811, ); 2021-11-20 15:24:54.811, END $do$; 2021-11-20 15:24:54.812,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.812, BEGIN 2021-11-20 15:24:54.812, PERFORM rmb_internal_index( 2021-11-20 15:24:54.812," 'nature_of_content_term', 'nature_of_content_term_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.812, 'CREATE UNIQUE INDEX IF NOT EXISTS nature_of_content_term_name_idx_unique ON fs00001046_mod_inventory_storage.nature_of_content_term ' 2021-11-20 15:24:54.812, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.812, ); 2021-11-20 15:24:54.812, END $do$; 2021-11-20 15:24:54.812,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_nature_of_content_term_references ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.812,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_nature_of_content_term_references"" for relation ""fs00001046_mod_inventory_storage.nature_of_content_term"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.813,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_nature_of_content_term_references ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.813,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_nature_of_content_term_references(); 2021-11-20 15:24:54.813,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_nature_of_content_term_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.813,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_nature_of_content_term_references(); 2021-11-20 15:24:54.813,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.nature_of_content_term_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.813,DECLARE 2021-11-20 15:24:54.813, input text; 2021-11-20 15:24:54.813, createdDate timestamp; 2021-11-20 15:24:54.813,BEGIN 2021-11-20 15:24:54.813, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.813, IF input IS NULL THEN 2021-11-20 15:24:54.813, RETURN NEW; 2021-11-20 15:24:54.813, END IF; 2021-11-20 15:24:54.813, -- time stamp without time zone? 2021-11-20 15:24:54.813, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.813," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.813, createdDate = input::timestamp; 2021-11-20 15:24:54.813, ELSE 2021-11-20 15:24:54.813, -- createdDate has a time zone string 2021-11-20 15:24:54.813," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.813, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.813, END IF; 2021-11-20 15:24:54.813," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.813, NEW.creation_date = createdDate; 2021-11-20 15:24:54.813, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.813, RETURN NEW; 2021-11-20 15:24:54.813,END; 2021-11-20 15:24:54.813,$$ language 'plpgsql'; 2021-11-20 15:24:54.814,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.nature_of_content_term_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.814,DECLARE 2021-11-20 15:24:54.814, input text; 2021-11-20 15:24:54.814, createdDate timestamp; 2021-11-20 15:24:54.814,BEGIN 2021-11-20 15:24:54.814, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.814, IF input IS NULL THEN 2021-11-20 15:24:54.814, RETURN NEW; 2021-11-20 15:24:54.814, END IF; 2021-11-20 15:24:54.814, -- time stamp without time zone? 2021-11-20 15:24:54.814, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.814," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.814, createdDate = input::timestamp; 2021-11-20 15:24:54.814, ELSE 2021-11-20 15:24:54.814, -- createdDate has a time zone string 2021-11-20 15:24:54.814," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.814, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.814, END IF; 2021-11-20 15:24:54.814," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.814, NEW.creation_date = createdDate; 2021-11-20 15:24:54.814, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.814, RETURN NEW; 2021-11-20 15:24:54.814,END; 2021-11-20 15:24:54.814,$$ language 'plpgsql'; 2021-11-20 15:24:54.814,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_nature_of_content_term_md_trigger ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.815,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_nature_of_content_term_md_trigger ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.815,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_nature_of_content_term_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.nature_of_content_term FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.nature_of_content_term_set_md(); 2021-11-20 15:24:54.816,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_nature_of_content_term_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.nature_of_content_term FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.nature_of_content_term_set_md(); 2021-11-20 15:24:54.816,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_nature_of_content_term_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.816,BEGIN 2021-11-20 15:24:54.816, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.816, RETURN NEW; 2021-11-20 15:24:54.816, end if; 2021-11-20 15:24:54.816," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.816, if NEW.created_by IS NULL then 2021-11-20 15:24:54.816," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.816, else 2021-11-20 15:24:54.816," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.816, end if; 2021-11-20 15:24:54.816, RETURN NEW; 2021-11-20 15:24:54.816,END; 2021-11-20 15:24:54.816,$$ language 'plpgsql'; 2021-11-20 15:24:54.816,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_nature_of_content_term_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.816,BEGIN 2021-11-20 15:24:54.816, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.816, RETURN NEW; 2021-11-20 15:24:54.816, end if; 2021-11-20 15:24:54.816," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.816, if NEW.created_by IS NULL then 2021-11-20 15:24:54.816," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.816, else 2021-11-20 15:24:54.816," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.816, end if; 2021-11-20 15:24:54.816, RETURN NEW; 2021-11-20 15:24:54.816,END; 2021-11-20 15:24:54.816,$$ language 'plpgsql'; 2021-11-20 15:24:54.817,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_nature_of_content_term_md_json_trigger ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.817,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_nature_of_content_term_md_json_trigger ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.817,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_nature_of_content_term_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.nature_of_content_term FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_nature_of_content_term_md_json(); 2021-11-20 15:24:54.818,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_nature_of_content_term_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.nature_of_content_term FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_nature_of_content_term_md_json(); 2021-11-20 15:24:54.818,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_nature_of_content_term_ol_version_trigger ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.818,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_nature_of_content_term_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.nature_of_content_term"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.818,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_nature_of_content_term_ol_version_trigger ON fs00001046_mod_inventory_storage.nature_of_content_term CASCADE; 2021-11-20 15:24:54.819,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.nature_of_content_term_set_ol_version() CASCADE; 2021-11-20 15:24:54.819,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.nature_of_content_term_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.819,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.nature_of_content_term_set_ol_version() CASCADE; 2021-11-20 15:24:54.819,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.classification_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.820,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""classification_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.820,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.classification_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.820,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_classification_type ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.820,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_classification_type"" for relation ""fs00001046_mod_inventory_storage.classification_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.821,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_classification_type ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.821,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.821,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.821,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.classification_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.822,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.classification_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.822,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.classification_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.823,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""classification_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.823,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""classification_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.823,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.classification_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.823,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.823, BEGIN 2021-11-20 15:24:54.823, PERFORM rmb_internal_index( 2021-11-20 15:24:54.823," 'classification_type', 'classification_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.823, 'CREATE UNIQUE INDEX IF NOT EXISTS classification_type_name_idx_unique ON fs00001046_mod_inventory_storage.classification_type ' 2021-11-20 15:24:54.823, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.823, ); 2021-11-20 15:24:54.823, END $do$; 2021-11-20 15:24:54.824,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.824, BEGIN 2021-11-20 15:24:54.824, PERFORM rmb_internal_index( 2021-11-20 15:24:54.824," 'classification_type', 'classification_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.824, 'CREATE UNIQUE INDEX IF NOT EXISTS classification_type_name_idx_unique ON fs00001046_mod_inventory_storage.classification_type ' 2021-11-20 15:24:54.824, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.824, ); 2021-11-20 15:24:54.824, END $do$; 2021-11-20 15:24:54.824,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_classification_type_references ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.826,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_classification_type_references"" for relation ""fs00001046_mod_inventory_storage.classification_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.826,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_classification_type_references ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.826,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_classification_type_references(); 2021-11-20 15:24:54.827,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_classification_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.827,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_classification_type_references(); 2021-11-20 15:24:54.827,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.classification_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.827,DECLARE 2021-11-20 15:24:54.827, input text; 2021-11-20 15:24:54.827, createdDate timestamp; 2021-11-20 15:24:54.827,BEGIN 2021-11-20 15:24:54.827, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.827, IF input IS NULL THEN 2021-11-20 15:24:54.827, RETURN NEW; 2021-11-20 15:24:54.827, END IF; 2021-11-20 15:24:54.827, -- time stamp without time zone? 2021-11-20 15:24:54.827, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.827," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.827, createdDate = input::timestamp; 2021-11-20 15:24:54.827, ELSE 2021-11-20 15:24:54.827, -- createdDate has a time zone string 2021-11-20 15:24:54.827," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.827, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.827, END IF; 2021-11-20 15:24:54.827," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.827, NEW.creation_date = createdDate; 2021-11-20 15:24:54.827, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.827, RETURN NEW; 2021-11-20 15:24:54.827,END; 2021-11-20 15:24:54.827,$$ language 'plpgsql'; 2021-11-20 15:24:54.828,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.classification_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.828,DECLARE 2021-11-20 15:24:54.828, input text; 2021-11-20 15:24:54.828, createdDate timestamp; 2021-11-20 15:24:54.828,BEGIN 2021-11-20 15:24:54.828, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.828, IF input IS NULL THEN 2021-11-20 15:24:54.828, RETURN NEW; 2021-11-20 15:24:54.828, END IF; 2021-11-20 15:24:54.828, -- time stamp without time zone? 2021-11-20 15:24:54.828, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.828," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.828, createdDate = input::timestamp; 2021-11-20 15:24:54.828, ELSE 2021-11-20 15:24:54.828, -- createdDate has a time zone string 2021-11-20 15:24:54.828," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.828, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.828, END IF; 2021-11-20 15:24:54.828," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.828, NEW.creation_date = createdDate; 2021-11-20 15:24:54.828, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.828, RETURN NEW; 2021-11-20 15:24:54.828,END; 2021-11-20 15:24:54.828,$$ language 'plpgsql'; 2021-11-20 15:24:54.828,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_classification_type_md_trigger ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.828,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_classification_type_md_trigger ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.828,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_classification_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.classification_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.classification_type_set_md(); 2021-11-20 15:24:54.829,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_classification_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.classification_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.classification_type_set_md(); 2021-11-20 15:24:54.829,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_classification_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.829,BEGIN 2021-11-20 15:24:54.829, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.829, RETURN NEW; 2021-11-20 15:24:54.829, end if; 2021-11-20 15:24:54.829," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.829, if NEW.created_by IS NULL then 2021-11-20 15:24:54.829," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.829, else 2021-11-20 15:24:54.829," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.829, end if; 2021-11-20 15:24:54.829, RETURN NEW; 2021-11-20 15:24:54.829,END; 2021-11-20 15:24:54.829,$$ language 'plpgsql'; 2021-11-20 15:24:54.830,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_classification_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.830,BEGIN 2021-11-20 15:24:54.830, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.830, RETURN NEW; 2021-11-20 15:24:54.830, end if; 2021-11-20 15:24:54.830," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.830, if NEW.created_by IS NULL then 2021-11-20 15:24:54.830," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.830, else 2021-11-20 15:24:54.830," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.830, end if; 2021-11-20 15:24:54.830, RETURN NEW; 2021-11-20 15:24:54.830,END; 2021-11-20 15:24:54.830,$$ language 'plpgsql'; 2021-11-20 15:24:54.830,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_classification_type_md_json_trigger ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.830,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_classification_type_md_json_trigger ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.830,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_classification_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.classification_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_classification_type_md_json(); 2021-11-20 15:24:54.831,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_classification_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.classification_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_classification_type_md_json(); 2021-11-20 15:24:54.831,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_classification_type_ol_version_trigger ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.831,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_classification_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.classification_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.831,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_classification_type_ol_version_trigger ON fs00001046_mod_inventory_storage.classification_type CASCADE; 2021-11-20 15:24:54.832,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.classification_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.832,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.classification_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.832,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.classification_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.832,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.electronic_access_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.833,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""electronic_access_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.833,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.electronic_access_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.833,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_electronic_access_relationship ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.833,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_electronic_access_relationship"" for relation ""fs00001046_mod_inventory_storage.electronic_access_relationship"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.833,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_electronic_access_relationship ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.833,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.834,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.834,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.electronic_access_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.835,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.electronic_access_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.835,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.electronic_access_relationship ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.835,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""electronic_access_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.836,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""electronic_access_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.836,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.electronic_access_relationship ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.836,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.836, BEGIN 2021-11-20 15:24:54.836, PERFORM rmb_internal_index( 2021-11-20 15:24:54.836," 'electronic_access_relationship', 'electronic_access_relationship_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.836, 'CREATE UNIQUE INDEX IF NOT EXISTS electronic_access_relationship_name_idx_unique ON fs00001046_mod_inventory_storage.electronic_access_relationship ' 2021-11-20 15:24:54.836, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.836, ); 2021-11-20 15:24:54.836, END $do$; 2021-11-20 15:24:54.836,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.836, BEGIN 2021-11-20 15:24:54.836, PERFORM rmb_internal_index( 2021-11-20 15:24:54.836," 'electronic_access_relationship', 'electronic_access_relationship_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.836, 'CREATE UNIQUE INDEX IF NOT EXISTS electronic_access_relationship_name_idx_unique ON fs00001046_mod_inventory_storage.electronic_access_relationship ' 2021-11-20 15:24:54.836, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.836, ); 2021-11-20 15:24:54.836, END $do$; 2021-11-20 15:24:54.837,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_electronic_access_relationship_references ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.837,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_electronic_access_relationship_references"" for relation ""fs00001046_mod_inventory_storage.electronic_access_relationship"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.837,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_electronic_access_relationship_references ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.837,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_electronic_access_relationship_references(); 2021-11-20 15:24:54.838,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_electronic_access_relationship_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.838,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_electronic_access_relationship_references(); 2021-11-20 15:24:54.838,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.electronic_access_relationship_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.838,DECLARE 2021-11-20 15:24:54.838, input text; 2021-11-20 15:24:54.838, createdDate timestamp; 2021-11-20 15:24:54.838,BEGIN 2021-11-20 15:24:54.838, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.838, IF input IS NULL THEN 2021-11-20 15:24:54.838, RETURN NEW; 2021-11-20 15:24:54.838, END IF; 2021-11-20 15:24:54.838, -- time stamp without time zone? 2021-11-20 15:24:54.838, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.838," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.838, createdDate = input::timestamp; 2021-11-20 15:24:54.838, ELSE 2021-11-20 15:24:54.838, -- createdDate has a time zone string 2021-11-20 15:24:54.838," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.838, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.838, END IF; 2021-11-20 15:24:54.838," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.838, NEW.creation_date = createdDate; 2021-11-20 15:24:54.838, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.838, RETURN NEW; 2021-11-20 15:24:54.838,END; 2021-11-20 15:24:54.838,$$ language 'plpgsql'; 2021-11-20 15:24:54.839,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.electronic_access_relationship_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.839,DECLARE 2021-11-20 15:24:54.839, input text; 2021-11-20 15:24:54.839, createdDate timestamp; 2021-11-20 15:24:54.839,BEGIN 2021-11-20 15:24:54.839, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.839, IF input IS NULL THEN 2021-11-20 15:24:54.839, RETURN NEW; 2021-11-20 15:24:54.839, END IF; 2021-11-20 15:24:54.839, -- time stamp without time zone? 2021-11-20 15:24:54.839, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.839," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.839, createdDate = input::timestamp; 2021-11-20 15:24:54.839, ELSE 2021-11-20 15:24:54.839, -- createdDate has a time zone string 2021-11-20 15:24:54.839," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.839, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.839, END IF; 2021-11-20 15:24:54.839," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.839, NEW.creation_date = createdDate; 2021-11-20 15:24:54.839, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.839, RETURN NEW; 2021-11-20 15:24:54.839,END; 2021-11-20 15:24:54.839,$$ language 'plpgsql'; 2021-11-20 15:24:54.839,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_electronic_access_relationship_md_trigger ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.839,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_electronic_access_relationship_md_trigger ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.839,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_electronic_access_relationship_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.electronic_access_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.electronic_access_relationship_set_md(); 2021-11-20 15:24:54.840,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_electronic_access_relationship_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.electronic_access_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.electronic_access_relationship_set_md(); 2021-11-20 15:24:54.840,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_electronic_access_relationship_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.840,BEGIN 2021-11-20 15:24:54.840, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.840, RETURN NEW; 2021-11-20 15:24:54.840, end if; 2021-11-20 15:24:54.840," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.840, if NEW.created_by IS NULL then 2021-11-20 15:24:54.840," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.840, else 2021-11-20 15:24:54.840," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.840, end if; 2021-11-20 15:24:54.840, RETURN NEW; 2021-11-20 15:24:54.840,END; 2021-11-20 15:24:54.840,$$ language 'plpgsql'; 2021-11-20 15:24:54.840,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_electronic_access_relationship_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.840,BEGIN 2021-11-20 15:24:54.840, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.840, RETURN NEW; 2021-11-20 15:24:54.840, end if; 2021-11-20 15:24:54.840," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.840, if NEW.created_by IS NULL then 2021-11-20 15:24:54.840," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.840, else 2021-11-20 15:24:54.840," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.840, end if; 2021-11-20 15:24:54.840, RETURN NEW; 2021-11-20 15:24:54.840,END; 2021-11-20 15:24:54.840,$$ language 'plpgsql'; 2021-11-20 15:24:54.841,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_electronic_access_relationship_md_json_trigger ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.841,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_electronic_access_relationship_md_json_trigger ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.841,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_electronic_access_relationship_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.electronic_access_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_electronic_access_relationship_md_json(); 2021-11-20 15:24:54.842,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_electronic_access_relationship_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.electronic_access_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_electronic_access_relationship_md_json(); 2021-11-20 15:24:54.842,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_electronic_access_relationship_ol_version_trigger ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.842,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_electronic_access_relationship_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.electronic_access_relationship"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.842,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_electronic_access_relationship_ol_version_trigger ON fs00001046_mod_inventory_storage.electronic_access_relationship CASCADE; 2021-11-20 15:24:54.842,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.electronic_access_relationship_set_ol_version() CASCADE; 2021-11-20 15:24:54.843,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.electronic_access_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.843,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.electronic_access_relationship_set_ol_version() CASCADE; 2021-11-20 15:24:54.843,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.statistical_code_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.843,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""statistical_code_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.843,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.statistical_code_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.843,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_statistical_code_type ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.844,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_statistical_code_type"" for relation ""fs00001046_mod_inventory_storage.statistical_code_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.844,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_statistical_code_type ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.844,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.845,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.845,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.statistical_code_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.846,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.statistical_code_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.846,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.statistical_code_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.846,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""statistical_code_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.846,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""statistical_code_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.846,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.statistical_code_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.846,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.846, BEGIN 2021-11-20 15:24:54.846, PERFORM rmb_internal_index( 2021-11-20 15:24:54.846," 'statistical_code_type', 'statistical_code_type_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.846, 'CREATE UNIQUE INDEX IF NOT EXISTS statistical_code_type_code_idx_unique ON fs00001046_mod_inventory_storage.statistical_code_type ' 2021-11-20 15:24:54.846, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.846, ); 2021-11-20 15:24:54.846, END $do$; 2021-11-20 15:24:54.847,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.847, BEGIN 2021-11-20 15:24:54.847, PERFORM rmb_internal_index( 2021-11-20 15:24:54.847," 'statistical_code_type', 'statistical_code_type_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.847, 'CREATE UNIQUE INDEX IF NOT EXISTS statistical_code_type_code_idx_unique ON fs00001046_mod_inventory_storage.statistical_code_type ' 2021-11-20 15:24:54.847, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.847, ); 2021-11-20 15:24:54.847, END $do$; 2021-11-20 15:24:54.847,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_statistical_code_type_references ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.848,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_statistical_code_type_references"" for relation ""fs00001046_mod_inventory_storage.statistical_code_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.848,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_statistical_code_type_references ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.848,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_statistical_code_type_references(); 2021-11-20 15:24:54.848,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_statistical_code_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.848,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_statistical_code_type_references(); 2021-11-20 15:24:54.848,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.statistical_code_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.848,DECLARE 2021-11-20 15:24:54.848, input text; 2021-11-20 15:24:54.848, createdDate timestamp; 2021-11-20 15:24:54.848,BEGIN 2021-11-20 15:24:54.848, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.848, IF input IS NULL THEN 2021-11-20 15:24:54.848, RETURN NEW; 2021-11-20 15:24:54.848, END IF; 2021-11-20 15:24:54.848, -- time stamp without time zone? 2021-11-20 15:24:54.848, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.848," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.848, createdDate = input::timestamp; 2021-11-20 15:24:54.848, ELSE 2021-11-20 15:24:54.848, -- createdDate has a time zone string 2021-11-20 15:24:54.848," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.848, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.848, END IF; 2021-11-20 15:24:54.848," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.848, NEW.creation_date = createdDate; 2021-11-20 15:24:54.848, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.848, RETURN NEW; 2021-11-20 15:24:54.848,END; 2021-11-20 15:24:54.848,$$ language 'plpgsql'; 2021-11-20 15:24:54.849,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.statistical_code_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.849,DECLARE 2021-11-20 15:24:54.849, input text; 2021-11-20 15:24:54.849, createdDate timestamp; 2021-11-20 15:24:54.849,BEGIN 2021-11-20 15:24:54.849, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.849, IF input IS NULL THEN 2021-11-20 15:24:54.849, RETURN NEW; 2021-11-20 15:24:54.849, END IF; 2021-11-20 15:24:54.849, -- time stamp without time zone? 2021-11-20 15:24:54.849, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.849," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.849, createdDate = input::timestamp; 2021-11-20 15:24:54.849, ELSE 2021-11-20 15:24:54.849, -- createdDate has a time zone string 2021-11-20 15:24:54.849," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.849, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.849, END IF; 2021-11-20 15:24:54.849," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.849, NEW.creation_date = createdDate; 2021-11-20 15:24:54.849, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.849, RETURN NEW; 2021-11-20 15:24:54.849,END; 2021-11-20 15:24:54.849,$$ language 'plpgsql'; 2021-11-20 15:24:54.849,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_statistical_code_type_md_trigger ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.849,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_statistical_code_type_md_trigger ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.850,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_statistical_code_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.statistical_code_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.statistical_code_type_set_md(); 2021-11-20 15:24:54.850,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_statistical_code_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.statistical_code_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.statistical_code_type_set_md(); 2021-11-20 15:24:54.850,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_statistical_code_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.850,BEGIN 2021-11-20 15:24:54.850, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.850, RETURN NEW; 2021-11-20 15:24:54.850, end if; 2021-11-20 15:24:54.850," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.850, if NEW.created_by IS NULL then 2021-11-20 15:24:54.850," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.850, else 2021-11-20 15:24:54.850," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.850, end if; 2021-11-20 15:24:54.850, RETURN NEW; 2021-11-20 15:24:54.850,END; 2021-11-20 15:24:54.850,$$ language 'plpgsql'; 2021-11-20 15:24:54.851,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_statistical_code_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.851,BEGIN 2021-11-20 15:24:54.851, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.851, RETURN NEW; 2021-11-20 15:24:54.851, end if; 2021-11-20 15:24:54.851," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.851, if NEW.created_by IS NULL then 2021-11-20 15:24:54.851," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.851, else 2021-11-20 15:24:54.851," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.851, end if; 2021-11-20 15:24:54.851, RETURN NEW; 2021-11-20 15:24:54.851,END; 2021-11-20 15:24:54.851,$$ language 'plpgsql'; 2021-11-20 15:24:54.851,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_statistical_code_type_md_json_trigger ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.851,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_statistical_code_type_md_json_trigger ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.851,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_statistical_code_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.statistical_code_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_statistical_code_type_md_json(); 2021-11-20 15:24:54.852,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_statistical_code_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.statistical_code_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_statistical_code_type_md_json(); 2021-11-20 15:24:54.852,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_statistical_code_type_ol_version_trigger ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.852,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_statistical_code_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.statistical_code_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.852,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_statistical_code_type_ol_version_trigger ON fs00001046_mod_inventory_storage.statistical_code_type CASCADE; 2021-11-20 15:24:54.853,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.statistical_code_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.853,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.statistical_code_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.853,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.statistical_code_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.853,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.statistical_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.854,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""statistical_code"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.854,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.statistical_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.854,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_statistical_code ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.855,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_statistical_code"" for relation ""fs00001046_mod_inventory_storage.statistical_code"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.855,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_statistical_code ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.855,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.856,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.856,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.856,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.857,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.statistical_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.857,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""statistical_code"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.857,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""statistical_code"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.857,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.statistical_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.857,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.857, BEGIN 2021-11-20 15:24:54.857, PERFORM rmb_internal_index( 2021-11-20 15:24:54.857," 'statistical_code', 'statistical_code_code_statisticalCodeTypeId_idx_unique', 'ADD'," 2021-11-20 15:24:54.857, 'CREATE UNIQUE INDEX IF NOT EXISTS statistical_code_code_statisticalCodeTypeId_idx_unique ON fs00001046_mod_inventory_storage.statistical_code ' 2021-11-20 15:24:54.857," || $rmb$(lower(f_unaccent(jsonb->>'code')) , lower(f_unaccent(jsonb->>'statisticalCodeTypeId')))$rmb$" 2021-11-20 15:24:54.857, ); 2021-11-20 15:24:54.857, END $do$; 2021-11-20 15:24:54.858,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.858, BEGIN 2021-11-20 15:24:54.858, PERFORM rmb_internal_index( 2021-11-20 15:24:54.858," 'statistical_code', 'statistical_code_code_statisticalCodeTypeId_idx_unique', 'ADD'," 2021-11-20 15:24:54.858, 'CREATE UNIQUE INDEX IF NOT EXISTS statistical_code_code_statisticalCodeTypeId_idx_unique ON fs00001046_mod_inventory_storage.statistical_code ' 2021-11-20 15:24:54.858," || $rmb$(lower(f_unaccent(jsonb->>'code')) , lower(f_unaccent(jsonb->>'statisticalCodeTypeId')))$rmb$" 2021-11-20 15:24:54.858, ); 2021-11-20 15:24:54.858, END $do$; 2021-11-20 15:24:54.858,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.858, BEGIN 2021-11-20 15:24:54.858, PERFORM rmb_internal_index( 2021-11-20 15:24:54.858," 'statistical_code', 'statistical_code_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.858, 'CREATE UNIQUE INDEX IF NOT EXISTS statistical_code_name_idx_unique ON fs00001046_mod_inventory_storage.statistical_code ' 2021-11-20 15:24:54.858, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.858, ); 2021-11-20 15:24:54.858, END $do$; 2021-11-20 15:24:54.859,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.859, BEGIN 2021-11-20 15:24:54.859, PERFORM rmb_internal_index( 2021-11-20 15:24:54.859," 'statistical_code', 'statistical_code_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.859, 'CREATE UNIQUE INDEX IF NOT EXISTS statistical_code_name_idx_unique ON fs00001046_mod_inventory_storage.statistical_code ' 2021-11-20 15:24:54.859, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.859, ); 2021-11-20 15:24:54.859, END $do$; 2021-11-20 15:24:54.859,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.statistical_code ADD COLUMN IF NOT EXISTS statisticalCodeTypeId UUID; 2021-11-20 15:24:54.859,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""statisticalcodetypeid"" of relation ""statistical_code"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.859,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.statistical_code ADD COLUMN IF NOT EXISTS statisticalCodeTypeId UUID; 2021-11-20 15:24:54.859,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.859, BEGIN 2021-11-20 15:24:54.859, BEGIN 2021-11-20 15:24:54.859, ALTER TABLE statistical_code 2021-11-20 15:24:54.859, ADD CONSTRAINT statisticalCodeTypeId_statistical_code_type_fkey 2021-11-20 15:24:54.859, FOREIGN KEY (statisticalCodeTypeId) REFERENCES statistical_code_type; 2021-11-20 15:24:54.859, EXCEPTION 2021-11-20 15:24:54.859, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.859, END; 2021-11-20 15:24:54.859, END $$; 2021-11-20 15:24:54.860,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.860, BEGIN 2021-11-20 15:24:54.860, BEGIN 2021-11-20 15:24:54.860, ALTER TABLE statistical_code 2021-11-20 15:24:54.860, ADD CONSTRAINT statisticalCodeTypeId_statistical_code_type_fkey 2021-11-20 15:24:54.860, FOREIGN KEY (statisticalCodeTypeId) REFERENCES statistical_code_type; 2021-11-20 15:24:54.860, EXCEPTION 2021-11-20 15:24:54.860, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.860, END; 2021-11-20 15:24:54.860, END $$; 2021-11-20 15:24:54.860,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS statistical_code_statisticalCodeTypeId_idx ON fs00001046_mod_inventory_storage.statistical_code (statisticalCodeTypeId); 2021-11-20 15:24:54.861,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""statistical_code_statisticalcodetypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.861,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS statistical_code_statisticalCodeTypeId_idx ON fs00001046_mod_inventory_storage.statistical_code (statisticalCodeTypeId); 2021-11-20 15:24:54.861,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('statistical_code'); 2021-11-20 15:24:54.862,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('statistical_code'); 2021-11-20 15:24:54.862,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_statistical_code_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.862, BEGIN 2021-11-20 15:24:54.862, NEW.statisticalCodeTypeId = (NEW.jsonb->>'statisticalCodeTypeId'); 2021-11-20 15:24:54.862, RETURN NEW; 2021-11-20 15:24:54.862, END; 2021-11-20 15:24:54.862, $$ language 'plpgsql'; 2021-11-20 15:24:54.862,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_statistical_code_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.862, BEGIN 2021-11-20 15:24:54.862, NEW.statisticalCodeTypeId = (NEW.jsonb->>'statisticalCodeTypeId'); 2021-11-20 15:24:54.862, RETURN NEW; 2021-11-20 15:24:54.862, END; 2021-11-20 15:24:54.862, $$ language 'plpgsql'; 2021-11-20 15:24:54.862,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_statistical_code_references ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.863,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_statistical_code_references ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.863,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_statistical_code_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_statistical_code_references(); 2021-11-20 15:24:54.863,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_statistical_code_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_statistical_code_references(); 2021-11-20 15:24:54.864,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.864, DECLARE 2021-11-20 15:24:54.864, version TEXT; 2021-11-20 15:24:54.864, i INT; 2021-11-20 15:24:54.864, BEGIN 2021-11-20 15:24:54.864, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.864, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.864, RETURN; 2021-11-20 15:24:54.864, END IF; 2021-11-20 15:24:54.864, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.864, EXECUTE 'ALTER TABLE statistical_code DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.864, || 'statisticalCodeTypeId_statistical_code_type_fkey' || i; 2021-11-20 15:24:54.864, END LOOP; 2021-11-20 15:24:54.864, END $$; 2021-11-20 15:24:54.864,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.864, DECLARE 2021-11-20 15:24:54.864, version TEXT; 2021-11-20 15:24:54.864, i INT; 2021-11-20 15:24:54.864, BEGIN 2021-11-20 15:24:54.864, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.864, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.864, RETURN; 2021-11-20 15:24:54.864, END IF; 2021-11-20 15:24:54.864, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.864, EXECUTE 'ALTER TABLE statistical_code DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.864, || 'statisticalCodeTypeId_statistical_code_type_fkey' || i; 2021-11-20 15:24:54.864, END LOOP; 2021-11-20 15:24:54.864, END $$; 2021-11-20 15:24:54.864,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.statistical_code_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.864,DECLARE 2021-11-20 15:24:54.864, input text; 2021-11-20 15:24:54.864, createdDate timestamp; 2021-11-20 15:24:54.864,BEGIN 2021-11-20 15:24:54.864, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.864, IF input IS NULL THEN 2021-11-20 15:24:54.864, RETURN NEW; 2021-11-20 15:24:54.864, END IF; 2021-11-20 15:24:54.864, -- time stamp without time zone? 2021-11-20 15:24:54.864, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.864," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.864, createdDate = input::timestamp; 2021-11-20 15:24:54.864, ELSE 2021-11-20 15:24:54.864, -- createdDate has a time zone string 2021-11-20 15:24:54.864," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.864, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.864, END IF; 2021-11-20 15:24:54.864," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.864, NEW.creation_date = createdDate; 2021-11-20 15:24:54.864, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.864, RETURN NEW; 2021-11-20 15:24:54.864,END; 2021-11-20 15:24:54.864,$$ language 'plpgsql'; 2021-11-20 15:24:54.865,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.statistical_code_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.865,DECLARE 2021-11-20 15:24:54.865, input text; 2021-11-20 15:24:54.865, createdDate timestamp; 2021-11-20 15:24:54.865,BEGIN 2021-11-20 15:24:54.865, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.865, IF input IS NULL THEN 2021-11-20 15:24:54.865, RETURN NEW; 2021-11-20 15:24:54.865, END IF; 2021-11-20 15:24:54.865, -- time stamp without time zone? 2021-11-20 15:24:54.865, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.865," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.865, createdDate = input::timestamp; 2021-11-20 15:24:54.865, ELSE 2021-11-20 15:24:54.865, -- createdDate has a time zone string 2021-11-20 15:24:54.865," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.865, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.865, END IF; 2021-11-20 15:24:54.865," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.865, NEW.creation_date = createdDate; 2021-11-20 15:24:54.865, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.865, RETURN NEW; 2021-11-20 15:24:54.865,END; 2021-11-20 15:24:54.865,$$ language 'plpgsql'; 2021-11-20 15:24:54.865,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_statistical_code_md_trigger ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.866,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_statistical_code_md_trigger ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.866,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_statistical_code_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.statistical_code_set_md(); 2021-11-20 15:24:54.867,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_statistical_code_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.statistical_code_set_md(); 2021-11-20 15:24:54.867,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_statistical_code_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.867,BEGIN 2021-11-20 15:24:54.867, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.867, RETURN NEW; 2021-11-20 15:24:54.867, end if; 2021-11-20 15:24:54.867," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.867, if NEW.created_by IS NULL then 2021-11-20 15:24:54.867," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.867, else 2021-11-20 15:24:54.867," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.867, end if; 2021-11-20 15:24:54.867, RETURN NEW; 2021-11-20 15:24:54.867,END; 2021-11-20 15:24:54.867,$$ language 'plpgsql'; 2021-11-20 15:24:54.867,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_statistical_code_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.867,BEGIN 2021-11-20 15:24:54.867, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.867, RETURN NEW; 2021-11-20 15:24:54.867, end if; 2021-11-20 15:24:54.867," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.867, if NEW.created_by IS NULL then 2021-11-20 15:24:54.867," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.867, else 2021-11-20 15:24:54.867," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.867, end if; 2021-11-20 15:24:54.867, RETURN NEW; 2021-11-20 15:24:54.867,END; 2021-11-20 15:24:54.867,$$ language 'plpgsql'; 2021-11-20 15:24:54.868,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_statistical_code_md_json_trigger ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.868,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_statistical_code_md_json_trigger ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.868,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_statistical_code_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_statistical_code_md_json(); 2021-11-20 15:24:54.869,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_statistical_code_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.statistical_code FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_statistical_code_md_json(); 2021-11-20 15:24:54.869,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_statistical_code_ol_version_trigger ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.869,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_statistical_code_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.statistical_code"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.870,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_statistical_code_ol_version_trigger ON fs00001046_mod_inventory_storage.statistical_code CASCADE; 2021-11-20 15:24:54.870,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.statistical_code_set_ol_version() CASCADE; 2021-11-20 15:24:54.870,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.statistical_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.871,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.statistical_code_set_ol_version() CASCADE; 2021-11-20 15:24:54.871,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_status ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.871,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_status"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.871,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_status ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.871,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_status ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.872,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_status"" for relation ""fs00001046_mod_inventory_storage.instance_status"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.872,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_status ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.872,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.873,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.873,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.874,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.874,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_status ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.874,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""instance_status"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.875,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""instance_status"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.875,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_status ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.875,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.875, BEGIN 2021-11-20 15:24:54.875, PERFORM rmb_internal_index( 2021-11-20 15:24:54.875," 'instance_status', 'instance_status_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.875, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_status_name_idx_unique ON fs00001046_mod_inventory_storage.instance_status ' 2021-11-20 15:24:54.875, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.875, ); 2021-11-20 15:24:54.875, END $do$; 2021-11-20 15:24:54.876,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.876, BEGIN 2021-11-20 15:24:54.876, PERFORM rmb_internal_index( 2021-11-20 15:24:54.876," 'instance_status', 'instance_status_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.876, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_status_name_idx_unique ON fs00001046_mod_inventory_storage.instance_status ' 2021-11-20 15:24:54.876, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.876, ); 2021-11-20 15:24:54.876, END $do$; 2021-11-20 15:24:54.876,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.876, BEGIN 2021-11-20 15:24:54.876, PERFORM rmb_internal_index( 2021-11-20 15:24:54.876," 'instance_status', 'instance_status_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.876, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_status_code_idx_unique ON fs00001046_mod_inventory_storage.instance_status ' 2021-11-20 15:24:54.876, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.876, ); 2021-11-20 15:24:54.876, END $do$; 2021-11-20 15:24:54.876,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.876, BEGIN 2021-11-20 15:24:54.876, PERFORM rmb_internal_index( 2021-11-20 15:24:54.876," 'instance_status', 'instance_status_code_idx_unique', 'ADD'," 2021-11-20 15:24:54.876, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_status_code_idx_unique ON fs00001046_mod_inventory_storage.instance_status ' 2021-11-20 15:24:54.876, || $rmb$(lower(f_unaccent(jsonb->>'code')))$rmb$ 2021-11-20 15:24:54.876, ); 2021-11-20 15:24:54.876, END $do$; 2021-11-20 15:24:54.876,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_status_references ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.877,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_instance_status_references"" for relation ""fs00001046_mod_inventory_storage.instance_status"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.877,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_status_references ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.877,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_status_references(); 2021-11-20 15:24:54.878,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_instance_status_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.878,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_status_references(); 2021-11-20 15:24:54.878,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_status_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.878,DECLARE 2021-11-20 15:24:54.878, input text; 2021-11-20 15:24:54.878, createdDate timestamp; 2021-11-20 15:24:54.878,BEGIN 2021-11-20 15:24:54.878, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.878, IF input IS NULL THEN 2021-11-20 15:24:54.878, RETURN NEW; 2021-11-20 15:24:54.878, END IF; 2021-11-20 15:24:54.878, -- time stamp without time zone? 2021-11-20 15:24:54.878, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.878," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.878, createdDate = input::timestamp; 2021-11-20 15:24:54.878, ELSE 2021-11-20 15:24:54.878, -- createdDate has a time zone string 2021-11-20 15:24:54.878," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.878, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.878, END IF; 2021-11-20 15:24:54.878," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.878, NEW.creation_date = createdDate; 2021-11-20 15:24:54.878, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.878, RETURN NEW; 2021-11-20 15:24:54.878,END; 2021-11-20 15:24:54.878,$$ language 'plpgsql'; 2021-11-20 15:24:54.879,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_status_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.879,DECLARE 2021-11-20 15:24:54.879, input text; 2021-11-20 15:24:54.879, createdDate timestamp; 2021-11-20 15:24:54.879,BEGIN 2021-11-20 15:24:54.879, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.879, IF input IS NULL THEN 2021-11-20 15:24:54.879, RETURN NEW; 2021-11-20 15:24:54.879, END IF; 2021-11-20 15:24:54.879, -- time stamp without time zone? 2021-11-20 15:24:54.879, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.879," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.879, createdDate = input::timestamp; 2021-11-20 15:24:54.879, ELSE 2021-11-20 15:24:54.879, -- createdDate has a time zone string 2021-11-20 15:24:54.879," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.879, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.879, END IF; 2021-11-20 15:24:54.879," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.879, NEW.creation_date = createdDate; 2021-11-20 15:24:54.879, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.879, RETURN NEW; 2021-11-20 15:24:54.879,END; 2021-11-20 15:24:54.879,$$ language 'plpgsql'; 2021-11-20 15:24:54.879,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_status_md_trigger ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.879,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_status_md_trigger ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.879,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_status_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_status_set_md(); 2021-11-20 15:24:54.880,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_status_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_status_set_md(); 2021-11-20 15:24:54.880,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_status_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.880,BEGIN 2021-11-20 15:24:54.880, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.880, RETURN NEW; 2021-11-20 15:24:54.880, end if; 2021-11-20 15:24:54.880," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.880, if NEW.created_by IS NULL then 2021-11-20 15:24:54.880," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.880, else 2021-11-20 15:24:54.880," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.880, end if; 2021-11-20 15:24:54.880, RETURN NEW; 2021-11-20 15:24:54.880,END; 2021-11-20 15:24:54.880,$$ language 'plpgsql'; 2021-11-20 15:24:54.881,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_status_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.881,BEGIN 2021-11-20 15:24:54.881, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.881, RETURN NEW; 2021-11-20 15:24:54.881, end if; 2021-11-20 15:24:54.881," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.881, if NEW.created_by IS NULL then 2021-11-20 15:24:54.881," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.881, else 2021-11-20 15:24:54.881," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.881, end if; 2021-11-20 15:24:54.881, RETURN NEW; 2021-11-20 15:24:54.881,END; 2021-11-20 15:24:54.881,$$ language 'plpgsql'; 2021-11-20 15:24:54.881,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_status_md_json_trigger ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.882,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_status_md_json_trigger ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.882,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_status_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_status_md_json(); 2021-11-20 15:24:54.882,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_status_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_status_md_json(); 2021-11-20 15:24:54.882,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_status_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.883,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_status_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_status"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.883,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_status_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_status CASCADE; 2021-11-20 15:24:54.883,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_status_set_ol_version() CASCADE; 2021-11-20 15:24:54.883,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_status_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.884,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_status_set_ol_version() CASCADE; 2021-11-20 15:24:54.884,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.mode_of_issuance ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.884,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""mode_of_issuance"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.884,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.mode_of_issuance ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.884,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_mode_of_issuance ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.885,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_mode_of_issuance"" for relation ""fs00001046_mod_inventory_storage.mode_of_issuance"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.885,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_mode_of_issuance ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.885,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.886,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.886,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.mode_of_issuance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.887,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.mode_of_issuance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.887,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.mode_of_issuance ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.887,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""mode_of_issuance"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.887,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""mode_of_issuance"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.887,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.mode_of_issuance ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.887,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.887, BEGIN 2021-11-20 15:24:54.887, PERFORM rmb_internal_index( 2021-11-20 15:24:54.887," 'mode_of_issuance', 'mode_of_issuance_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.887, 'CREATE UNIQUE INDEX IF NOT EXISTS mode_of_issuance_name_idx_unique ON fs00001046_mod_inventory_storage.mode_of_issuance ' 2021-11-20 15:24:54.887, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.887, ); 2021-11-20 15:24:54.887, END $do$; 2021-11-20 15:24:54.888,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.888, BEGIN 2021-11-20 15:24:54.888, PERFORM rmb_internal_index( 2021-11-20 15:24:54.888," 'mode_of_issuance', 'mode_of_issuance_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.888, 'CREATE UNIQUE INDEX IF NOT EXISTS mode_of_issuance_name_idx_unique ON fs00001046_mod_inventory_storage.mode_of_issuance ' 2021-11-20 15:24:54.888, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.888, ); 2021-11-20 15:24:54.888, END $do$; 2021-11-20 15:24:54.888,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_mode_of_issuance_references ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.889,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_mode_of_issuance_references"" for relation ""fs00001046_mod_inventory_storage.mode_of_issuance"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.889,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_mode_of_issuance_references ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.889,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_mode_of_issuance_references(); 2021-11-20 15:24:54.889,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_mode_of_issuance_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.889,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_mode_of_issuance_references(); 2021-11-20 15:24:54.889,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.mode_of_issuance_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.889,DECLARE 2021-11-20 15:24:54.889, input text; 2021-11-20 15:24:54.889, createdDate timestamp; 2021-11-20 15:24:54.889,BEGIN 2021-11-20 15:24:54.889, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.889, IF input IS NULL THEN 2021-11-20 15:24:54.889, RETURN NEW; 2021-11-20 15:24:54.889, END IF; 2021-11-20 15:24:54.889, -- time stamp without time zone? 2021-11-20 15:24:54.889, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.889," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.889, createdDate = input::timestamp; 2021-11-20 15:24:54.889, ELSE 2021-11-20 15:24:54.889, -- createdDate has a time zone string 2021-11-20 15:24:54.889," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.889, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.889, END IF; 2021-11-20 15:24:54.889," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.889, NEW.creation_date = createdDate; 2021-11-20 15:24:54.889, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.889, RETURN NEW; 2021-11-20 15:24:54.889,END; 2021-11-20 15:24:54.889,$$ language 'plpgsql'; 2021-11-20 15:24:54.890,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.mode_of_issuance_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.890,DECLARE 2021-11-20 15:24:54.890, input text; 2021-11-20 15:24:54.890, createdDate timestamp; 2021-11-20 15:24:54.890,BEGIN 2021-11-20 15:24:54.890, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.890, IF input IS NULL THEN 2021-11-20 15:24:54.890, RETURN NEW; 2021-11-20 15:24:54.890, END IF; 2021-11-20 15:24:54.890, -- time stamp without time zone? 2021-11-20 15:24:54.890, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.890," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.890, createdDate = input::timestamp; 2021-11-20 15:24:54.890, ELSE 2021-11-20 15:24:54.890, -- createdDate has a time zone string 2021-11-20 15:24:54.890," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.890, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.890, END IF; 2021-11-20 15:24:54.890," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.890, NEW.creation_date = createdDate; 2021-11-20 15:24:54.890, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.890, RETURN NEW; 2021-11-20 15:24:54.890,END; 2021-11-20 15:24:54.890,$$ language 'plpgsql'; 2021-11-20 15:24:54.890,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_mode_of_issuance_md_trigger ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.891,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_mode_of_issuance_md_trigger ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.891,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_mode_of_issuance_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.mode_of_issuance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.mode_of_issuance_set_md(); 2021-11-20 15:24:54.891,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_mode_of_issuance_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.mode_of_issuance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.mode_of_issuance_set_md(); 2021-11-20 15:24:54.891,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_mode_of_issuance_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.891,BEGIN 2021-11-20 15:24:54.891, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.891, RETURN NEW; 2021-11-20 15:24:54.891, end if; 2021-11-20 15:24:54.891," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.891, if NEW.created_by IS NULL then 2021-11-20 15:24:54.891," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.891, else 2021-11-20 15:24:54.891," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.891, end if; 2021-11-20 15:24:54.891, RETURN NEW; 2021-11-20 15:24:54.891,END; 2021-11-20 15:24:54.891,$$ language 'plpgsql'; 2021-11-20 15:24:54.892,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_mode_of_issuance_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.892,BEGIN 2021-11-20 15:24:54.892, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.892, RETURN NEW; 2021-11-20 15:24:54.892, end if; 2021-11-20 15:24:54.892," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.892, if NEW.created_by IS NULL then 2021-11-20 15:24:54.892," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.892, else 2021-11-20 15:24:54.892," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.892, end if; 2021-11-20 15:24:54.892, RETURN NEW; 2021-11-20 15:24:54.892,END; 2021-11-20 15:24:54.892,$$ language 'plpgsql'; 2021-11-20 15:24:54.892,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_mode_of_issuance_md_json_trigger ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.892,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_mode_of_issuance_md_json_trigger ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.893,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_mode_of_issuance_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.mode_of_issuance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_mode_of_issuance_md_json(); 2021-11-20 15:24:54.893,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_mode_of_issuance_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.mode_of_issuance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_mode_of_issuance_md_json(); 2021-11-20 15:24:54.893,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_mode_of_issuance_ol_version_trigger ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.893,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_mode_of_issuance_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.mode_of_issuance"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.894,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_mode_of_issuance_ol_version_trigger ON fs00001046_mod_inventory_storage.mode_of_issuance CASCADE; 2021-11-20 15:24:54.894,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.mode_of_issuance_set_ol_version() CASCADE; 2021-11-20 15:24:54.894,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.mode_of_issuance_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.894,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.mode_of_issuance_set_ol_version() CASCADE; 2021-11-20 15:24:54.894,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.alternative_title_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.895,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""alternative_title_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.895,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.alternative_title_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.895,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alternative_title_type ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.895,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_alternative_title_type"" for relation ""fs00001046_mod_inventory_storage.alternative_title_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.895,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alternative_title_type ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.895,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.896,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.896,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.alternative_title_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.897,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.alternative_title_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.897,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.alternative_title_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.898,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""alternative_title_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.898,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""alternative_title_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.898,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.alternative_title_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.898,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.898, BEGIN 2021-11-20 15:24:54.898, PERFORM rmb_internal_index( 2021-11-20 15:24:54.898," 'alternative_title_type', 'alternative_title_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.898, 'CREATE UNIQUE INDEX IF NOT EXISTS alternative_title_type_name_idx_unique ON fs00001046_mod_inventory_storage.alternative_title_type ' 2021-11-20 15:24:54.898, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.898, ); 2021-11-20 15:24:54.898, END $do$; 2021-11-20 15:24:54.898,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.899, BEGIN 2021-11-20 15:24:54.899, PERFORM rmb_internal_index( 2021-11-20 15:24:54.899," 'alternative_title_type', 'alternative_title_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.899, 'CREATE UNIQUE INDEX IF NOT EXISTS alternative_title_type_name_idx_unique ON fs00001046_mod_inventory_storage.alternative_title_type ' 2021-11-20 15:24:54.899, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.899, ); 2021-11-20 15:24:54.899, END $do$; 2021-11-20 15:24:54.899,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alternative_title_type_references ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.899,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_alternative_title_type_references"" for relation ""fs00001046_mod_inventory_storage.alternative_title_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.899,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alternative_title_type_references ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.899,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_alternative_title_type_references(); 2021-11-20 15:24:54.900,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_alternative_title_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.900,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_alternative_title_type_references(); 2021-11-20 15:24:54.900,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.alternative_title_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.900,DECLARE 2021-11-20 15:24:54.900, input text; 2021-11-20 15:24:54.900, createdDate timestamp; 2021-11-20 15:24:54.900,BEGIN 2021-11-20 15:24:54.900, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.900, IF input IS NULL THEN 2021-11-20 15:24:54.900, RETURN NEW; 2021-11-20 15:24:54.900, END IF; 2021-11-20 15:24:54.900, -- time stamp without time zone? 2021-11-20 15:24:54.900, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.900," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.900, createdDate = input::timestamp; 2021-11-20 15:24:54.900, ELSE 2021-11-20 15:24:54.900, -- createdDate has a time zone string 2021-11-20 15:24:54.900," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.900, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.900, END IF; 2021-11-20 15:24:54.900," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.900, NEW.creation_date = createdDate; 2021-11-20 15:24:54.900, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.900, RETURN NEW; 2021-11-20 15:24:54.900,END; 2021-11-20 15:24:54.900,$$ language 'plpgsql'; 2021-11-20 15:24:54.901,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.alternative_title_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.901,DECLARE 2021-11-20 15:24:54.901, input text; 2021-11-20 15:24:54.901, createdDate timestamp; 2021-11-20 15:24:54.901,BEGIN 2021-11-20 15:24:54.901, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.901, IF input IS NULL THEN 2021-11-20 15:24:54.901, RETURN NEW; 2021-11-20 15:24:54.901, END IF; 2021-11-20 15:24:54.901, -- time stamp without time zone? 2021-11-20 15:24:54.901, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.901," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.901, createdDate = input::timestamp; 2021-11-20 15:24:54.901, ELSE 2021-11-20 15:24:54.901, -- createdDate has a time zone string 2021-11-20 15:24:54.901," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.901, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.901, END IF; 2021-11-20 15:24:54.901," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.901, NEW.creation_date = createdDate; 2021-11-20 15:24:54.901, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.901, RETURN NEW; 2021-11-20 15:24:54.901,END; 2021-11-20 15:24:54.901,$$ language 'plpgsql'; 2021-11-20 15:24:54.901,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alternative_title_type_md_trigger ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.901,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alternative_title_type_md_trigger ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.901,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_alternative_title_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.alternative_title_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.alternative_title_type_set_md(); 2021-11-20 15:24:54.902,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_alternative_title_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.alternative_title_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.alternative_title_type_set_md(); 2021-11-20 15:24:54.902,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_alternative_title_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.902,BEGIN 2021-11-20 15:24:54.902, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.902, RETURN NEW; 2021-11-20 15:24:54.902, end if; 2021-11-20 15:24:54.902," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.902, if NEW.created_by IS NULL then 2021-11-20 15:24:54.902," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.902, else 2021-11-20 15:24:54.902," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.902, end if; 2021-11-20 15:24:54.902, RETURN NEW; 2021-11-20 15:24:54.902,END; 2021-11-20 15:24:54.902,$$ language 'plpgsql'; 2021-11-20 15:24:54.902,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_alternative_title_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.902,BEGIN 2021-11-20 15:24:54.902, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.902, RETURN NEW; 2021-11-20 15:24:54.902, end if; 2021-11-20 15:24:54.902," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.902, if NEW.created_by IS NULL then 2021-11-20 15:24:54.902," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.902, else 2021-11-20 15:24:54.902," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.902, end if; 2021-11-20 15:24:54.902, RETURN NEW; 2021-11-20 15:24:54.902,END; 2021-11-20 15:24:54.902,$$ language 'plpgsql'; 2021-11-20 15:24:54.903,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alternative_title_type_md_json_trigger ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.903,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alternative_title_type_md_json_trigger ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.903,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_alternative_title_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.alternative_title_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_alternative_title_type_md_json(); 2021-11-20 15:24:54.904,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_alternative_title_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.alternative_title_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_alternative_title_type_md_json(); 2021-11-20 15:24:54.904,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alternative_title_type_ol_version_trigger ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.904,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_alternative_title_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.alternative_title_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.904,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alternative_title_type_ol_version_trigger ON fs00001046_mod_inventory_storage.alternative_title_type CASCADE; 2021-11-20 15:24:54.904,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.alternative_title_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.905,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.alternative_title_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.905,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.alternative_title_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.905,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.905, BEGIN 2021-11-20 15:24:54.905, PERFORM rmb_internal_index( 2021-11-20 15:24:54.905," 'instance', 'instance_source_idx', 'ADD'," 2021-11-20 15:24:54.905, 'CREATE INDEX IF NOT EXISTS instance_source_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.905," || $rmb$(left(lower(jsonb->>'source'),600))$rmb$" 2021-11-20 15:24:54.905, ); 2021-11-20 15:24:54.905, END $do$; 2021-11-20 15:24:54.905,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.905, BEGIN 2021-11-20 15:24:54.905, PERFORM rmb_internal_index( 2021-11-20 15:24:54.905," 'instance', 'instance_source_idx', 'ADD'," 2021-11-20 15:24:54.905, 'CREATE INDEX IF NOT EXISTS instance_source_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.905," || $rmb$(left(lower(jsonb->>'source'),600))$rmb$" 2021-11-20 15:24:54.905, ); 2021-11-20 15:24:54.905, END $do$; 2021-11-20 15:24:54.905,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.905, BEGIN 2021-11-20 15:24:54.905, PERFORM rmb_internal_index( 2021-11-20 15:24:54.905," 'instance', 'instance_indexTitle_idx', 'ADD'," 2021-11-20 15:24:54.905, 'CREATE INDEX IF NOT EXISTS instance_indexTitle_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.905," || $rmb$(left(lower(f_unaccent(jsonb->>'indexTitle')),600))$rmb$" 2021-11-20 15:24:54.905, ); 2021-11-20 15:24:54.905, END $do$; 2021-11-20 15:24:54.906,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.906, BEGIN 2021-11-20 15:24:54.906, PERFORM rmb_internal_index( 2021-11-20 15:24:54.906," 'instance', 'instance_indexTitle_idx', 'ADD'," 2021-11-20 15:24:54.906, 'CREATE INDEX IF NOT EXISTS instance_indexTitle_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.906," || $rmb$(left(lower(f_unaccent(jsonb->>'indexTitle')),600))$rmb$" 2021-11-20 15:24:54.906, ); 2021-11-20 15:24:54.906, END $do$; 2021-11-20 15:24:54.906,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.906, BEGIN 2021-11-20 15:24:54.906, PERFORM rmb_internal_index( 2021-11-20 15:24:54.906," 'instance', 'instance_title_idx', 'ADD'," 2021-11-20 15:24:54.906, 'CREATE INDEX IF NOT EXISTS instance_title_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.906," || $rmb$(left(lower(f_unaccent(jsonb->>'title')),600))$rmb$" 2021-11-20 15:24:54.906, ); 2021-11-20 15:24:54.906, END $do$; 2021-11-20 15:24:54.907,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.907, BEGIN 2021-11-20 15:24:54.907, PERFORM rmb_internal_index( 2021-11-20 15:24:54.907," 'instance', 'instance_title_idx', 'ADD'," 2021-11-20 15:24:54.907, 'CREATE INDEX IF NOT EXISTS instance_title_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.907," || $rmb$(left(lower(f_unaccent(jsonb->>'title')),600))$rmb$" 2021-11-20 15:24:54.907, ); 2021-11-20 15:24:54.907, END $do$; 2021-11-20 15:24:54.907,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.907, BEGIN 2021-11-20 15:24:54.907, PERFORM rmb_internal_index( 2021-11-20 15:24:54.907," 'instance', 'instance_statisticalCodeIds_idx', 'ADD'," 2021-11-20 15:24:54.907, 'CREATE INDEX IF NOT EXISTS instance_statisticalCodeIds_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.907," || $rmb$(left(lower(jsonb->>'statisticalCodeIds'),600))$rmb$" 2021-11-20 15:24:54.907, ); 2021-11-20 15:24:54.907, END $do$; 2021-11-20 15:24:54.907,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.907, BEGIN 2021-11-20 15:24:54.907, PERFORM rmb_internal_index( 2021-11-20 15:24:54.907," 'instance', 'instance_statisticalCodeIds_idx', 'ADD'," 2021-11-20 15:24:54.907, 'CREATE INDEX IF NOT EXISTS instance_statisticalCodeIds_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.907," || $rmb$(left(lower(jsonb->>'statisticalCodeIds'),600))$rmb$" 2021-11-20 15:24:54.907, ); 2021-11-20 15:24:54.907, END $do$; 2021-11-20 15:24:54.907,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.907, BEGIN 2021-11-20 15:24:54.907, PERFORM rmb_internal_index( 2021-11-20 15:24:54.907," 'instance', 'instance_contributors_idx', 'ADD'," 2021-11-20 15:24:54.907, 'CREATE INDEX IF NOT EXISTS instance_contributors_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.907," || $rmb$(left(lower(f_unaccent(jsonb->>'contributors')),600))$rmb$" 2021-11-20 15:24:54.907, ); 2021-11-20 15:24:54.907, END $do$; 2021-11-20 15:24:54.908,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.908, BEGIN 2021-11-20 15:24:54.908, PERFORM rmb_internal_index( 2021-11-20 15:24:54.908," 'instance', 'instance_contributors_idx', 'ADD'," 2021-11-20 15:24:54.908, 'CREATE INDEX IF NOT EXISTS instance_contributors_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.908," || $rmb$(left(lower(f_unaccent(jsonb->>'contributors')),600))$rmb$" 2021-11-20 15:24:54.908, ); 2021-11-20 15:24:54.908, END $do$; 2021-11-20 15:24:54.908,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.908, BEGIN 2021-11-20 15:24:54.908, PERFORM rmb_internal_index( 2021-11-20 15:24:54.908," 'instance', 'instance_publication_idx', 'ADD'," 2021-11-20 15:24:54.908, 'CREATE INDEX IF NOT EXISTS instance_publication_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.908," || $rmb$(left(lower(f_unaccent(jsonb->>'publication')),600))$rmb$" 2021-11-20 15:24:54.908, ); 2021-11-20 15:24:54.908, END $do$; 2021-11-20 15:24:54.908,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.908, BEGIN 2021-11-20 15:24:54.908, PERFORM rmb_internal_index( 2021-11-20 15:24:54.908," 'instance', 'instance_publication_idx', 'ADD'," 2021-11-20 15:24:54.908, 'CREATE INDEX IF NOT EXISTS instance_publication_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.908," || $rmb$(left(lower(f_unaccent(jsonb->>'publication')),600))$rmb$" 2021-11-20 15:24:54.908, ); 2021-11-20 15:24:54.908, END $do$; 2021-11-20 15:24:54.909,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.909, BEGIN 2021-11-20 15:24:54.909, PERFORM rmb_internal_index( 2021-11-20 15:24:54.909," 'instance', 'instance_staffSuppress_idx', 'ADD'," 2021-11-20 15:24:54.909, 'CREATE INDEX IF NOT EXISTS instance_staffSuppress_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.909," || $rmb$(left(lower(jsonb->>'staffSuppress'),600))$rmb$" 2021-11-20 15:24:54.909, ); 2021-11-20 15:24:54.909, END $do$; 2021-11-20 15:24:54.909,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.909, BEGIN 2021-11-20 15:24:54.909, PERFORM rmb_internal_index( 2021-11-20 15:24:54.909," 'instance', 'instance_staffSuppress_idx', 'ADD'," 2021-11-20 15:24:54.909, 'CREATE INDEX IF NOT EXISTS instance_staffSuppress_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.909," || $rmb$(left(lower(jsonb->>'staffSuppress'),600))$rmb$" 2021-11-20 15:24:54.909, ); 2021-11-20 15:24:54.909, END $do$; 2021-11-20 15:24:54.909,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.909, BEGIN 2021-11-20 15:24:54.909, PERFORM rmb_internal_index( 2021-11-20 15:24:54.909," 'instance', 'instance_discoverySuppress_idx', 'ADD'," 2021-11-20 15:24:54.909, 'CREATE INDEX IF NOT EXISTS instance_discoverySuppress_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.909," || $rmb$(left(lower(jsonb->>'discoverySuppress'),600))$rmb$" 2021-11-20 15:24:54.909, ); 2021-11-20 15:24:54.909, END $do$; 2021-11-20 15:24:54.910,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.910, BEGIN 2021-11-20 15:24:54.910, PERFORM rmb_internal_index( 2021-11-20 15:24:54.910," 'instance', 'instance_discoverySuppress_idx', 'ADD'," 2021-11-20 15:24:54.910, 'CREATE INDEX IF NOT EXISTS instance_discoverySuppress_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.910," || $rmb$(left(lower(jsonb->>'discoverySuppress'),600))$rmb$" 2021-11-20 15:24:54.910, ); 2021-11-20 15:24:54.910, END $do$; 2021-11-20 15:24:54.910,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.910, BEGIN 2021-11-20 15:24:54.910, PERFORM rmb_internal_index( 2021-11-20 15:24:54.910," 'instance', 'instance_metadata_updatedDate_idx', 'ADD'," 2021-11-20 15:24:54.910, 'CREATE INDEX IF NOT EXISTS instance_metadata_updatedDate_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.910," || $rmb$(left(lower(jsonb->'metadata'->>'updatedDate'),600))$rmb$" 2021-11-20 15:24:54.910, ); 2021-11-20 15:24:54.910, END $do$; 2021-11-20 15:24:54.910,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.910, BEGIN 2021-11-20 15:24:54.910, PERFORM rmb_internal_index( 2021-11-20 15:24:54.910," 'instance', 'instance_metadata_updatedDate_idx', 'ADD'," 2021-11-20 15:24:54.910, 'CREATE INDEX IF NOT EXISTS instance_metadata_updatedDate_idx ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.910," || $rmb$(left(lower(jsonb->'metadata'->>'updatedDate'),600))$rmb$" 2021-11-20 15:24:54.910, ); 2021-11-20 15:24:54.910, END $do$; 2021-11-20 15:24:54.910,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.910, BEGIN 2021-11-20 15:24:54.910, PERFORM rmb_internal_index( 2021-11-20 15:24:54.910," 'instance', 'instance_hrid_idx_unique', 'ADD'," 2021-11-20 15:24:54.910, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_hrid_idx_unique ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.910, || $rmb$(lower(f_unaccent(jsonb->>'hrid')))$rmb$ 2021-11-20 15:24:54.910, ); 2021-11-20 15:24:54.910, END $do$; 2021-11-20 15:24:54.911,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.911, BEGIN 2021-11-20 15:24:54.911, PERFORM rmb_internal_index( 2021-11-20 15:24:54.911," 'instance', 'instance_hrid_idx_unique', 'ADD'," 2021-11-20 15:24:54.911, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_hrid_idx_unique ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.911, || $rmb$(lower(f_unaccent(jsonb->>'hrid')))$rmb$ 2021-11-20 15:24:54.911, ); 2021-11-20 15:24:54.911, END $do$; 2021-11-20 15:24:54.911,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.911, BEGIN 2021-11-20 15:24:54.911, PERFORM rmb_internal_index( 2021-11-20 15:24:54.911," 'instance', 'instance_matchKey_idx_unique', 'ADD'," 2021-11-20 15:24:54.911, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_matchKey_idx_unique ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.911, || $rmb$(lower(f_unaccent(jsonb->>'matchKey')))$rmb$ 2021-11-20 15:24:54.911, ); 2021-11-20 15:24:54.911, END $do$; 2021-11-20 15:24:54.912,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.912, BEGIN 2021-11-20 15:24:54.912, PERFORM rmb_internal_index( 2021-11-20 15:24:54.912," 'instance', 'instance_matchKey_idx_unique', 'ADD'," 2021-11-20 15:24:54.912, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_matchKey_idx_unique ON fs00001046_mod_inventory_storage.instance ' 2021-11-20 15:24:54.912, || $rmb$(lower(f_unaccent(jsonb->>'matchKey')))$rmb$ 2021-11-20 15:24:54.912, ); 2021-11-20 15:24:54.912, END $do$; 2021-11-20 15:24:54.912,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.912, BEGIN 2021-11-20 15:24:54.912, PERFORM rmb_internal_index( 2021-11-20 15:24:54.912," 'instance', 'instance_title_idx_gin', 'ADD'," 2021-11-20 15:24:54.912, 'CREATE INDEX IF NOT EXISTS instance_title_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.912, || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.912, ); 2021-11-20 15:24:54.912, END $do$; 2021-11-20 15:24:54.912,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.912, BEGIN 2021-11-20 15:24:54.912, PERFORM rmb_internal_index( 2021-11-20 15:24:54.912," 'instance', 'instance_title_idx_gin', 'ADD'," 2021-11-20 15:24:54.912, 'CREATE INDEX IF NOT EXISTS instance_title_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.912, || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.912, ); 2021-11-20 15:24:54.912, END $do$; 2021-11-20 15:24:54.912,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.912, BEGIN 2021-11-20 15:24:54.912, PERFORM rmb_internal_index( 2021-11-20 15:24:54.912," 'instance', 'instance_indexTitle_idx_gin', 'ADD'," 2021-11-20 15:24:54.912, 'CREATE INDEX IF NOT EXISTS instance_indexTitle_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.912, || $rmb$((lower(f_unaccent(jsonb->>'indexTitle'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.912, ); 2021-11-20 15:24:54.912, END $do$; 2021-11-20 15:24:54.913,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.913, BEGIN 2021-11-20 15:24:54.913, PERFORM rmb_internal_index( 2021-11-20 15:24:54.913," 'instance', 'instance_indexTitle_idx_gin', 'ADD'," 2021-11-20 15:24:54.913, 'CREATE INDEX IF NOT EXISTS instance_indexTitle_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.913, || $rmb$((lower(f_unaccent(jsonb->>'indexTitle'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.913, ); 2021-11-20 15:24:54.913, END $do$; 2021-11-20 15:24:54.913,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.913, BEGIN 2021-11-20 15:24:54.913, PERFORM rmb_internal_index( 2021-11-20 15:24:54.913," 'instance', 'instance_contributors_idx_gin', 'ADD'," 2021-11-20 15:24:54.913, 'CREATE INDEX IF NOT EXISTS instance_contributors_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.913, || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.913, ); 2021-11-20 15:24:54.913, END $do$; 2021-11-20 15:24:54.913,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.913, BEGIN 2021-11-20 15:24:54.913, PERFORM rmb_internal_index( 2021-11-20 15:24:54.913," 'instance', 'instance_contributors_idx_gin', 'ADD'," 2021-11-20 15:24:54.913, 'CREATE INDEX IF NOT EXISTS instance_contributors_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.913, || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.913, ); 2021-11-20 15:24:54.913, END $do$; 2021-11-20 15:24:54.914,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.914, BEGIN 2021-11-20 15:24:54.914, PERFORM rmb_internal_index( 2021-11-20 15:24:54.914," 'instance', 'instance_identifiers_idx_gin', 'ADD'," 2021-11-20 15:24:54.914, 'CREATE INDEX IF NOT EXISTS instance_identifiers_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.914, || $rmb$((lower(f_unaccent(jsonb->>'identifiers'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.914, ); 2021-11-20 15:24:54.914, END $do$; 2021-11-20 15:24:54.914,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.914, BEGIN 2021-11-20 15:24:54.914, PERFORM rmb_internal_index( 2021-11-20 15:24:54.914," 'instance', 'instance_identifiers_idx_gin', 'ADD'," 2021-11-20 15:24:54.914, 'CREATE INDEX IF NOT EXISTS instance_identifiers_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.914, || $rmb$((lower(f_unaccent(jsonb->>'identifiers'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.914, ); 2021-11-20 15:24:54.914, END $do$; 2021-11-20 15:24:54.914,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.914, BEGIN 2021-11-20 15:24:54.914, PERFORM rmb_internal_index( 2021-11-20 15:24:54.914," 'instance', 'instance_subjects_idx_gin', 'DELETE'," 2021-11-20 15:24:54.914, 'CREATE INDEX IF NOT EXISTS instance_subjects_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.914, || $rmb$((lower(f_unaccent(jsonb->>'subjects'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.914, ); 2021-11-20 15:24:54.914, END $do$; 2021-11-20 15:24:54.915,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='index ""instance_subjects_idx_gin"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement ""DROP INDEX IF EXISTS instance_subjects_idx_gin""" 2021-11-20 15:24:54.915,"PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE" 2021-11-20 15:24:54.915,"SQL statement ""SELECT rmb_internal_index(" 2021-11-20 15:24:54.915," 'instance', 'instance_subjects_idx_gin', 'DELETE'," 2021-11-20 15:24:54.915, 'CREATE INDEX IF NOT EXISTS instance_subjects_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.915, || $rmb$((lower(f_unaccent(jsonb->>'subjects'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.915," )""" 2021-11-20 15:24:54.915,"PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1206', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.915,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.915, BEGIN 2021-11-20 15:24:54.915, PERFORM rmb_internal_index( 2021-11-20 15:24:54.915," 'instance', 'instance_subjects_idx_gin', 'DELETE'," 2021-11-20 15:24:54.915, 'CREATE INDEX IF NOT EXISTS instance_subjects_idx_gin ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.915, || $rmb$((lower(f_unaccent(jsonb->>'subjects'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:54.915, ); 2021-11-20 15:24:54.915, END $do$; 2021-11-20 15:24:54.915,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.915, BEGIN 2021-11-20 15:24:54.915, PERFORM rmb_internal_index( 2021-11-20 15:24:54.915," 'instance', 'instance_classifications_idx_ft', 'ADD'," 2021-11-20 15:24:54.915, 'CREATE INDEX IF NOT EXISTS instance_classifications_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.915, || $rmb$( get_tsvector(f_unaccent(jsonb->>'classifications')) )$rmb$); 2021-11-20 15:24:54.915, END $do$; 2021-11-20 15:24:54.916,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.916, BEGIN 2021-11-20 15:24:54.916, PERFORM rmb_internal_index( 2021-11-20 15:24:54.916," 'instance', 'instance_classifications_idx_ft', 'ADD'," 2021-11-20 15:24:54.916, 'CREATE INDEX IF NOT EXISTS instance_classifications_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.916, || $rmb$( get_tsvector(f_unaccent(jsonb->>'classifications')) )$rmb$); 2021-11-20 15:24:54.916, END $do$; 2021-11-20 15:24:54.916,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.916, BEGIN 2021-11-20 15:24:54.916, PERFORM rmb_internal_index( 2021-11-20 15:24:54.916," 'instance', 'instance_keyword_idx_ft', 'ADD'," 2021-11-20 15:24:54.916, 'CREATE INDEX IF NOT EXISTS instance_keyword_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.916," || $rmb$( get_tsvector(f_unaccent(concat_space_sql(instance.jsonb->>'title' , instance.jsonb->>'indexTitle' , concat_array_object_values(instance.jsonb->'alternativeTitles','alternativeTitle') , instance.jsonb->>'series' , concat_array_object_values(instance.jsonb->'contributors','name') , concat_array_object_values(instance.jsonb->'identifiers','value')))) )$rmb$);" 2021-11-20 15:24:54.916, END $do$; 2021-11-20 15:24:54.916,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.916, BEGIN 2021-11-20 15:24:54.916, PERFORM rmb_internal_index( 2021-11-20 15:24:54.916," 'instance', 'instance_keyword_idx_ft', 'ADD'," 2021-11-20 15:24:54.916, 'CREATE INDEX IF NOT EXISTS instance_keyword_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.916," || $rmb$( get_tsvector(f_unaccent(concat_space_sql(instance.jsonb->>'title' , instance.jsonb->>'indexTitle' , concat_array_object_values(instance.jsonb->'alternativeTitles','alternativeTitle') , instance.jsonb->>'series' , concat_array_object_values(instance.jsonb->'contributors','name') , concat_array_object_values(instance.jsonb->'identifiers','value')))) )$rmb$);" 2021-11-20 15:24:54.916, END $do$; 2021-11-20 15:24:54.916,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.916, BEGIN 2021-11-20 15:24:54.916, PERFORM rmb_internal_index( 2021-11-20 15:24:54.916," 'instance', 'instance_allTitles_idx_ft', 'ADD'," 2021-11-20 15:24:54.916, 'CREATE INDEX IF NOT EXISTS instance_allTitles_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.916," || $rmb$( get_tsvector(f_unaccent(concat_space_sql(instance.jsonb->>'title' , instance.jsonb->>'indexTitle' , concat_array_object_values(instance.jsonb->'alternativeTitles','alternativeTitle') , instance.jsonb->>'series'))) )$rmb$);" 2021-11-20 15:24:54.916, END $do$; 2021-11-20 15:24:54.917,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.917, BEGIN 2021-11-20 15:24:54.917, PERFORM rmb_internal_index( 2021-11-20 15:24:54.917," 'instance', 'instance_allTitles_idx_ft', 'ADD'," 2021-11-20 15:24:54.917, 'CREATE INDEX IF NOT EXISTS instance_allTitles_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.917," || $rmb$( get_tsvector(f_unaccent(concat_space_sql(instance.jsonb->>'title' , instance.jsonb->>'indexTitle' , concat_array_object_values(instance.jsonb->'alternativeTitles','alternativeTitle') , instance.jsonb->>'series'))) )$rmb$);" 2021-11-20 15:24:54.917, END $do$; 2021-11-20 15:24:54.917,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.917, BEGIN 2021-11-20 15:24:54.917, PERFORM rmb_internal_index( 2021-11-20 15:24:54.917," 'instance', 'instance_contributorsNames_idx_ft', 'ADD'," 2021-11-20 15:24:54.917, 'CREATE INDEX IF NOT EXISTS instance_contributorsNames_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.917," || $rmb$( get_tsvector(f_unaccent(concat_space_sql(concat_array_object_values(instance.jsonb->'contributors','name')))) )$rmb$);" 2021-11-20 15:24:54.917, END $do$; 2021-11-20 15:24:54.918,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.918, BEGIN 2021-11-20 15:24:54.918, PERFORM rmb_internal_index( 2021-11-20 15:24:54.918," 'instance', 'instance_contributorsNames_idx_ft', 'ADD'," 2021-11-20 15:24:54.918, 'CREATE INDEX IF NOT EXISTS instance_contributorsNames_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.918," || $rmb$( get_tsvector(f_unaccent(concat_space_sql(concat_array_object_values(instance.jsonb->'contributors','name')))) )$rmb$);" 2021-11-20 15:24:54.918, END $do$; 2021-11-20 15:24:54.918,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.918, BEGIN 2021-11-20 15:24:54.918, PERFORM rmb_internal_index( 2021-11-20 15:24:54.918," 'instance', 'instance_title_idx_ft', 'ADD'," 2021-11-20 15:24:54.918, 'CREATE INDEX IF NOT EXISTS instance_title_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.918, || $rmb$( get_tsvector(f_unaccent(jsonb->>'title')) )$rmb$); 2021-11-20 15:24:54.918, END $do$; 2021-11-20 15:24:54.918,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.918, BEGIN 2021-11-20 15:24:54.918, PERFORM rmb_internal_index( 2021-11-20 15:24:54.918," 'instance', 'instance_title_idx_ft', 'ADD'," 2021-11-20 15:24:54.918, 'CREATE INDEX IF NOT EXISTS instance_title_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.918, || $rmb$( get_tsvector(f_unaccent(jsonb->>'title')) )$rmb$); 2021-11-20 15:24:54.918, END $do$; 2021-11-20 15:24:54.918,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.918, BEGIN 2021-11-20 15:24:54.918, PERFORM rmb_internal_index( 2021-11-20 15:24:54.918," 'instance', 'instance_languages_idx_ft', 'ADD'," 2021-11-20 15:24:54.918, 'CREATE INDEX IF NOT EXISTS instance_languages_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.918, || $rmb$( get_tsvector(f_unaccent(jsonb->>'languages')) )$rmb$); 2021-11-20 15:24:54.918, END $do$; 2021-11-20 15:24:54.919,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.919, BEGIN 2021-11-20 15:24:54.919, PERFORM rmb_internal_index( 2021-11-20 15:24:54.919," 'instance', 'instance_languages_idx_ft', 'ADD'," 2021-11-20 15:24:54.919, 'CREATE INDEX IF NOT EXISTS instance_languages_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.919, || $rmb$( get_tsvector(f_unaccent(jsonb->>'languages')) )$rmb$); 2021-11-20 15:24:54.919, END $do$; 2021-11-20 15:24:54.919,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.919, BEGIN 2021-11-20 15:24:54.919, PERFORM rmb_internal_index( 2021-11-20 15:24:54.919," 'instance', 'instance_contributors_idx_ft', 'ADD'," 2021-11-20 15:24:54.919, 'CREATE INDEX IF NOT EXISTS instance_contributors_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.919, || $rmb$( get_tsvector(f_unaccent(jsonb->>'contributors')) )$rmb$); 2021-11-20 15:24:54.919, END $do$; 2021-11-20 15:24:54.920,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.920, BEGIN 2021-11-20 15:24:54.920, PERFORM rmb_internal_index( 2021-11-20 15:24:54.920," 'instance', 'instance_contributors_idx_ft', 'ADD'," 2021-11-20 15:24:54.920, 'CREATE INDEX IF NOT EXISTS instance_contributors_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.920, || $rmb$( get_tsvector(f_unaccent(jsonb->>'contributors')) )$rmb$); 2021-11-20 15:24:54.920, END $do$; 2021-11-20 15:24:54.920,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.920, BEGIN 2021-11-20 15:24:54.920, PERFORM rmb_internal_index( 2021-11-20 15:24:54.920," 'instance', 'instance_identifiers_idx_ft', 'ADD'," 2021-11-20 15:24:54.920, 'CREATE INDEX IF NOT EXISTS instance_identifiers_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.920, || $rmb$( get_tsvector(f_unaccent(jsonb->>'identifiers')) )$rmb$); 2021-11-20 15:24:54.920, END $do$; 2021-11-20 15:24:54.920,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.920, BEGIN 2021-11-20 15:24:54.920, PERFORM rmb_internal_index( 2021-11-20 15:24:54.920," 'instance', 'instance_identifiers_idx_ft', 'ADD'," 2021-11-20 15:24:54.920, 'CREATE INDEX IF NOT EXISTS instance_identifiers_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.920, || $rmb$( get_tsvector(f_unaccent(jsonb->>'identifiers')) )$rmb$); 2021-11-20 15:24:54.920, END $do$; 2021-11-20 15:24:54.920,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.920, BEGIN 2021-11-20 15:24:54.920, PERFORM rmb_internal_index( 2021-11-20 15:24:54.920," 'instance', 'instance_invalidIsbn_idx_ft', 'ADD'," 2021-11-20 15:24:54.920, 'CREATE INDEX IF NOT EXISTS instance_invalidIsbn_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.920, || $rmb$( get_tsvector(normalize_invalid_isbns(jsonb->'identifiers')) )$rmb$); 2021-11-20 15:24:54.920, END $do$; 2021-11-20 15:24:54.921,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.921, BEGIN 2021-11-20 15:24:54.921, PERFORM rmb_internal_index( 2021-11-20 15:24:54.921," 'instance', 'instance_invalidIsbn_idx_ft', 'ADD'," 2021-11-20 15:24:54.921, 'CREATE INDEX IF NOT EXISTS instance_invalidIsbn_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.921, || $rmb$( get_tsvector(normalize_invalid_isbns(jsonb->'identifiers')) )$rmb$); 2021-11-20 15:24:54.921, END $do$; 2021-11-20 15:24:54.921,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.921, BEGIN 2021-11-20 15:24:54.921, PERFORM rmb_internal_index( 2021-11-20 15:24:54.921," 'instance', 'instance_isbn_idx_ft', 'ADD'," 2021-11-20 15:24:54.921, 'CREATE INDEX IF NOT EXISTS instance_isbn_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.921, || $rmb$( get_tsvector(normalize_isbns(jsonb->'identifiers')) )$rmb$); 2021-11-20 15:24:54.921, END $do$; 2021-11-20 15:24:54.922,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.922, BEGIN 2021-11-20 15:24:54.922, PERFORM rmb_internal_index( 2021-11-20 15:24:54.922," 'instance', 'instance_isbn_idx_ft', 'ADD'," 2021-11-20 15:24:54.922, 'CREATE INDEX IF NOT EXISTS instance_isbn_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.922, || $rmb$( get_tsvector(normalize_isbns(jsonb->'identifiers')) )$rmb$); 2021-11-20 15:24:54.922, END $do$; 2021-11-20 15:24:54.922,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.922, BEGIN 2021-11-20 15:24:54.922, PERFORM rmb_internal_index( 2021-11-20 15:24:54.922," 'instance', 'instance_dateOfPublication_idx_ft', 'ADD'," 2021-11-20 15:24:54.922, 'CREATE INDEX IF NOT EXISTS instance_dateOfPublication_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.922," || $rmb$( get_tsvector(concat_array_object_values(jsonb->'publication', 'dateOfPublication')) )$rmb$);" 2021-11-20 15:24:54.922, END $do$; 2021-11-20 15:24:54.923,15:24:54 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:54.923,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.923, BEGIN 2021-11-20 15:24:54.923, PERFORM rmb_internal_index( 2021-11-20 15:24:54.923," 'instance', 'instance_dateOfPublication_idx_ft', 'ADD'," 2021-11-20 15:24:54.923, 'CREATE INDEX IF NOT EXISTS instance_dateOfPublication_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.923," || $rmb$( get_tsvector(concat_array_object_values(jsonb->'publication', 'dateOfPublication')) )$rmb$);" 2021-11-20 15:24:54.923, END $do$; 2021-11-20 15:24:54.923,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.923, BEGIN 2021-11-20 15:24:54.923, PERFORM rmb_internal_index( 2021-11-20 15:24:54.923," 'instance', 'instance_subjects_idx_ft', 'ADD'," 2021-11-20 15:24:54.923, 'CREATE INDEX IF NOT EXISTS instance_subjects_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.923, || $rmb$( get_tsvector(f_unaccent(jsonb->>'subjects')) )$rmb$); 2021-11-20 15:24:54.923, END $do$; 2021-11-20 15:24:54.924,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.924, BEGIN 2021-11-20 15:24:54.924, PERFORM rmb_internal_index( 2021-11-20 15:24:54.924," 'instance', 'instance_subjects_idx_ft', 'ADD'," 2021-11-20 15:24:54.924, 'CREATE INDEX IF NOT EXISTS instance_subjects_idx_ft ON fs00001046_mod_inventory_storage.instance USING GIN ' 2021-11-20 15:24:54.924, || $rmb$( get_tsvector(f_unaccent(jsonb->>'subjects')) )$rmb$); 2021-11-20 15:24:54.924, END $do$; 2021-11-20 15:24:54.924,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance ADD COLUMN IF NOT EXISTS instanceStatusId UUID; 2021-11-20 15:24:54.925,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""instancestatusid"" of relation ""instance"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.925,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance ADD COLUMN IF NOT EXISTS instanceStatusId UUID; 2021-11-20 15:24:54.925,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.925, BEGIN 2021-11-20 15:24:54.925, BEGIN 2021-11-20 15:24:54.925, ALTER TABLE instance 2021-11-20 15:24:54.925, ADD CONSTRAINT instanceStatusId_instance_status_fkey 2021-11-20 15:24:54.925, FOREIGN KEY (instanceStatusId) REFERENCES instance_status; 2021-11-20 15:24:54.925, EXCEPTION 2021-11-20 15:24:54.925, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.925, END; 2021-11-20 15:24:54.925, END $$; 2021-11-20 15:24:54.926,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.926, BEGIN 2021-11-20 15:24:54.926, BEGIN 2021-11-20 15:24:54.926, ALTER TABLE instance 2021-11-20 15:24:54.926, ADD CONSTRAINT instanceStatusId_instance_status_fkey 2021-11-20 15:24:54.926, FOREIGN KEY (instanceStatusId) REFERENCES instance_status; 2021-11-20 15:24:54.926, EXCEPTION 2021-11-20 15:24:54.926, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.926, END; 2021-11-20 15:24:54.926, END $$; 2021-11-20 15:24:54.926,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_instanceStatusId_idx ON fs00001046_mod_inventory_storage.instance (instanceStatusId); 2021-11-20 15:24:54.927,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_instancestatusid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.927,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_instanceStatusId_idx ON fs00001046_mod_inventory_storage.instance (instanceStatusId); 2021-11-20 15:24:54.927,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('instance'); 2021-11-20 15:24:54.928,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('instance'); 2021-11-20 15:24:54.928,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance ADD COLUMN IF NOT EXISTS modeOfIssuanceId UUID; 2021-11-20 15:24:54.928,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""modeofissuanceid"" of relation ""instance"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.928,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance ADD COLUMN IF NOT EXISTS modeOfIssuanceId UUID; 2021-11-20 15:24:54.929,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.929, BEGIN 2021-11-20 15:24:54.929, BEGIN 2021-11-20 15:24:54.929, ALTER TABLE instance 2021-11-20 15:24:54.929, ADD CONSTRAINT modeOfIssuanceId_mode_of_issuance_fkey 2021-11-20 15:24:54.929, FOREIGN KEY (modeOfIssuanceId) REFERENCES mode_of_issuance; 2021-11-20 15:24:54.929, EXCEPTION 2021-11-20 15:24:54.929, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.929, END; 2021-11-20 15:24:54.929, END $$; 2021-11-20 15:24:54.929,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.929, BEGIN 2021-11-20 15:24:54.929, BEGIN 2021-11-20 15:24:54.929, ALTER TABLE instance 2021-11-20 15:24:54.929, ADD CONSTRAINT modeOfIssuanceId_mode_of_issuance_fkey 2021-11-20 15:24:54.929, FOREIGN KEY (modeOfIssuanceId) REFERENCES mode_of_issuance; 2021-11-20 15:24:54.929, EXCEPTION 2021-11-20 15:24:54.929, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.929, END; 2021-11-20 15:24:54.929, END $$; 2021-11-20 15:24:54.929,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_modeOfIssuanceId_idx ON fs00001046_mod_inventory_storage.instance (modeOfIssuanceId); 2021-11-20 15:24:54.930,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_modeofissuanceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.930,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_modeOfIssuanceId_idx ON fs00001046_mod_inventory_storage.instance (modeOfIssuanceId); 2021-11-20 15:24:54.930,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('instance'); 2021-11-20 15:24:54.930,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('instance'); 2021-11-20 15:24:54.930,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance ADD COLUMN IF NOT EXISTS instanceTypeId UUID; 2021-11-20 15:24:54.931,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""instancetypeid"" of relation ""instance"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.931,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance ADD COLUMN IF NOT EXISTS instanceTypeId UUID; 2021-11-20 15:24:54.931,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.931, BEGIN 2021-11-20 15:24:54.931, BEGIN 2021-11-20 15:24:54.931, ALTER TABLE instance 2021-11-20 15:24:54.931, ADD CONSTRAINT instanceTypeId_instance_type_fkey 2021-11-20 15:24:54.931, FOREIGN KEY (instanceTypeId) REFERENCES instance_type; 2021-11-20 15:24:54.931, EXCEPTION 2021-11-20 15:24:54.931, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.931, END; 2021-11-20 15:24:54.931, END $$; 2021-11-20 15:24:54.932,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.932, BEGIN 2021-11-20 15:24:54.932, BEGIN 2021-11-20 15:24:54.932, ALTER TABLE instance 2021-11-20 15:24:54.932, ADD CONSTRAINT instanceTypeId_instance_type_fkey 2021-11-20 15:24:54.932, FOREIGN KEY (instanceTypeId) REFERENCES instance_type; 2021-11-20 15:24:54.932, EXCEPTION 2021-11-20 15:24:54.932, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.932, END; 2021-11-20 15:24:54.932, END $$; 2021-11-20 15:24:54.932,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_instanceTypeId_idx ON fs00001046_mod_inventory_storage.instance (instanceTypeId); 2021-11-20 15:24:54.932,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_instancetypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.933,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_instanceTypeId_idx ON fs00001046_mod_inventory_storage.instance (instanceTypeId); 2021-11-20 15:24:54.933,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('instance'); 2021-11-20 15:24:54.933,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('instance'); 2021-11-20 15:24:54.933,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_instance_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.933, BEGIN 2021-11-20 15:24:54.933, NEW.instanceStatusId = (NEW.jsonb->>'instanceStatusId'); 2021-11-20 15:24:54.933, NEW.modeOfIssuanceId = (NEW.jsonb->>'modeOfIssuanceId'); 2021-11-20 15:24:54.933, NEW.instanceTypeId = (NEW.jsonb->>'instanceTypeId'); 2021-11-20 15:24:54.933, RETURN NEW; 2021-11-20 15:24:54.933, END; 2021-11-20 15:24:54.933, $$ language 'plpgsql'; 2021-11-20 15:24:54.934,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_instance_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.934, BEGIN 2021-11-20 15:24:54.934, NEW.instanceStatusId = (NEW.jsonb->>'instanceStatusId'); 2021-11-20 15:24:54.934, NEW.modeOfIssuanceId = (NEW.jsonb->>'modeOfIssuanceId'); 2021-11-20 15:24:54.934, NEW.instanceTypeId = (NEW.jsonb->>'instanceTypeId'); 2021-11-20 15:24:54.934, RETURN NEW; 2021-11-20 15:24:54.934, END; 2021-11-20 15:24:54.934, $$ language 'plpgsql'; 2021-11-20 15:24:54.934,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_references ON fs00001046_mod_inventory_storage.instance CASCADE; 2021-11-20 15:24:54.934,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:54 +0000] ""POST /mod-inventory-storage/_/tenant HTTP/1.1"" 201 308 rt=0.059 uct=""0.000"" uht=""0.060"" urt=""0.060"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;965339/tenant""" 2021-11-20 15:24:54.934,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:54 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.299 uct=""0.000"" uht=""0.300"" urt=""0.300"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;362885/tenant""" 2021-11-20 15:24:54.935,15:24:54 [] [] [] [] INFO LogUtil 127.0.0.1:57824 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 12 tid=fs00001046 OK 2021-11-20 15:24:54.935,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_references ON fs00001046_mod_inventory_storage.instance CASCADE; 2021-11-20 15:24:54.935,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_instance_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_instance_references(); 2021-11-20 15:24:54.936,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_instance_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_instance_references(); 2021-11-20 15:24:54.936,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.936, DECLARE 2021-11-20 15:24:54.936, version TEXT; 2021-11-20 15:24:54.936, i INT; 2021-11-20 15:24:54.936, BEGIN 2021-11-20 15:24:54.936, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.936, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.936, RETURN; 2021-11-20 15:24:54.936, END IF; 2021-11-20 15:24:54.936, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.936, EXECUTE 'ALTER TABLE instance DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.936, || 'instanceStatusId_instance_status_fkey' || i; 2021-11-20 15:24:54.936, END LOOP; 2021-11-20 15:24:54.936, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.936, EXECUTE 'ALTER TABLE instance DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.936, || 'modeOfIssuanceId_mode_of_issuance_fkey' || i; 2021-11-20 15:24:54.936, END LOOP; 2021-11-20 15:24:54.936, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.936, EXECUTE 'ALTER TABLE instance DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.936, || 'instanceTypeId_instance_type_fkey' || i; 2021-11-20 15:24:54.936, END LOOP; 2021-11-20 15:24:54.936, END $$; 2021-11-20 15:24:54.936,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.936, DECLARE 2021-11-20 15:24:54.936, version TEXT; 2021-11-20 15:24:54.936, i INT; 2021-11-20 15:24:54.936, BEGIN 2021-11-20 15:24:54.936, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.936, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.936, RETURN; 2021-11-20 15:24:54.936, END IF; 2021-11-20 15:24:54.936, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.936, EXECUTE 'ALTER TABLE instance DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.936, || 'instanceStatusId_instance_status_fkey' || i; 2021-11-20 15:24:54.936, END LOOP; 2021-11-20 15:24:54.936, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.936, EXECUTE 'ALTER TABLE instance DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.936, || 'modeOfIssuanceId_mode_of_issuance_fkey' || i; 2021-11-20 15:24:54.936, END LOOP; 2021-11-20 15:24:54.936, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.936, EXECUTE 'ALTER TABLE instance DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.936, || 'instanceTypeId_instance_type_fkey' || i; 2021-11-20 15:24:54.936, END LOOP; 2021-11-20 15:24:54.936, END $$; 2021-11-20 15:24:54.936,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_set_ol_version() RETURNS trigger AS $$ 2021-11-20 15:24:54.936, BEGIN 2021-11-20 15:24:54.936, CASE TG_OP 2021-11-20 15:24:54.936, WHEN 'INSERT' THEN 2021-11-20 15:24:54.936," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}', to_jsonb(1));" 2021-11-20 15:24:54.936, WHEN 'UPDATE' THEN 2021-11-20 15:24:54.936, IF NEW.jsonb->'_version' IS DISTINCT FROM OLD.jsonb->'_version' THEN 2021-11-20 15:24:54.936, RAISE NOTICE 'Ignoring optimistic locking conflict while overwriting changed record %: ' 2021-11-20 15:24:54.936," 'Stored _version is %, _version of request is %'," 2021-11-20 15:24:54.936," OLD.id, OLD.jsonb->'_version', NEW.jsonb->'_version' " 2021-11-20 15:24:54.936," USING ERRCODE = '23F09', TABLE = 'instance', SCHEMA = 'fs00001046_mod_inventory_storage';" 2021-11-20 15:24:54.936, END IF; 2021-11-20 15:24:54.936," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}'," 2021-11-20 15:24:54.936," to_jsonb(COALESCE((OLD.jsonb->>'_version')::numeric + 1, 1)));" 2021-11-20 15:24:54.936, END CASE; 2021-11-20 15:24:54.936, RETURN NEW; 2021-11-20 15:24:54.936, END; 2021-11-20 15:24:54.936, $$ LANGUAGE plpgsql; 2021-11-20 15:24:54.937,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_set_ol_version() RETURNS trigger AS $$ 2021-11-20 15:24:54.937, BEGIN 2021-11-20 15:24:54.937, CASE TG_OP 2021-11-20 15:24:54.937, WHEN 'INSERT' THEN 2021-11-20 15:24:54.937," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}', to_jsonb(1));" 2021-11-20 15:24:54.937, WHEN 'UPDATE' THEN 2021-11-20 15:24:54.937, IF NEW.jsonb->'_version' IS DISTINCT FROM OLD.jsonb->'_version' THEN 2021-11-20 15:24:54.937, RAISE NOTICE 'Ignoring optimistic locking conflict while overwriting changed record %: ' 2021-11-20 15:24:54.937," 'Stored _version is %, _version of request is %'," 2021-11-20 15:24:54.937," OLD.id, OLD.jsonb->'_version', NEW.jsonb->'_version' " 2021-11-20 15:24:54.937," USING ERRCODE = '23F09', TABLE = 'instance', SCHEMA = 'fs00001046_mod_inventory_storage';" 2021-11-20 15:24:54.937, END IF; 2021-11-20 15:24:54.937," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}'," 2021-11-20 15:24:54.937," to_jsonb(COALESCE((OLD.jsonb->>'_version')::numeric + 1, 1)));" 2021-11-20 15:24:54.937, END CASE; 2021-11-20 15:24:54.937, RETURN NEW; 2021-11-20 15:24:54.937, END; 2021-11-20 15:24:54.937, $$ LANGUAGE plpgsql; 2021-11-20 15:24:54.937,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_ol_version_trigger ON fs00001046_mod_inventory_storage.instance CASCADE; 2021-11-20 15:24:54.938,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_ol_version_trigger ON fs00001046_mod_inventory_storage.instance CASCADE; 2021-11-20 15:24:54.938,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_ol_version_trigger BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_set_ol_version(); 2021-11-20 15:24:54.938,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_ol_version_trigger BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_set_ol_version(); 2021-11-20 15:24:54.938,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.939,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.939,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.939,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_relationship ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.939,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_relationship"" for relation ""fs00001046_mod_inventory_storage.instance_relationship"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.939,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_relationship ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.939,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.940,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.940,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.941,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.941,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.942,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""instance_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.942,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""instance_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.942,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.942,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS superInstanceId UUID; 2021-11-20 15:24:54.942,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""superinstanceid"" of relation ""instance_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.942,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS superInstanceId UUID; 2021-11-20 15:24:54.942,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.942, BEGIN 2021-11-20 15:24:54.942, BEGIN 2021-11-20 15:24:54.942, ALTER TABLE instance_relationship 2021-11-20 15:24:54.942, ADD CONSTRAINT superInstanceId_instance_fkey 2021-11-20 15:24:54.942, FOREIGN KEY (superInstanceId) REFERENCES instance; 2021-11-20 15:24:54.942, EXCEPTION 2021-11-20 15:24:54.942, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.942, END; 2021-11-20 15:24:54.942, END $$; 2021-11-20 15:24:54.943,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.943, BEGIN 2021-11-20 15:24:54.943, BEGIN 2021-11-20 15:24:54.943, ALTER TABLE instance_relationship 2021-11-20 15:24:54.943, ADD CONSTRAINT superInstanceId_instance_fkey 2021-11-20 15:24:54.943, FOREIGN KEY (superInstanceId) REFERENCES instance; 2021-11-20 15:24:54.943, EXCEPTION 2021-11-20 15:24:54.943, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.943, END; 2021-11-20 15:24:54.943, END $$; 2021-11-20 15:24:54.943,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_relationship_superInstanceId_idx ON fs00001046_mod_inventory_storage.instance_relationship (superInstanceId); 2021-11-20 15:24:54.944,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_relationship_superinstanceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.944,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_relationship_superInstanceId_idx ON fs00001046_mod_inventory_storage.instance_relationship (superInstanceId); 2021-11-20 15:24:54.944,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('instance_relationship'); 2021-11-20 15:24:54.944,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('instance_relationship'); 2021-11-20 15:24:54.944,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS subInstanceId UUID; 2021-11-20 15:24:54.944,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""subinstanceid"" of relation ""instance_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.945,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS subInstanceId UUID; 2021-11-20 15:24:54.945,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.945, BEGIN 2021-11-20 15:24:54.945, BEGIN 2021-11-20 15:24:54.945, ALTER TABLE instance_relationship 2021-11-20 15:24:54.945, ADD CONSTRAINT subInstanceId_instance_fkey 2021-11-20 15:24:54.945, FOREIGN KEY (subInstanceId) REFERENCES instance; 2021-11-20 15:24:54.945, EXCEPTION 2021-11-20 15:24:54.945, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.945, END; 2021-11-20 15:24:54.945, END $$; 2021-11-20 15:24:54.945,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.945, BEGIN 2021-11-20 15:24:54.945, BEGIN 2021-11-20 15:24:54.945, ALTER TABLE instance_relationship 2021-11-20 15:24:54.945, ADD CONSTRAINT subInstanceId_instance_fkey 2021-11-20 15:24:54.945, FOREIGN KEY (subInstanceId) REFERENCES instance; 2021-11-20 15:24:54.945, EXCEPTION 2021-11-20 15:24:54.945, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.945, END; 2021-11-20 15:24:54.945, END $$; 2021-11-20 15:24:54.945,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_relationship_subInstanceId_idx ON fs00001046_mod_inventory_storage.instance_relationship (subInstanceId); 2021-11-20 15:24:54.945,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_relationship_subinstanceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.945,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_relationship_subInstanceId_idx ON fs00001046_mod_inventory_storage.instance_relationship (subInstanceId); 2021-11-20 15:24:54.946,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('instance_relationship'); 2021-11-20 15:24:54.946,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('instance_relationship'); 2021-11-20 15:24:54.946,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS instanceRelationshipTypeId UUID; 2021-11-20 15:24:54.946,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""instancerelationshiptypeid"" of relation ""instance_relationship"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.946,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_relationship ADD COLUMN IF NOT EXISTS instanceRelationshipTypeId UUID; 2021-11-20 15:24:54.946,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.946, BEGIN 2021-11-20 15:24:54.946, BEGIN 2021-11-20 15:24:54.946, ALTER TABLE instance_relationship 2021-11-20 15:24:54.946, ADD CONSTRAINT instanceRelationshipTypeId_instance_relationship_type_fkey 2021-11-20 15:24:54.946, FOREIGN KEY (instanceRelationshipTypeId) REFERENCES instance_relationship_type; 2021-11-20 15:24:54.946, EXCEPTION 2021-11-20 15:24:54.946, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.946, END; 2021-11-20 15:24:54.946, END $$; 2021-11-20 15:24:54.947,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.947, BEGIN 2021-11-20 15:24:54.947, BEGIN 2021-11-20 15:24:54.947, ALTER TABLE instance_relationship 2021-11-20 15:24:54.947, ADD CONSTRAINT instanceRelationshipTypeId_instance_relationship_type_fkey 2021-11-20 15:24:54.947, FOREIGN KEY (instanceRelationshipTypeId) REFERENCES instance_relationship_type; 2021-11-20 15:24:54.947, EXCEPTION 2021-11-20 15:24:54.947, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:54.947, END; 2021-11-20 15:24:54.947, END $$; 2021-11-20 15:24:54.947,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_relationship_instanceRelationshipTypeId_idx ON fs00001046_mod_inventory_storage.instance_relationship (instanceRelationshipTypeId); 2021-11-20 15:24:54.947,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_relationship_instancerelationshiptypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.947,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_relationship_instanceRelationshipTypeId_idx ON fs00001046_mod_inventory_storage.instance_relationship (instanceRelationshipTypeId); 2021-11-20 15:24:54.947,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('instance_relationship'); 2021-11-20 15:24:54.948,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('instance_relationship'); 2021-11-20 15:24:54.948,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_instance_relationship_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.948, BEGIN 2021-11-20 15:24:54.948, NEW.superInstanceId = (NEW.jsonb->>'superInstanceId'); 2021-11-20 15:24:54.948, NEW.subInstanceId = (NEW.jsonb->>'subInstanceId'); 2021-11-20 15:24:54.948, NEW.instanceRelationshipTypeId = (NEW.jsonb->>'instanceRelationshipTypeId'); 2021-11-20 15:24:54.948, RETURN NEW; 2021-11-20 15:24:54.948, END; 2021-11-20 15:24:54.948, $$ language 'plpgsql'; 2021-11-20 15:24:54.948,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_instance_relationship_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.948, BEGIN 2021-11-20 15:24:54.948, NEW.superInstanceId = (NEW.jsonb->>'superInstanceId'); 2021-11-20 15:24:54.948, NEW.subInstanceId = (NEW.jsonb->>'subInstanceId'); 2021-11-20 15:24:54.948, NEW.instanceRelationshipTypeId = (NEW.jsonb->>'instanceRelationshipTypeId'); 2021-11-20 15:24:54.948, RETURN NEW; 2021-11-20 15:24:54.948, END; 2021-11-20 15:24:54.948, $$ language 'plpgsql'; 2021-11-20 15:24:54.948,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_relationship_references ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.949,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_relationship_references ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.949,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_instance_relationship_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_instance_relationship_references(); 2021-11-20 15:24:54.949,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_instance_relationship_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_instance_relationship_references(); 2021-11-20 15:24:54.949,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:54.949, DECLARE 2021-11-20 15:24:54.949, version TEXT; 2021-11-20 15:24:54.949, i INT; 2021-11-20 15:24:54.949, BEGIN 2021-11-20 15:24:54.949, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.949, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.949, RETURN; 2021-11-20 15:24:54.949, END IF; 2021-11-20 15:24:54.949, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.949, EXECUTE 'ALTER TABLE instance_relationship DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.949, || 'superInstanceId_instance_fkey' || i; 2021-11-20 15:24:54.949, END LOOP; 2021-11-20 15:24:54.949, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.949, EXECUTE 'ALTER TABLE instance_relationship DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.949, || 'subInstanceId_instance_fkey' || i; 2021-11-20 15:24:54.949, END LOOP; 2021-11-20 15:24:54.949, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.949, EXECUTE 'ALTER TABLE instance_relationship DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.949, || 'instanceRelationshipTypeId_instance_relationship_type_fkey' || i; 2021-11-20 15:24:54.949, END LOOP; 2021-11-20 15:24:54.949, END $$; 2021-11-20 15:24:54.950,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:54.950, DECLARE 2021-11-20 15:24:54.950, version TEXT; 2021-11-20 15:24:54.950, i INT; 2021-11-20 15:24:54.950, BEGIN 2021-11-20 15:24:54.950, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:54.950, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:54.950, RETURN; 2021-11-20 15:24:54.950, END IF; 2021-11-20 15:24:54.950, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.950, EXECUTE 'ALTER TABLE instance_relationship DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.950, || 'superInstanceId_instance_fkey' || i; 2021-11-20 15:24:54.950, END LOOP; 2021-11-20 15:24:54.950, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.950, EXECUTE 'ALTER TABLE instance_relationship DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.950, || 'subInstanceId_instance_fkey' || i; 2021-11-20 15:24:54.950, END LOOP; 2021-11-20 15:24:54.950, FOR i IN 1..50 LOOP 2021-11-20 15:24:54.950, EXECUTE 'ALTER TABLE instance_relationship DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:54.950, || 'instanceRelationshipTypeId_instance_relationship_type_fkey' || i; 2021-11-20 15:24:54.950, END LOOP; 2021-11-20 15:24:54.950, END $$; 2021-11-20 15:24:54.950,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_relationship_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.950,DECLARE 2021-11-20 15:24:54.950, input text; 2021-11-20 15:24:54.950, createdDate timestamp; 2021-11-20 15:24:54.950,BEGIN 2021-11-20 15:24:54.950, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.950, IF input IS NULL THEN 2021-11-20 15:24:54.950, RETURN NEW; 2021-11-20 15:24:54.950, END IF; 2021-11-20 15:24:54.950, -- time stamp without time zone? 2021-11-20 15:24:54.950, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.950," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.950, createdDate = input::timestamp; 2021-11-20 15:24:54.950, ELSE 2021-11-20 15:24:54.950, -- createdDate has a time zone string 2021-11-20 15:24:54.950," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.950, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.950, END IF; 2021-11-20 15:24:54.950," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.950, NEW.creation_date = createdDate; 2021-11-20 15:24:54.950, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.950, RETURN NEW; 2021-11-20 15:24:54.950,END; 2021-11-20 15:24:54.950,$$ language 'plpgsql'; 2021-11-20 15:24:54.951,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_relationship_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.951,DECLARE 2021-11-20 15:24:54.951, input text; 2021-11-20 15:24:54.951, createdDate timestamp; 2021-11-20 15:24:54.951,BEGIN 2021-11-20 15:24:54.951, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.951, IF input IS NULL THEN 2021-11-20 15:24:54.951, RETURN NEW; 2021-11-20 15:24:54.951, END IF; 2021-11-20 15:24:54.951, -- time stamp without time zone? 2021-11-20 15:24:54.951, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.951," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.951, createdDate = input::timestamp; 2021-11-20 15:24:54.951, ELSE 2021-11-20 15:24:54.951, -- createdDate has a time zone string 2021-11-20 15:24:54.951," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.951, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.951, END IF; 2021-11-20 15:24:54.951," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.951, NEW.creation_date = createdDate; 2021-11-20 15:24:54.951, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.951, RETURN NEW; 2021-11-20 15:24:54.951,END; 2021-11-20 15:24:54.951,$$ language 'plpgsql'; 2021-11-20 15:24:54.951,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_relationship_md_trigger ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.951,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_relationship_md_trigger ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.951,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_relationship_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_relationship_set_md(); 2021-11-20 15:24:54.952,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_relationship_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_relationship_set_md(); 2021-11-20 15:24:54.952,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_relationship_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.952,BEGIN 2021-11-20 15:24:54.952, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.952, RETURN NEW; 2021-11-20 15:24:54.952, end if; 2021-11-20 15:24:54.952," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.952, if NEW.created_by IS NULL then 2021-11-20 15:24:54.952," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.952, else 2021-11-20 15:24:54.952," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.952, end if; 2021-11-20 15:24:54.952, RETURN NEW; 2021-11-20 15:24:54.952,END; 2021-11-20 15:24:54.952,$$ language 'plpgsql'; 2021-11-20 15:24:54.952,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_relationship_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.952,BEGIN 2021-11-20 15:24:54.952, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.952, RETURN NEW; 2021-11-20 15:24:54.952, end if; 2021-11-20 15:24:54.952," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.952, if NEW.created_by IS NULL then 2021-11-20 15:24:54.952," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.952, else 2021-11-20 15:24:54.952," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.952, end if; 2021-11-20 15:24:54.952, RETURN NEW; 2021-11-20 15:24:54.952,END; 2021-11-20 15:24:54.952,$$ language 'plpgsql'; 2021-11-20 15:24:54.952,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_relationship_md_json_trigger ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.953,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_relationship_md_json_trigger ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.953,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_relationship_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_relationship_md_json(); 2021-11-20 15:24:54.953,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_relationship_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_relationship FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_relationship_md_json(); 2021-11-20 15:24:54.953,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_relationship_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.954,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_relationship_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_relationship"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.954,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_relationship_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_relationship CASCADE; 2021-11-20 15:24:54.954,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_relationship_set_ol_version() CASCADE; 2021-11-20 15:24:54.955,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.955,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_relationship_set_ol_version() CASCADE; 2021-11-20 15:24:54.955,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_source_marc ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.955,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_source_marc"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.955,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_source_marc ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.955,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_source_marc ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.956,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_source_marc"" for relation ""fs00001046_mod_inventory_storage.instance_source_marc"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.956,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_source_marc ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.956,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.956,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.957,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.957,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.957,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_source_marc ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.958,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""instance_source_marc"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.958,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""instance_source_marc"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.958,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_source_marc ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.958,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_source_marc_references ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.959,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_instance_source_marc_references"" for relation ""fs00001046_mod_inventory_storage.instance_source_marc"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.959,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_source_marc_references ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.959,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_source_marc_references(); 2021-11-20 15:24:54.959,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_instance_source_marc_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.959,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_source_marc_references(); 2021-11-20 15:24:54.959,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_source_marc_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.959,DECLARE 2021-11-20 15:24:54.959, input text; 2021-11-20 15:24:54.959, createdDate timestamp; 2021-11-20 15:24:54.959,BEGIN 2021-11-20 15:24:54.959, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.959, IF input IS NULL THEN 2021-11-20 15:24:54.959, RETURN NEW; 2021-11-20 15:24:54.959, END IF; 2021-11-20 15:24:54.959, -- time stamp without time zone? 2021-11-20 15:24:54.959, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.959," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.959, createdDate = input::timestamp; 2021-11-20 15:24:54.959, ELSE 2021-11-20 15:24:54.959, -- createdDate has a time zone string 2021-11-20 15:24:54.959," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.959, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.959, END IF; 2021-11-20 15:24:54.959," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.959, NEW.creation_date = createdDate; 2021-11-20 15:24:54.959, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.959, RETURN NEW; 2021-11-20 15:24:54.959,END; 2021-11-20 15:24:54.959,$$ language 'plpgsql'; 2021-11-20 15:24:54.960,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_source_marc_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.960,DECLARE 2021-11-20 15:24:54.960, input text; 2021-11-20 15:24:54.960, createdDate timestamp; 2021-11-20 15:24:54.960,BEGIN 2021-11-20 15:24:54.960, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.960, IF input IS NULL THEN 2021-11-20 15:24:54.960, RETURN NEW; 2021-11-20 15:24:54.960, END IF; 2021-11-20 15:24:54.960, -- time stamp without time zone? 2021-11-20 15:24:54.960, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.960," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.960, createdDate = input::timestamp; 2021-11-20 15:24:54.960, ELSE 2021-11-20 15:24:54.960, -- createdDate has a time zone string 2021-11-20 15:24:54.960," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.960, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.960, END IF; 2021-11-20 15:24:54.960," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.960, NEW.creation_date = createdDate; 2021-11-20 15:24:54.960, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.960, RETURN NEW; 2021-11-20 15:24:54.960,END; 2021-11-20 15:24:54.960,$$ language 'plpgsql'; 2021-11-20 15:24:54.960,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_source_marc_md_trigger ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.960,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_source_marc_md_trigger ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.961,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_source_marc_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_source_marc_set_md(); 2021-11-20 15:24:54.961,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_source_marc_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_source_marc_set_md(); 2021-11-20 15:24:54.961,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_source_marc_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.961,BEGIN 2021-11-20 15:24:54.961, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.961, RETURN NEW; 2021-11-20 15:24:54.961, end if; 2021-11-20 15:24:54.961," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.961, if NEW.created_by IS NULL then 2021-11-20 15:24:54.961," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.961, else 2021-11-20 15:24:54.961," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.961, end if; 2021-11-20 15:24:54.961, RETURN NEW; 2021-11-20 15:24:54.961,END; 2021-11-20 15:24:54.961,$$ language 'plpgsql'; 2021-11-20 15:24:54.962,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_source_marc_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.962,BEGIN 2021-11-20 15:24:54.962, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.962, RETURN NEW; 2021-11-20 15:24:54.962, end if; 2021-11-20 15:24:54.962," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.962, if NEW.created_by IS NULL then 2021-11-20 15:24:54.962," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.962, else 2021-11-20 15:24:54.962," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.962, end if; 2021-11-20 15:24:54.962, RETURN NEW; 2021-11-20 15:24:54.962,END; 2021-11-20 15:24:54.962,$$ language 'plpgsql'; 2021-11-20 15:24:54.962,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_source_marc_md_json_trigger ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.962,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_source_marc_md_json_trigger ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.962,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_source_marc_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_source_marc_md_json(); 2021-11-20 15:24:54.963,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_source_marc_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_source_marc_md_json(); 2021-11-20 15:24:54.963,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_source_marc_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.963,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_source_marc_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_source_marc"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.963,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_source_marc_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.963,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_source_marc_set_ol_version() CASCADE; 2021-11-20 15:24:54.964,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_source_marc_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.964,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_source_marc_set_ol_version() CASCADE; 2021-11-20 15:24:54.964,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_source_marc ADD FOREIGN KEY (id) REFERENCES fs00001046_mod_inventory_storage.instance; 2021-11-20 15:24:54.969,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_source_marc ADD FOREIGN KEY (id) REFERENCES fs00001046_mod_inventory_storage.instance; 2021-11-20 15:24:54.969,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_sourceRecordFormat() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.969, BEGIN 2021-11-20 15:24:54.969, CASE TG_OP 2021-11-20 15:24:54.969, WHEN 'INSERT' THEN 2021-11-20 15:24:54.969, -- a newly inserted instance cannot have a source record because of foreign key relationship 2021-11-20 15:24:54.969, NEW.jsonb := NEW.jsonb - 'sourceRecordFormat'; 2021-11-20 15:24:54.969, ELSE 2021-11-20 15:24:54.969, NEW.jsonb := CASE (SELECT count(*) FROM fs00001046_mod_inventory_storage.instance_source_marc WHERE id=NEW.id) 2021-11-20 15:24:54.969, WHEN 0 THEN NEW.jsonb - 'sourceRecordFormat' 2021-11-20 15:24:54.969," ELSE jsonb_set(NEW.jsonb, '{sourceRecordFormat}', '""MARC-JSON""')" 2021-11-20 15:24:54.969, END; 2021-11-20 15:24:54.969, END CASE; 2021-11-20 15:24:54.969, RETURN NEW; 2021-11-20 15:24:54.969, END; 2021-11-20 15:24:54.969, $$ language 'plpgsql'; 2021-11-20 15:24:54.969,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_sourceRecordFormat() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.969, BEGIN 2021-11-20 15:24:54.969, CASE TG_OP 2021-11-20 15:24:54.969, WHEN 'INSERT' THEN 2021-11-20 15:24:54.969, -- a newly inserted instance cannot have a source record because of foreign key relationship 2021-11-20 15:24:54.969, NEW.jsonb := NEW.jsonb - 'sourceRecordFormat'; 2021-11-20 15:24:54.969, ELSE 2021-11-20 15:24:54.969, NEW.jsonb := CASE (SELECT count(*) FROM fs00001046_mod_inventory_storage.instance_source_marc WHERE id=NEW.id) 2021-11-20 15:24:54.969, WHEN 0 THEN NEW.jsonb - 'sourceRecordFormat' 2021-11-20 15:24:54.969," ELSE jsonb_set(NEW.jsonb, '{sourceRecordFormat}', '""MARC-JSON""')" 2021-11-20 15:24:54.969, END; 2021-11-20 15:24:54.969, END CASE; 2021-11-20 15:24:54.969, RETURN NEW; 2021-11-20 15:24:54.969, END; 2021-11-20 15:24:54.969, $$ language 'plpgsql'; 2021-11-20 15:24:54.969,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_sourceRecordFormat ON fs00001046_mod_inventory_storage.instance CASCADE; 2021-11-20 15:24:54.970,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_sourceRecordFormat ON fs00001046_mod_inventory_storage.instance CASCADE; 2021-11-20 15:24:54.970,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_sourceRecordFormat BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_sourceRecordFormat(); 2021-11-20 15:24:54.970,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_sourceRecordFormat BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_sourceRecordFormat(); 2021-11-20 15:24:54.970,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_instance_source_marc() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.970, BEGIN 2021-11-20 15:24:54.970, IF (TG_OP = 'DELETE') THEN 2021-11-20 15:24:54.970, UPDATE fs00001046_mod_inventory_storage.instance 2021-11-20 15:24:54.970, SET jsonb = jsonb - 'sourceRecordFormat' 2021-11-20 15:24:54.970, WHERE id = OLD.id; 2021-11-20 15:24:54.970, ELSE 2021-11-20 15:24:54.970, UPDATE fs00001046_mod_inventory_storage.instance 2021-11-20 15:24:54.970," SET jsonb = jsonb_set(jsonb, '{sourceRecordFormat}', '""MARC-JSON""')" 2021-11-20 15:24:54.970, WHERE id = NEW.id; 2021-11-20 15:24:54.970, END IF; 2021-11-20 15:24:54.970, RETURN NULL; 2021-11-20 15:24:54.970, END; 2021-11-20 15:24:54.970, $$ language 'plpgsql'; 2021-11-20 15:24:54.971,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_instance_source_marc() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.971, BEGIN 2021-11-20 15:24:54.971, IF (TG_OP = 'DELETE') THEN 2021-11-20 15:24:54.971, UPDATE fs00001046_mod_inventory_storage.instance 2021-11-20 15:24:54.971, SET jsonb = jsonb - 'sourceRecordFormat' 2021-11-20 15:24:54.971, WHERE id = OLD.id; 2021-11-20 15:24:54.971, ELSE 2021-11-20 15:24:54.971, UPDATE fs00001046_mod_inventory_storage.instance 2021-11-20 15:24:54.971," SET jsonb = jsonb_set(jsonb, '{sourceRecordFormat}', '""MARC-JSON""')" 2021-11-20 15:24:54.971, WHERE id = NEW.id; 2021-11-20 15:24:54.971, END IF; 2021-11-20 15:24:54.971, RETURN NULL; 2021-11-20 15:24:54.971, END; 2021-11-20 15:24:54.971, $$ language 'plpgsql'; 2021-11-20 15:24:54.971,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_source_marc ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.972,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_source_marc ON fs00001046_mod_inventory_storage.instance_source_marc CASCADE; 2021-11-20 15:24:54.972,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_instance_source_marc AFTER DELETE OR INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_instance_source_marc(); 2021-11-20 15:24:54.972,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_instance_source_marc AFTER DELETE OR INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_source_marc FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_instance_source_marc(); 2021-11-20 15:24:54.972,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.ill_policy ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.973,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""ill_policy"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.973,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.ill_policy ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.973,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_ill_policy ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.973,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_ill_policy"" for relation ""fs00001046_mod_inventory_storage.ill_policy"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.973,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_ill_policy ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.973,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.974,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.974,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.ill_policy FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.975,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.ill_policy FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.975,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.ill_policy ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.975,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""ill_policy"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.975,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""ill_policy"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.976,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.ill_policy ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.976,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.976, BEGIN 2021-11-20 15:24:54.976, PERFORM rmb_internal_index( 2021-11-20 15:24:54.976," 'ill_policy', 'ill_policy_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.976, 'CREATE UNIQUE INDEX IF NOT EXISTS ill_policy_name_idx_unique ON fs00001046_mod_inventory_storage.ill_policy ' 2021-11-20 15:24:54.976, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.976, ); 2021-11-20 15:24:54.976, END $do$; 2021-11-20 15:24:54.976,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.976, BEGIN 2021-11-20 15:24:54.976, PERFORM rmb_internal_index( 2021-11-20 15:24:54.976," 'ill_policy', 'ill_policy_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.976, 'CREATE UNIQUE INDEX IF NOT EXISTS ill_policy_name_idx_unique ON fs00001046_mod_inventory_storage.ill_policy ' 2021-11-20 15:24:54.976, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.976, ); 2021-11-20 15:24:54.976, END $do$; 2021-11-20 15:24:54.976,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_ill_policy_references ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.977,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_ill_policy_references"" for relation ""fs00001046_mod_inventory_storage.ill_policy"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.977,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_ill_policy_references ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.977,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_ill_policy_references(); 2021-11-20 15:24:54.977,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_ill_policy_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.977,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_ill_policy_references(); 2021-11-20 15:24:54.978,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.ill_policy_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.978,DECLARE 2021-11-20 15:24:54.978, input text; 2021-11-20 15:24:54.978, createdDate timestamp; 2021-11-20 15:24:54.978,BEGIN 2021-11-20 15:24:54.978, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.978, IF input IS NULL THEN 2021-11-20 15:24:54.978, RETURN NEW; 2021-11-20 15:24:54.978, END IF; 2021-11-20 15:24:54.978, -- time stamp without time zone? 2021-11-20 15:24:54.978, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.978," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.978, createdDate = input::timestamp; 2021-11-20 15:24:54.978, ELSE 2021-11-20 15:24:54.978, -- createdDate has a time zone string 2021-11-20 15:24:54.978," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.978, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.978, END IF; 2021-11-20 15:24:54.978," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.978, NEW.creation_date = createdDate; 2021-11-20 15:24:54.978, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.978, RETURN NEW; 2021-11-20 15:24:54.978,END; 2021-11-20 15:24:54.978,$$ language 'plpgsql'; 2021-11-20 15:24:54.978,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.ill_policy_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.978,DECLARE 2021-11-20 15:24:54.978, input text; 2021-11-20 15:24:54.978, createdDate timestamp; 2021-11-20 15:24:54.978,BEGIN 2021-11-20 15:24:54.978, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.978, IF input IS NULL THEN 2021-11-20 15:24:54.978, RETURN NEW; 2021-11-20 15:24:54.978, END IF; 2021-11-20 15:24:54.978, -- time stamp without time zone? 2021-11-20 15:24:54.978, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.978," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.978, createdDate = input::timestamp; 2021-11-20 15:24:54.978, ELSE 2021-11-20 15:24:54.978, -- createdDate has a time zone string 2021-11-20 15:24:54.978," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.978, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.978, END IF; 2021-11-20 15:24:54.978," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.978, NEW.creation_date = createdDate; 2021-11-20 15:24:54.978, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.978, RETURN NEW; 2021-11-20 15:24:54.978,END; 2021-11-20 15:24:54.978,$$ language 'plpgsql'; 2021-11-20 15:24:54.978,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_ill_policy_md_trigger ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.979,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_ill_policy_md_trigger ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.979,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_ill_policy_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.ill_policy FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.ill_policy_set_md(); 2021-11-20 15:24:54.979,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_ill_policy_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.ill_policy FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.ill_policy_set_md(); 2021-11-20 15:24:54.979,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_ill_policy_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.979,BEGIN 2021-11-20 15:24:54.979, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.979, RETURN NEW; 2021-11-20 15:24:54.979, end if; 2021-11-20 15:24:54.979," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.979, if NEW.created_by IS NULL then 2021-11-20 15:24:54.979," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.979, else 2021-11-20 15:24:54.979," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.979, end if; 2021-11-20 15:24:54.979, RETURN NEW; 2021-11-20 15:24:54.979,END; 2021-11-20 15:24:54.979,$$ language 'plpgsql'; 2021-11-20 15:24:54.980,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_ill_policy_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.980,BEGIN 2021-11-20 15:24:54.980, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.980, RETURN NEW; 2021-11-20 15:24:54.980, end if; 2021-11-20 15:24:54.980," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.980, if NEW.created_by IS NULL then 2021-11-20 15:24:54.980," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.980, else 2021-11-20 15:24:54.980," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.980, end if; 2021-11-20 15:24:54.980, RETURN NEW; 2021-11-20 15:24:54.980,END; 2021-11-20 15:24:54.980,$$ language 'plpgsql'; 2021-11-20 15:24:54.980,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_ill_policy_md_json_trigger ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.980,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_ill_policy_md_json_trigger ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.980,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_ill_policy_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.ill_policy FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_ill_policy_md_json(); 2021-11-20 15:24:54.981,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_ill_policy_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.ill_policy FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_ill_policy_md_json(); 2021-11-20 15:24:54.981,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_ill_policy_ol_version_trigger ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.981,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_ill_policy_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.ill_policy"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.982,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_ill_policy_ol_version_trigger ON fs00001046_mod_inventory_storage.ill_policy CASCADE; 2021-11-20 15:24:54.982,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.ill_policy_set_ol_version() CASCADE; 2021-11-20 15:24:54.982,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.ill_policy_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.982,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.ill_policy_set_ol_version() CASCADE; 2021-11-20 15:24:54.982,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.call_number_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.983,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""call_number_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.983,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.call_number_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.983,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_call_number_type ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.983,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_call_number_type"" for relation ""fs00001046_mod_inventory_storage.call_number_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.983,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_call_number_type ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.983,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.984,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.984,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.call_number_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.985,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.call_number_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.985,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.call_number_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.985,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""call_number_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.986,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""call_number_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.986,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.call_number_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.986,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.986, BEGIN 2021-11-20 15:24:54.986, PERFORM rmb_internal_index( 2021-11-20 15:24:54.986," 'call_number_type', 'call_number_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.986, 'CREATE UNIQUE INDEX IF NOT EXISTS call_number_type_name_idx_unique ON fs00001046_mod_inventory_storage.call_number_type ' 2021-11-20 15:24:54.986, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.986, ); 2021-11-20 15:24:54.986, END $do$; 2021-11-20 15:24:54.986,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.986, BEGIN 2021-11-20 15:24:54.986, PERFORM rmb_internal_index( 2021-11-20 15:24:54.986," 'call_number_type', 'call_number_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.986, 'CREATE UNIQUE INDEX IF NOT EXISTS call_number_type_name_idx_unique ON fs00001046_mod_inventory_storage.call_number_type ' 2021-11-20 15:24:54.986, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.986, ); 2021-11-20 15:24:54.986, END $do$; 2021-11-20 15:24:54.986,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_call_number_type_references ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.987,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_call_number_type_references"" for relation ""fs00001046_mod_inventory_storage.call_number_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.987,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_call_number_type_references ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.987,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_call_number_type_references(); 2021-11-20 15:24:54.988,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_call_number_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.988,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_call_number_type_references(); 2021-11-20 15:24:54.988,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.call_number_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.988,DECLARE 2021-11-20 15:24:54.988, input text; 2021-11-20 15:24:54.988, createdDate timestamp; 2021-11-20 15:24:54.988,BEGIN 2021-11-20 15:24:54.988, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.988, IF input IS NULL THEN 2021-11-20 15:24:54.988, RETURN NEW; 2021-11-20 15:24:54.988, END IF; 2021-11-20 15:24:54.988, -- time stamp without time zone? 2021-11-20 15:24:54.988, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.988," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.988, createdDate = input::timestamp; 2021-11-20 15:24:54.988, ELSE 2021-11-20 15:24:54.988, -- createdDate has a time zone string 2021-11-20 15:24:54.988," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.988, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.988, END IF; 2021-11-20 15:24:54.988," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.988, NEW.creation_date = createdDate; 2021-11-20 15:24:54.988, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.988, RETURN NEW; 2021-11-20 15:24:54.988,END; 2021-11-20 15:24:54.988,$$ language 'plpgsql'; 2021-11-20 15:24:54.989,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.call_number_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.989,DECLARE 2021-11-20 15:24:54.989, input text; 2021-11-20 15:24:54.989, createdDate timestamp; 2021-11-20 15:24:54.989,BEGIN 2021-11-20 15:24:54.989, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:54.989, IF input IS NULL THEN 2021-11-20 15:24:54.989, RETURN NEW; 2021-11-20 15:24:54.989, END IF; 2021-11-20 15:24:54.989, -- time stamp without time zone? 2021-11-20 15:24:54.989, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:54.989," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:54.989, createdDate = input::timestamp; 2021-11-20 15:24:54.989, ELSE 2021-11-20 15:24:54.989, -- createdDate has a time zone string 2021-11-20 15:24:54.989," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:54.989, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:54.989, END IF; 2021-11-20 15:24:54.989," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:54.989, NEW.creation_date = createdDate; 2021-11-20 15:24:54.989, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:54.989, RETURN NEW; 2021-11-20 15:24:54.989,END; 2021-11-20 15:24:54.989,$$ language 'plpgsql'; 2021-11-20 15:24:54.989,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_call_number_type_md_trigger ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.990,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_call_number_type_md_trigger ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.990,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_call_number_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.call_number_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.call_number_type_set_md(); 2021-11-20 15:24:54.990,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_call_number_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.call_number_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.call_number_type_set_md(); 2021-11-20 15:24:54.990,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_call_number_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.990,BEGIN 2021-11-20 15:24:54.990, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.990, RETURN NEW; 2021-11-20 15:24:54.990, end if; 2021-11-20 15:24:54.990," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.990, if NEW.created_by IS NULL then 2021-11-20 15:24:54.990," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.990, else 2021-11-20 15:24:54.990," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.990, end if; 2021-11-20 15:24:54.990, RETURN NEW; 2021-11-20 15:24:54.990,END; 2021-11-20 15:24:54.990,$$ language 'plpgsql'; 2021-11-20 15:24:54.991,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_call_number_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:54.991,BEGIN 2021-11-20 15:24:54.991, if NEW.creation_date IS NULL then 2021-11-20 15:24:54.991, RETURN NEW; 2021-11-20 15:24:54.991, end if; 2021-11-20 15:24:54.991," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:54.991, if NEW.created_by IS NULL then 2021-11-20 15:24:54.991," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:54.991, else 2021-11-20 15:24:54.991," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:54.991, end if; 2021-11-20 15:24:54.991, RETURN NEW; 2021-11-20 15:24:54.991,END; 2021-11-20 15:24:54.991,$$ language 'plpgsql'; 2021-11-20 15:24:54.991,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_call_number_type_md_json_trigger ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.992,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_call_number_type_md_json_trigger ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.992,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_call_number_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.call_number_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_call_number_type_md_json(); 2021-11-20 15:24:54.992,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_call_number_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.call_number_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_call_number_type_md_json(); 2021-11-20 15:24:54.992,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_call_number_type_ol_version_trigger ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.993,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_call_number_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.call_number_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.993,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_call_number_type_ol_version_trigger ON fs00001046_mod_inventory_storage.call_number_type CASCADE; 2021-11-20 15:24:54.993,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.call_number_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.994,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.call_number_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.994,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.call_number_type_set_ol_version() CASCADE; 2021-11-20 15:24:54.994,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.holdings_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.994,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.994,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.holdings_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:54.994,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_holdings_type ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:54.995,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_holdings_type"" for relation ""fs00001046_mod_inventory_storage.holdings_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.995,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_holdings_type ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:54.995,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:54.996,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:54.996,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.997,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:54.997,"15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.997,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""holdings_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.998,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""holdings_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.998,"15:24:54 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:54.998,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:54.998, BEGIN 2021-11-20 15:24:54.998, PERFORM rmb_internal_index( 2021-11-20 15:24:54.998," 'holdings_type', 'holdings_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.998, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_type_name_idx_unique ON fs00001046_mod_inventory_storage.holdings_type ' 2021-11-20 15:24:54.998, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.998, ); 2021-11-20 15:24:54.998, END $do$; 2021-11-20 15:24:54.999,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:54.999, BEGIN 2021-11-20 15:24:54.999, PERFORM rmb_internal_index( 2021-11-20 15:24:54.999," 'holdings_type', 'holdings_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:54.999, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_type_name_idx_unique ON fs00001046_mod_inventory_storage.holdings_type ' 2021-11-20 15:24:54.999, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:54.999, ); 2021-11-20 15:24:54.999, END $do$; 2021-11-20 15:24:54.999,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_holdings_type_references ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:54.999,"15:24:54 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_holdings_type_references"" for relation ""fs00001046_mod_inventory_storage.holdings_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:54.999,15:24:54 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_holdings_type_references ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:54.999,15:24:54 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_holdings_type_references(); 2021-11-20 15:24:55.000,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_holdings_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.000,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_holdings_type_references(); 2021-11-20 15:24:55.000,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.000,DECLARE 2021-11-20 15:24:55.000, input text; 2021-11-20 15:24:55.000, createdDate timestamp; 2021-11-20 15:24:55.000,BEGIN 2021-11-20 15:24:55.000, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.000, IF input IS NULL THEN 2021-11-20 15:24:55.000, RETURN NEW; 2021-11-20 15:24:55.000, END IF; 2021-11-20 15:24:55.000, -- time stamp without time zone? 2021-11-20 15:24:55.000, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.000," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.000, createdDate = input::timestamp; 2021-11-20 15:24:55.000, ELSE 2021-11-20 15:24:55.000, -- createdDate has a time zone string 2021-11-20 15:24:55.000," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.000, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.000, END IF; 2021-11-20 15:24:55.000," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.000, NEW.creation_date = createdDate; 2021-11-20 15:24:55.000, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.000, RETURN NEW; 2021-11-20 15:24:55.000,END; 2021-11-20 15:24:55.000,$$ language 'plpgsql'; 2021-11-20 15:24:55.001,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.001,DECLARE 2021-11-20 15:24:55.001, input text; 2021-11-20 15:24:55.001, createdDate timestamp; 2021-11-20 15:24:55.001,BEGIN 2021-11-20 15:24:55.001, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.001, IF input IS NULL THEN 2021-11-20 15:24:55.001, RETURN NEW; 2021-11-20 15:24:55.001, END IF; 2021-11-20 15:24:55.001, -- time stamp without time zone? 2021-11-20 15:24:55.001, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.001," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.001, createdDate = input::timestamp; 2021-11-20 15:24:55.001, ELSE 2021-11-20 15:24:55.001, -- createdDate has a time zone string 2021-11-20 15:24:55.001," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.001, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.001, END IF; 2021-11-20 15:24:55.001," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.001, NEW.creation_date = createdDate; 2021-11-20 15:24:55.001, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.001, RETURN NEW; 2021-11-20 15:24:55.001,END; 2021-11-20 15:24:55.001,$$ language 'plpgsql'; 2021-11-20 15:24:55.001,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_type_md_trigger ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:55.001,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_type_md_trigger ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:55.001,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.holdings_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_type_set_md(); 2021-11-20 15:24:55.002,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.holdings_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_type_set_md(); 2021-11-20 15:24:55.002,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_holdings_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.002,BEGIN 2021-11-20 15:24:55.002, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.002, RETURN NEW; 2021-11-20 15:24:55.002, end if; 2021-11-20 15:24:55.002," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.002, if NEW.created_by IS NULL then 2021-11-20 15:24:55.002," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.002, else 2021-11-20 15:24:55.002," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.002, end if; 2021-11-20 15:24:55.002, RETURN NEW; 2021-11-20 15:24:55.002,END; 2021-11-20 15:24:55.002,$$ language 'plpgsql'; 2021-11-20 15:24:55.002,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_holdings_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.002,BEGIN 2021-11-20 15:24:55.002, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.002, RETURN NEW; 2021-11-20 15:24:55.002, end if; 2021-11-20 15:24:55.002," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.002, if NEW.created_by IS NULL then 2021-11-20 15:24:55.002," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.002, else 2021-11-20 15:24:55.002," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.002, end if; 2021-11-20 15:24:55.002, RETURN NEW; 2021-11-20 15:24:55.002,END; 2021-11-20 15:24:55.002,$$ language 'plpgsql'; 2021-11-20 15:24:55.002,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_type_md_json_trigger ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:55.003,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_type_md_json_trigger ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:55.003,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.holdings_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_holdings_type_md_json(); 2021-11-20 15:24:55.003,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.holdings_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_holdings_type_md_json(); 2021-11-20 15:24:55.003,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_type_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:55.004,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_holdings_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.holdings_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.004,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_type_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_type CASCADE; 2021-11-20 15:24:55.004,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.holdings_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.004,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.holdings_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.004,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.holdings_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.004,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_note_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.005,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""instance_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.005,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.instance_note_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.005,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_instance_note_type ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.005,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_instance_note_type"" for relation ""fs00001046_mod_inventory_storage.instance_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.005,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_instance_note_type ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.005,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.006,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.006,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.007,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.instance_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.007,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.instance_note_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.008,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""instance_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.008,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""instance_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.008,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.instance_note_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.008,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.008, BEGIN 2021-11-20 15:24:55.008, PERFORM rmb_internal_index( 2021-11-20 15:24:55.008," 'instance_note_type', 'instance_note_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.008, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_note_type_name_idx_unique ON fs00001046_mod_inventory_storage.instance_note_type ' 2021-11-20 15:24:55.008, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.008, ); 2021-11-20 15:24:55.008, END $do$; 2021-11-20 15:24:55.009,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.009, BEGIN 2021-11-20 15:24:55.009, PERFORM rmb_internal_index( 2021-11-20 15:24:55.009," 'instance_note_type', 'instance_note_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.009, 'CREATE UNIQUE INDEX IF NOT EXISTS instance_note_type_name_idx_unique ON fs00001046_mod_inventory_storage.instance_note_type ' 2021-11-20 15:24:55.009, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.009, ); 2021-11-20 15:24:55.009, END $do$; 2021-11-20 15:24:55.009,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_instance_note_type_references ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.009,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_instance_note_type_references"" for relation ""fs00001046_mod_inventory_storage.instance_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.009,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_instance_note_type_references ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.009,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_note_type_references(); 2021-11-20 15:24:55.010,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_instance_note_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.010,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_instance_note_type_references(); 2021-11-20 15:24:55.010,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_note_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.010,DECLARE 2021-11-20 15:24:55.010, input text; 2021-11-20 15:24:55.010, createdDate timestamp; 2021-11-20 15:24:55.010,BEGIN 2021-11-20 15:24:55.010, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.010, IF input IS NULL THEN 2021-11-20 15:24:55.010, RETURN NEW; 2021-11-20 15:24:55.010, END IF; 2021-11-20 15:24:55.010, -- time stamp without time zone? 2021-11-20 15:24:55.010, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.010," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.010, createdDate = input::timestamp; 2021-11-20 15:24:55.010, ELSE 2021-11-20 15:24:55.010, -- createdDate has a time zone string 2021-11-20 15:24:55.010," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.010, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.010, END IF; 2021-11-20 15:24:55.010," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.010, NEW.creation_date = createdDate; 2021-11-20 15:24:55.010, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.010, RETURN NEW; 2021-11-20 15:24:55.010,END; 2021-11-20 15:24:55.010,$$ language 'plpgsql'; 2021-11-20 15:24:55.011,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.instance_note_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.011,DECLARE 2021-11-20 15:24:55.011, input text; 2021-11-20 15:24:55.011, createdDate timestamp; 2021-11-20 15:24:55.011,BEGIN 2021-11-20 15:24:55.011, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.011, IF input IS NULL THEN 2021-11-20 15:24:55.011, RETURN NEW; 2021-11-20 15:24:55.011, END IF; 2021-11-20 15:24:55.011, -- time stamp without time zone? 2021-11-20 15:24:55.011, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.011," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.011, createdDate = input::timestamp; 2021-11-20 15:24:55.011, ELSE 2021-11-20 15:24:55.011, -- createdDate has a time zone string 2021-11-20 15:24:55.011," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.011, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.011, END IF; 2021-11-20 15:24:55.011," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.011, NEW.creation_date = createdDate; 2021-11-20 15:24:55.011, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.011, RETURN NEW; 2021-11-20 15:24:55.011,END; 2021-11-20 15:24:55.011,$$ language 'plpgsql'; 2021-11-20 15:24:55.011,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_note_type_md_trigger ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.011,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_note_type_md_trigger ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.011,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_note_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_note_type_set_md(); 2021-11-20 15:24:55.012,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_note_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.instance_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.instance_note_type_set_md(); 2021-11-20 15:24:55.012,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_note_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.012,BEGIN 2021-11-20 15:24:55.012, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.012, RETURN NEW; 2021-11-20 15:24:55.012, end if; 2021-11-20 15:24:55.012," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.012, if NEW.created_by IS NULL then 2021-11-20 15:24:55.012," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.012, else 2021-11-20 15:24:55.012," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.012, end if; 2021-11-20 15:24:55.012, RETURN NEW; 2021-11-20 15:24:55.012,END; 2021-11-20 15:24:55.012,$$ language 'plpgsql'; 2021-11-20 15:24:55.012,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_instance_note_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.012,BEGIN 2021-11-20 15:24:55.012, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.012, RETURN NEW; 2021-11-20 15:24:55.012, end if; 2021-11-20 15:24:55.012," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.012, if NEW.created_by IS NULL then 2021-11-20 15:24:55.012," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.012, else 2021-11-20 15:24:55.012," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.012, end if; 2021-11-20 15:24:55.012, RETURN NEW; 2021-11-20 15:24:55.012,END; 2021-11-20 15:24:55.012,$$ language 'plpgsql'; 2021-11-20 15:24:55.012,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_note_type_md_json_trigger ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.013,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_note_type_md_json_trigger ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.013,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_instance_note_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_note_type_md_json(); 2021-11-20 15:24:55.013,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_instance_note_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.instance_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_instance_note_type_md_json(); 2021-11-20 15:24:55.014,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_instance_note_type_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.014,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_instance_note_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.instance_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.014,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_instance_note_type_ol_version_trigger ON fs00001046_mod_inventory_storage.instance_note_type CASCADE; 2021-11-20 15:24:55.014,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_note_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.016,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.instance_note_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.016,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.instance_note_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.016,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.holdings_note_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.016,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.016,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.holdings_note_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.016,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_holdings_note_type ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.017,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_holdings_note_type"" for relation ""fs00001046_mod_inventory_storage.holdings_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.017,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_holdings_note_type ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.017,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.018,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.018,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.019,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.019,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_note_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.019,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""holdings_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.019,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""holdings_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.019,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_note_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.019,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.019, BEGIN 2021-11-20 15:24:55.019, PERFORM rmb_internal_index( 2021-11-20 15:24:55.019," 'holdings_note_type', 'holdings_note_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.019, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_note_type_name_idx_unique ON fs00001046_mod_inventory_storage.holdings_note_type ' 2021-11-20 15:24:55.019, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.019, ); 2021-11-20 15:24:55.019, END $do$; 2021-11-20 15:24:55.020,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.020, BEGIN 2021-11-20 15:24:55.020, PERFORM rmb_internal_index( 2021-11-20 15:24:55.020," 'holdings_note_type', 'holdings_note_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.020, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_note_type_name_idx_unique ON fs00001046_mod_inventory_storage.holdings_note_type ' 2021-11-20 15:24:55.020, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.020, ); 2021-11-20 15:24:55.020, END $do$; 2021-11-20 15:24:55.020,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_holdings_note_type_references ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.021,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_holdings_note_type_references"" for relation ""fs00001046_mod_inventory_storage.holdings_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.021,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_holdings_note_type_references ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.021,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_holdings_note_type_references(); 2021-11-20 15:24:55.021,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_holdings_note_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.021,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_holdings_note_type_references(); 2021-11-20 15:24:55.021,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_note_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.021,DECLARE 2021-11-20 15:24:55.021, input text; 2021-11-20 15:24:55.021, createdDate timestamp; 2021-11-20 15:24:55.021,BEGIN 2021-11-20 15:24:55.021, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.021, IF input IS NULL THEN 2021-11-20 15:24:55.021, RETURN NEW; 2021-11-20 15:24:55.021, END IF; 2021-11-20 15:24:55.021, -- time stamp without time zone? 2021-11-20 15:24:55.021, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.021," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.021, createdDate = input::timestamp; 2021-11-20 15:24:55.021, ELSE 2021-11-20 15:24:55.021, -- createdDate has a time zone string 2021-11-20 15:24:55.021," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.021, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.021, END IF; 2021-11-20 15:24:55.021," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.021, NEW.creation_date = createdDate; 2021-11-20 15:24:55.021, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.021, RETURN NEW; 2021-11-20 15:24:55.021,END; 2021-11-20 15:24:55.021,$$ language 'plpgsql'; 2021-11-20 15:24:55.022,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_note_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.022,DECLARE 2021-11-20 15:24:55.022, input text; 2021-11-20 15:24:55.022, createdDate timestamp; 2021-11-20 15:24:55.022,BEGIN 2021-11-20 15:24:55.022, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.022, IF input IS NULL THEN 2021-11-20 15:24:55.022, RETURN NEW; 2021-11-20 15:24:55.022, END IF; 2021-11-20 15:24:55.022, -- time stamp without time zone? 2021-11-20 15:24:55.022, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.022," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.022, createdDate = input::timestamp; 2021-11-20 15:24:55.022, ELSE 2021-11-20 15:24:55.022, -- createdDate has a time zone string 2021-11-20 15:24:55.022," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.022, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.022, END IF; 2021-11-20 15:24:55.022," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.022, NEW.creation_date = createdDate; 2021-11-20 15:24:55.022, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.022, RETURN NEW; 2021-11-20 15:24:55.022,END; 2021-11-20 15:24:55.022,$$ language 'plpgsql'; 2021-11-20 15:24:55.022,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_note_type_md_trigger ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.023,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_note_type_md_trigger ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.023,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_note_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.holdings_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_note_type_set_md(); 2021-11-20 15:24:55.023,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_note_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.holdings_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_note_type_set_md(); 2021-11-20 15:24:55.023,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_holdings_note_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.023,BEGIN 2021-11-20 15:24:55.023, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.023, RETURN NEW; 2021-11-20 15:24:55.023, end if; 2021-11-20 15:24:55.023," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.023, if NEW.created_by IS NULL then 2021-11-20 15:24:55.023," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.023, else 2021-11-20 15:24:55.023," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.023, end if; 2021-11-20 15:24:55.023, RETURN NEW; 2021-11-20 15:24:55.023,END; 2021-11-20 15:24:55.023,$$ language 'plpgsql'; 2021-11-20 15:24:55.024,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_holdings_note_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.024,BEGIN 2021-11-20 15:24:55.024, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.024, RETURN NEW; 2021-11-20 15:24:55.024, end if; 2021-11-20 15:24:55.024," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.024, if NEW.created_by IS NULL then 2021-11-20 15:24:55.024," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.024, else 2021-11-20 15:24:55.024," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.024, end if; 2021-11-20 15:24:55.024, RETURN NEW; 2021-11-20 15:24:55.024,END; 2021-11-20 15:24:55.024,$$ language 'plpgsql'; 2021-11-20 15:24:55.024,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_note_type_md_json_trigger ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.024,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_note_type_md_json_trigger ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.024,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_note_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.holdings_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_holdings_note_type_md_json(); 2021-11-20 15:24:55.025,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_note_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.holdings_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_holdings_note_type_md_json(); 2021-11-20 15:24:55.025,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_note_type_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.025,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_holdings_note_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.holdings_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.026,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_note_type_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_note_type CASCADE; 2021-11-20 15:24:55.026,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.holdings_note_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.026,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.holdings_note_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.026,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.holdings_note_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.026,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.item_note_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.027,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.027,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.item_note_type ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.027,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_item_note_type ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.027,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_item_note_type"" for relation ""fs00001046_mod_inventory_storage.item_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.027,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_item_note_type ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.027,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.028,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.028,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.029,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.029,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item_note_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.030,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""item_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.030,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""item_note_type"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.030,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item_note_type ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.030,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.030, BEGIN 2021-11-20 15:24:55.030, PERFORM rmb_internal_index( 2021-11-20 15:24:55.030," 'item_note_type', 'item_note_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.030, 'CREATE UNIQUE INDEX IF NOT EXISTS item_note_type_name_idx_unique ON fs00001046_mod_inventory_storage.item_note_type ' 2021-11-20 15:24:55.030, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.030, ); 2021-11-20 15:24:55.030, END $do$; 2021-11-20 15:24:55.031,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.031, BEGIN 2021-11-20 15:24:55.031, PERFORM rmb_internal_index( 2021-11-20 15:24:55.031," 'item_note_type', 'item_note_type_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.031, 'CREATE UNIQUE INDEX IF NOT EXISTS item_note_type_name_idx_unique ON fs00001046_mod_inventory_storage.item_note_type ' 2021-11-20 15:24:55.031, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.031, ); 2021-11-20 15:24:55.031, END $do$; 2021-11-20 15:24:55.031,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_item_note_type_references ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.031,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_item_note_type_references"" for relation ""fs00001046_mod_inventory_storage.item_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.031,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_item_note_type_references ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.031,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_item_note_type_references(); 2021-11-20 15:24:55.032,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_item_note_type_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.032,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_item_note_type_references(); 2021-11-20 15:24:55.032,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.item_note_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.032,DECLARE 2021-11-20 15:24:55.032, input text; 2021-11-20 15:24:55.032, createdDate timestamp; 2021-11-20 15:24:55.032,BEGIN 2021-11-20 15:24:55.032, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.032, IF input IS NULL THEN 2021-11-20 15:24:55.032, RETURN NEW; 2021-11-20 15:24:55.032, END IF; 2021-11-20 15:24:55.032, -- time stamp without time zone? 2021-11-20 15:24:55.032, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.032," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.032, createdDate = input::timestamp; 2021-11-20 15:24:55.032, ELSE 2021-11-20 15:24:55.032, -- createdDate has a time zone string 2021-11-20 15:24:55.032," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.032, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.032, END IF; 2021-11-20 15:24:55.032," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.032, NEW.creation_date = createdDate; 2021-11-20 15:24:55.032, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.032, RETURN NEW; 2021-11-20 15:24:55.032,END; 2021-11-20 15:24:55.032,$$ language 'plpgsql'; 2021-11-20 15:24:55.033,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.item_note_type_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.033,DECLARE 2021-11-20 15:24:55.033, input text; 2021-11-20 15:24:55.033, createdDate timestamp; 2021-11-20 15:24:55.033,BEGIN 2021-11-20 15:24:55.033, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.033, IF input IS NULL THEN 2021-11-20 15:24:55.033, RETURN NEW; 2021-11-20 15:24:55.033, END IF; 2021-11-20 15:24:55.033, -- time stamp without time zone? 2021-11-20 15:24:55.033, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.033," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.033, createdDate = input::timestamp; 2021-11-20 15:24:55.033, ELSE 2021-11-20 15:24:55.033, -- createdDate has a time zone string 2021-11-20 15:24:55.033," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.033, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.033, END IF; 2021-11-20 15:24:55.033," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.033, NEW.creation_date = createdDate; 2021-11-20 15:24:55.033, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.033, RETURN NEW; 2021-11-20 15:24:55.033,END; 2021-11-20 15:24:55.033,$$ language 'plpgsql'; 2021-11-20 15:24:55.033,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_note_type_md_trigger ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.033,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_note_type_md_trigger ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.033,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_item_note_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.item_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.item_note_type_set_md(); 2021-11-20 15:24:55.034,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_item_note_type_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.item_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.item_note_type_set_md(); 2021-11-20 15:24:55.034,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_item_note_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.034,BEGIN 2021-11-20 15:24:55.034, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.034, RETURN NEW; 2021-11-20 15:24:55.034, end if; 2021-11-20 15:24:55.034," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.034, if NEW.created_by IS NULL then 2021-11-20 15:24:55.034," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.034, else 2021-11-20 15:24:55.034," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.034, end if; 2021-11-20 15:24:55.034, RETURN NEW; 2021-11-20 15:24:55.034,END; 2021-11-20 15:24:55.034,$$ language 'plpgsql'; 2021-11-20 15:24:55.034,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_item_note_type_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.034,BEGIN 2021-11-20 15:24:55.034, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.034, RETURN NEW; 2021-11-20 15:24:55.034, end if; 2021-11-20 15:24:55.034," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.034, if NEW.created_by IS NULL then 2021-11-20 15:24:55.034," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.034, else 2021-11-20 15:24:55.034," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.034, end if; 2021-11-20 15:24:55.034, RETURN NEW; 2021-11-20 15:24:55.034,END; 2021-11-20 15:24:55.034,$$ language 'plpgsql'; 2021-11-20 15:24:55.034,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_note_type_md_json_trigger ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.035,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_note_type_md_json_trigger ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.035,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_item_note_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.item_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_item_note_type_md_json(); 2021-11-20 15:24:55.035,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_item_note_type_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.item_note_type FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_item_note_type_md_json(); 2021-11-20 15:24:55.035,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_note_type_ol_version_trigger ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.036,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_item_note_type_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.item_note_type"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.036,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_note_type_ol_version_trigger ON fs00001046_mod_inventory_storage.item_note_type CASCADE; 2021-11-20 15:24:55.036,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.item_note_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.036,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.item_note_type_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.036,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.item_note_type_set_ol_version() CASCADE; 2021-11-20 15:24:55.036,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.item_damaged_status ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.037,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_damaged_status"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.037,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.item_damaged_status ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.037,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_item_damaged_status ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.037,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_item_damaged_status"" for relation ""fs00001046_mod_inventory_storage.item_damaged_status"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.038,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_item_damaged_status ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.038,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.038,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.038,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item_damaged_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.039,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item_damaged_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.039,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item_damaged_status ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.040,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""item_damaged_status"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.040,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""item_damaged_status"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.040,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item_damaged_status ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.040,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.040, BEGIN 2021-11-20 15:24:55.040, PERFORM rmb_internal_index( 2021-11-20 15:24:55.040," 'item_damaged_status', 'item_damaged_status_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.040, 'CREATE UNIQUE INDEX IF NOT EXISTS item_damaged_status_name_idx_unique ON fs00001046_mod_inventory_storage.item_damaged_status ' 2021-11-20 15:24:55.040, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.040, ); 2021-11-20 15:24:55.040, END $do$; 2021-11-20 15:24:55.041,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.041, BEGIN 2021-11-20 15:24:55.041, PERFORM rmb_internal_index( 2021-11-20 15:24:55.041," 'item_damaged_status', 'item_damaged_status_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.041, 'CREATE UNIQUE INDEX IF NOT EXISTS item_damaged_status_name_idx_unique ON fs00001046_mod_inventory_storage.item_damaged_status ' 2021-11-20 15:24:55.041, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.041, ); 2021-11-20 15:24:55.041, END $do$; 2021-11-20 15:24:55.041,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_item_damaged_status_references ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.041,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_item_damaged_status_references"" for relation ""fs00001046_mod_inventory_storage.item_damaged_status"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.041,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_item_damaged_status_references ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.041,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_item_damaged_status_references(); 2021-11-20 15:24:55.042,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_item_damaged_status_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.042,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_item_damaged_status_references(); 2021-11-20 15:24:55.042,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.item_damaged_status_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.042,DECLARE 2021-11-20 15:24:55.042, input text; 2021-11-20 15:24:55.042, createdDate timestamp; 2021-11-20 15:24:55.042,BEGIN 2021-11-20 15:24:55.042, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.042, IF input IS NULL THEN 2021-11-20 15:24:55.042, RETURN NEW; 2021-11-20 15:24:55.042, END IF; 2021-11-20 15:24:55.042, -- time stamp without time zone? 2021-11-20 15:24:55.042, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.042," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.042, createdDate = input::timestamp; 2021-11-20 15:24:55.042, ELSE 2021-11-20 15:24:55.042, -- createdDate has a time zone string 2021-11-20 15:24:55.042," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.042, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.042, END IF; 2021-11-20 15:24:55.042," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.042, NEW.creation_date = createdDate; 2021-11-20 15:24:55.042, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.042, RETURN NEW; 2021-11-20 15:24:55.042,END; 2021-11-20 15:24:55.042,$$ language 'plpgsql'; 2021-11-20 15:24:55.043,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.item_damaged_status_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.043,DECLARE 2021-11-20 15:24:55.043, input text; 2021-11-20 15:24:55.043, createdDate timestamp; 2021-11-20 15:24:55.043,BEGIN 2021-11-20 15:24:55.043, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.043, IF input IS NULL THEN 2021-11-20 15:24:55.043, RETURN NEW; 2021-11-20 15:24:55.043, END IF; 2021-11-20 15:24:55.043, -- time stamp without time zone? 2021-11-20 15:24:55.043, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.043," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.043, createdDate = input::timestamp; 2021-11-20 15:24:55.043, ELSE 2021-11-20 15:24:55.043, -- createdDate has a time zone string 2021-11-20 15:24:55.043," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.043, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.043, END IF; 2021-11-20 15:24:55.043," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.043, NEW.creation_date = createdDate; 2021-11-20 15:24:55.043, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.043, RETURN NEW; 2021-11-20 15:24:55.043,END; 2021-11-20 15:24:55.043,$$ language 'plpgsql'; 2021-11-20 15:24:55.043,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_damaged_status_md_trigger ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.043,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_damaged_status_md_trigger ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.043,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_item_damaged_status_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.item_damaged_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.item_damaged_status_set_md(); 2021-11-20 15:24:55.044,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_item_damaged_status_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.item_damaged_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.item_damaged_status_set_md(); 2021-11-20 15:24:55.044,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_item_damaged_status_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.044,BEGIN 2021-11-20 15:24:55.044, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.044, RETURN NEW; 2021-11-20 15:24:55.044, end if; 2021-11-20 15:24:55.044," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.044, if NEW.created_by IS NULL then 2021-11-20 15:24:55.044," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.044, else 2021-11-20 15:24:55.044," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.044, end if; 2021-11-20 15:24:55.044, RETURN NEW; 2021-11-20 15:24:55.044,END; 2021-11-20 15:24:55.044,$$ language 'plpgsql'; 2021-11-20 15:24:55.044,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_item_damaged_status_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.044,BEGIN 2021-11-20 15:24:55.044, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.044, RETURN NEW; 2021-11-20 15:24:55.044, end if; 2021-11-20 15:24:55.044," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.044, if NEW.created_by IS NULL then 2021-11-20 15:24:55.044," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.044, else 2021-11-20 15:24:55.044," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.044, end if; 2021-11-20 15:24:55.044, RETURN NEW; 2021-11-20 15:24:55.044,END; 2021-11-20 15:24:55.044,$$ language 'plpgsql'; 2021-11-20 15:24:55.045,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_damaged_status_md_json_trigger ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.045,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_damaged_status_md_json_trigger ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.045,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_item_damaged_status_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.item_damaged_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_item_damaged_status_md_json(); 2021-11-20 15:24:55.046,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_item_damaged_status_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.item_damaged_status FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_item_damaged_status_md_json(); 2021-11-20 15:24:55.046,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_damaged_status_ol_version_trigger ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.046,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_item_damaged_status_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.item_damaged_status"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.046,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_damaged_status_ol_version_trigger ON fs00001046_mod_inventory_storage.item_damaged_status CASCADE; 2021-11-20 15:24:55.046,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.item_damaged_status_set_ol_version() CASCADE; 2021-11-20 15:24:55.047,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.item_damaged_status_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.047,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.item_damaged_status_set_ol_version() CASCADE; 2021-11-20 15:24:55.047,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.holdings_records_source ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.047,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_records_source"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.047,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.holdings_records_source ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:24:55.047,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_holdings_records_source ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.048,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_holdings_records_source"" for relation ""fs00001046_mod_inventory_storage.holdings_records_source"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.048,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_holdings_records_source ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.048,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.048,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.049,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_records_source FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.049,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_records_source FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:24:55.049,"15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_records_source ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.050,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""holdings_records_source"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.050,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""holdings_records_source"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.050,"15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_records_source ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:24:55.050,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.050, BEGIN 2021-11-20 15:24:55.050, PERFORM rmb_internal_index( 2021-11-20 15:24:55.050," 'holdings_records_source', 'holdings_records_source_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.050, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_records_source_name_idx_unique ON fs00001046_mod_inventory_storage.holdings_records_source ' 2021-11-20 15:24:55.050, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.050, ); 2021-11-20 15:24:55.050, END $do$; 2021-11-20 15:24:55.051,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.051, BEGIN 2021-11-20 15:24:55.051, PERFORM rmb_internal_index( 2021-11-20 15:24:55.051," 'holdings_records_source', 'holdings_records_source_name_idx_unique', 'ADD'," 2021-11-20 15:24:55.051, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_records_source_name_idx_unique ON fs00001046_mod_inventory_storage.holdings_records_source ' 2021-11-20 15:24:55.051, || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ 2021-11-20 15:24:55.051, ); 2021-11-20 15:24:55.051, END $do$; 2021-11-20 15:24:55.051,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_holdings_records_source_references ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.051,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_holdings_records_source_references"" for relation ""fs00001046_mod_inventory_storage.holdings_records_source"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.051,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_holdings_records_source_references ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.052,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_holdings_records_source_references(); 2021-11-20 15:24:55.052,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_holdings_records_source_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.052,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_holdings_records_source_references(); 2021-11-20 15:24:55.052,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_records_source_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.052,DECLARE 2021-11-20 15:24:55.052, input text; 2021-11-20 15:24:55.052, createdDate timestamp; 2021-11-20 15:24:55.052,BEGIN 2021-11-20 15:24:55.052, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.052, IF input IS NULL THEN 2021-11-20 15:24:55.052, RETURN NEW; 2021-11-20 15:24:55.052, END IF; 2021-11-20 15:24:55.052, -- time stamp without time zone? 2021-11-20 15:24:55.052, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.052," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.052, createdDate = input::timestamp; 2021-11-20 15:24:55.052, ELSE 2021-11-20 15:24:55.052, -- createdDate has a time zone string 2021-11-20 15:24:55.052," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.052, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.052, END IF; 2021-11-20 15:24:55.052," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.052, NEW.creation_date = createdDate; 2021-11-20 15:24:55.052, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.052, RETURN NEW; 2021-11-20 15:24:55.052,END; 2021-11-20 15:24:55.052,$$ language 'plpgsql'; 2021-11-20 15:24:55.053,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_records_source_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.053,DECLARE 2021-11-20 15:24:55.053, input text; 2021-11-20 15:24:55.053, createdDate timestamp; 2021-11-20 15:24:55.053,BEGIN 2021-11-20 15:24:55.053, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:24:55.053, IF input IS NULL THEN 2021-11-20 15:24:55.053, RETURN NEW; 2021-11-20 15:24:55.053, END IF; 2021-11-20 15:24:55.053, -- time stamp without time zone? 2021-11-20 15:24:55.053, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:24:55.053," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:24:55.053, createdDate = input::timestamp; 2021-11-20 15:24:55.053, ELSE 2021-11-20 15:24:55.053, -- createdDate has a time zone string 2021-11-20 15:24:55.053," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:24:55.053, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:24:55.053, END IF; 2021-11-20 15:24:55.053," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:24:55.053, NEW.creation_date = createdDate; 2021-11-20 15:24:55.053, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:24:55.053, RETURN NEW; 2021-11-20 15:24:55.053,END; 2021-11-20 15:24:55.053,$$ language 'plpgsql'; 2021-11-20 15:24:55.053,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_records_source_md_trigger ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.053,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_records_source_md_trigger ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.054,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_records_source_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.holdings_records_source FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_records_source_set_md(); 2021-11-20 15:24:55.054,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_records_source_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.holdings_records_source FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_records_source_set_md(); 2021-11-20 15:24:55.054,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_holdings_records_source_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.054,BEGIN 2021-11-20 15:24:55.054, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.054, RETURN NEW; 2021-11-20 15:24:55.054, end if; 2021-11-20 15:24:55.054," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.054, if NEW.created_by IS NULL then 2021-11-20 15:24:55.054," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.054, else 2021-11-20 15:24:55.054," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.054, end if; 2021-11-20 15:24:55.054, RETURN NEW; 2021-11-20 15:24:55.054,END; 2021-11-20 15:24:55.054,$$ language 'plpgsql'; 2021-11-20 15:24:55.055,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_holdings_records_source_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.055,BEGIN 2021-11-20 15:24:55.055, if NEW.creation_date IS NULL then 2021-11-20 15:24:55.055, RETURN NEW; 2021-11-20 15:24:55.055, end if; 2021-11-20 15:24:55.055," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:24:55.055, if NEW.created_by IS NULL then 2021-11-20 15:24:55.055," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:24:55.055, else 2021-11-20 15:24:55.055," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:24:55.055, end if; 2021-11-20 15:24:55.055, RETURN NEW; 2021-11-20 15:24:55.055,END; 2021-11-20 15:24:55.055,$$ language 'plpgsql'; 2021-11-20 15:24:55.055,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_records_source_md_json_trigger ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.055,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_records_source_md_json_trigger ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.055,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_records_source_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.holdings_records_source FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_holdings_records_source_md_json(); 2021-11-20 15:24:55.056,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_records_source_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.holdings_records_source FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_holdings_records_source_md_json(); 2021-11-20 15:24:55.056,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_records_source_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.056,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_holdings_records_source_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.holdings_records_source"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.056,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_records_source_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_records_source CASCADE; 2021-11-20 15:24:55.056,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.holdings_records_source_set_ol_version() CASCADE; 2021-11-20 15:24:55.057,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.holdings_records_source_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.057,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.holdings_records_source_set_ol_version() CASCADE; 2021-11-20 15:24:55.057,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.057, BEGIN 2021-11-20 15:24:55.057, PERFORM rmb_internal_index( 2021-11-20 15:24:55.057," 'holdings_record', 'holdings_record_callNumber_idx', 'ADD'," 2021-11-20 15:24:55.057, 'CREATE INDEX IF NOT EXISTS holdings_record_callNumber_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.057," || $rmb$(left(lower(jsonb->>'callNumber'),600))$rmb$" 2021-11-20 15:24:55.057, ); 2021-11-20 15:24:55.057, END $do$; 2021-11-20 15:24:55.058,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.058, BEGIN 2021-11-20 15:24:55.058, PERFORM rmb_internal_index( 2021-11-20 15:24:55.058," 'holdings_record', 'holdings_record_callNumber_idx', 'ADD'," 2021-11-20 15:24:55.058, 'CREATE INDEX IF NOT EXISTS holdings_record_callNumber_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.058," || $rmb$(left(lower(jsonb->>'callNumber'),600))$rmb$" 2021-11-20 15:24:55.058, ); 2021-11-20 15:24:55.058, END $do$; 2021-11-20 15:24:55.058,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.058, BEGIN 2021-11-20 15:24:55.058, PERFORM rmb_internal_index( 2021-11-20 15:24:55.058," 'holdings_record', 'holdings_record_callNumberAndSuffix_idx', 'ADD'," 2021-11-20 15:24:55.058, 'CREATE INDEX IF NOT EXISTS holdings_record_callNumberAndSuffix_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.058," || $rmb$(left(lower(concat_space_sql(holdings_record.jsonb->>'callNumber' , holdings_record.jsonb->>'callNumberSuffix')),600))$rmb$" 2021-11-20 15:24:55.058, ); 2021-11-20 15:24:55.058, END $do$; 2021-11-20 15:24:55.059,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.059, BEGIN 2021-11-20 15:24:55.059, PERFORM rmb_internal_index( 2021-11-20 15:24:55.059," 'holdings_record', 'holdings_record_callNumberAndSuffix_idx', 'ADD'," 2021-11-20 15:24:55.059, 'CREATE INDEX IF NOT EXISTS holdings_record_callNumberAndSuffix_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.059," || $rmb$(left(lower(concat_space_sql(holdings_record.jsonb->>'callNumber' , holdings_record.jsonb->>'callNumberSuffix')),600))$rmb$" 2021-11-20 15:24:55.059, ); 2021-11-20 15:24:55.059, END $do$; 2021-11-20 15:24:55.059,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.059, BEGIN 2021-11-20 15:24:55.059, PERFORM rmb_internal_index( 2021-11-20 15:24:55.059," 'holdings_record', 'holdings_record_fullCallNumber_idx', 'ADD'," 2021-11-20 15:24:55.059, 'CREATE INDEX IF NOT EXISTS holdings_record_fullCallNumber_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.059," || $rmb$(left(lower(concat_space_sql(holdings_record.jsonb->>'callNumberPrefix' , holdings_record.jsonb->>'callNumber' , holdings_record.jsonb->>'callNumberSuffix')),600))$rmb$" 2021-11-20 15:24:55.059, ); 2021-11-20 15:24:55.059, END $do$; 2021-11-20 15:24:55.059,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.059, BEGIN 2021-11-20 15:24:55.059, PERFORM rmb_internal_index( 2021-11-20 15:24:55.059," 'holdings_record', 'holdings_record_fullCallNumber_idx', 'ADD'," 2021-11-20 15:24:55.059, 'CREATE INDEX IF NOT EXISTS holdings_record_fullCallNumber_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.059," || $rmb$(left(lower(concat_space_sql(holdings_record.jsonb->>'callNumberPrefix' , holdings_record.jsonb->>'callNumber' , holdings_record.jsonb->>'callNumberSuffix')),600))$rmb$" 2021-11-20 15:24:55.059, ); 2021-11-20 15:24:55.059, END $do$; 2021-11-20 15:24:55.059,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.059, BEGIN 2021-11-20 15:24:55.059, PERFORM rmb_internal_index( 2021-11-20 15:24:55.059," 'holdings_record', 'holdings_record_discoverySuppress_idx', 'ADD'," 2021-11-20 15:24:55.059, 'CREATE INDEX IF NOT EXISTS holdings_record_discoverySuppress_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.059," || $rmb$(left(lower(jsonb->>'discoverySuppress'),600))$rmb$" 2021-11-20 15:24:55.059, ); 2021-11-20 15:24:55.059, END $do$; 2021-11-20 15:24:55.060,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.060, BEGIN 2021-11-20 15:24:55.060, PERFORM rmb_internal_index( 2021-11-20 15:24:55.060," 'holdings_record', 'holdings_record_discoverySuppress_idx', 'ADD'," 2021-11-20 15:24:55.060, 'CREATE INDEX IF NOT EXISTS holdings_record_discoverySuppress_idx ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.060," || $rmb$(left(lower(jsonb->>'discoverySuppress'),600))$rmb$" 2021-11-20 15:24:55.060, ); 2021-11-20 15:24:55.060, END $do$; 2021-11-20 15:24:55.060,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.060, BEGIN 2021-11-20 15:24:55.060, PERFORM rmb_internal_index( 2021-11-20 15:24:55.060," 'holdings_record', 'holdings_record_hrid_idx_unique', 'ADD'," 2021-11-20 15:24:55.060, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_record_hrid_idx_unique ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.060, || $rmb$(lower(f_unaccent(jsonb->>'hrid')))$rmb$ 2021-11-20 15:24:55.060, ); 2021-11-20 15:24:55.060, END $do$; 2021-11-20 15:24:55.060,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.060, BEGIN 2021-11-20 15:24:55.060, PERFORM rmb_internal_index( 2021-11-20 15:24:55.060," 'holdings_record', 'holdings_record_hrid_idx_unique', 'ADD'," 2021-11-20 15:24:55.060, 'CREATE UNIQUE INDEX IF NOT EXISTS holdings_record_hrid_idx_unique ON fs00001046_mod_inventory_storage.holdings_record ' 2021-11-20 15:24:55.060, || $rmb$(lower(f_unaccent(jsonb->>'hrid')))$rmb$ 2021-11-20 15:24:55.060, ); 2021-11-20 15:24:55.060, END $do$; 2021-11-20 15:24:55.060,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.060, BEGIN 2021-11-20 15:24:55.060, PERFORM rmb_internal_index( 2021-11-20 15:24:55.060," 'holdings_record', 'holdings_record_electronicAccess_idx_gin', 'ADD'," 2021-11-20 15:24:55.060, 'CREATE INDEX IF NOT EXISTS holdings_record_electronicAccess_idx_gin ON fs00001046_mod_inventory_storage.holdings_record USING GIN ' 2021-11-20 15:24:55.060, || $rmb$((lower(f_unaccent(jsonb->>'electronicAccess'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:55.060, ); 2021-11-20 15:24:55.060, END $do$; 2021-11-20 15:24:55.061,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.061, BEGIN 2021-11-20 15:24:55.061, PERFORM rmb_internal_index( 2021-11-20 15:24:55.061," 'holdings_record', 'holdings_record_electronicAccess_idx_gin', 'ADD'," 2021-11-20 15:24:55.061, 'CREATE INDEX IF NOT EXISTS holdings_record_electronicAccess_idx_gin ON fs00001046_mod_inventory_storage.holdings_record USING GIN ' 2021-11-20 15:24:55.061, || $rmb$((lower(f_unaccent(jsonb->>'electronicAccess'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:24:55.061, ); 2021-11-20 15:24:55.061, END $do$; 2021-11-20 15:24:55.061,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.061, BEGIN 2021-11-20 15:24:55.061, PERFORM rmb_internal_index( 2021-11-20 15:24:55.061," 'holdings_record', 'holdings_record_callNumberAndSuffixNormalized_idx_ft', 'ADD'," 2021-11-20 15:24:55.061, 'CREATE INDEX IF NOT EXISTS holdings_record_callNumberAndSuffixNormalized_idx_ft ON fs00001046_mod_inventory_storage.holdings_record USING GIN ' 2021-11-20 15:24:55.061, || $rmb$( get_tsvector(normalize_holdings_call_number_and_suffix(jsonb)) )$rmb$); 2021-11-20 15:24:55.061, END $do$; 2021-11-20 15:24:55.061,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.061, BEGIN 2021-11-20 15:24:55.061, PERFORM rmb_internal_index( 2021-11-20 15:24:55.061," 'holdings_record', 'holdings_record_callNumberAndSuffixNormalized_idx_ft', 'ADD'," 2021-11-20 15:24:55.061, 'CREATE INDEX IF NOT EXISTS holdings_record_callNumberAndSuffixNormalized_idx_ft ON fs00001046_mod_inventory_storage.holdings_record USING GIN ' 2021-11-20 15:24:55.061, || $rmb$( get_tsvector(normalize_holdings_call_number_and_suffix(jsonb)) )$rmb$); 2021-11-20 15:24:55.061, END $do$; 2021-11-20 15:24:55.061,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.061, BEGIN 2021-11-20 15:24:55.061, PERFORM rmb_internal_index( 2021-11-20 15:24:55.061," 'holdings_record', 'holdings_record_fullCallNumberNormalized_idx_ft', 'ADD'," 2021-11-20 15:24:55.061, 'CREATE INDEX IF NOT EXISTS holdings_record_fullCallNumberNormalized_idx_ft ON fs00001046_mod_inventory_storage.holdings_record USING GIN ' 2021-11-20 15:24:55.061, || $rmb$( get_tsvector(normalize_holdings_full_call_number(jsonb)) )$rmb$); 2021-11-20 15:24:55.061, END $do$; 2021-11-20 15:24:55.062,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.062, BEGIN 2021-11-20 15:24:55.062, PERFORM rmb_internal_index( 2021-11-20 15:24:55.062," 'holdings_record', 'holdings_record_fullCallNumberNormalized_idx_ft', 'ADD'," 2021-11-20 15:24:55.062, 'CREATE INDEX IF NOT EXISTS holdings_record_fullCallNumberNormalized_idx_ft ON fs00001046_mod_inventory_storage.holdings_record USING GIN ' 2021-11-20 15:24:55.062, || $rmb$( get_tsvector(normalize_holdings_full_call_number(jsonb)) )$rmb$); 2021-11-20 15:24:55.062, END $do$; 2021-11-20 15:24:55.062,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS instanceId UUID; 2021-11-20 15:24:55.063,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""instanceid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.063,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS instanceId UUID; 2021-11-20 15:24:55.063,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.063, BEGIN 2021-11-20 15:24:55.063, BEGIN 2021-11-20 15:24:55.063, ALTER TABLE holdings_record 2021-11-20 15:24:55.063, ADD CONSTRAINT instanceId_instance_fkey 2021-11-20 15:24:55.063, FOREIGN KEY (instanceId) REFERENCES instance; 2021-11-20 15:24:55.063, EXCEPTION 2021-11-20 15:24:55.063, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.063, END; 2021-11-20 15:24:55.063, END $$; 2021-11-20 15:24:55.064,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.064, BEGIN 2021-11-20 15:24:55.064, BEGIN 2021-11-20 15:24:55.064, ALTER TABLE holdings_record 2021-11-20 15:24:55.064, ADD CONSTRAINT instanceId_instance_fkey 2021-11-20 15:24:55.064, FOREIGN KEY (instanceId) REFERENCES instance; 2021-11-20 15:24:55.064, EXCEPTION 2021-11-20 15:24:55.064, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.064, END; 2021-11-20 15:24:55.064, END $$; 2021-11-20 15:24:55.064,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_instanceId_idx ON fs00001046_mod_inventory_storage.holdings_record (instanceId); 2021-11-20 15:24:55.064,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_instanceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.064,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_instanceId_idx ON fs00001046_mod_inventory_storage.holdings_record (instanceId); 2021-11-20 15:24:55.064,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.065,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.065,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS permanentLocationId UUID; 2021-11-20 15:24:55.065,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""permanentlocationid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.065,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS permanentLocationId UUID; 2021-11-20 15:24:55.065,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.065, BEGIN 2021-11-20 15:24:55.065, BEGIN 2021-11-20 15:24:55.065, ALTER TABLE holdings_record 2021-11-20 15:24:55.065, ADD CONSTRAINT permanentLocationId_location_fkey 2021-11-20 15:24:55.065, FOREIGN KEY (permanentLocationId) REFERENCES location; 2021-11-20 15:24:55.065, EXCEPTION 2021-11-20 15:24:55.065, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.065, END; 2021-11-20 15:24:55.065, END $$; 2021-11-20 15:24:55.066,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.066, BEGIN 2021-11-20 15:24:55.066, BEGIN 2021-11-20 15:24:55.066, ALTER TABLE holdings_record 2021-11-20 15:24:55.066, ADD CONSTRAINT permanentLocationId_location_fkey 2021-11-20 15:24:55.066, FOREIGN KEY (permanentLocationId) REFERENCES location; 2021-11-20 15:24:55.066, EXCEPTION 2021-11-20 15:24:55.066, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.066, END; 2021-11-20 15:24:55.066, END $$; 2021-11-20 15:24:55.066,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_permanentLocationId_idx ON fs00001046_mod_inventory_storage.holdings_record (permanentLocationId); 2021-11-20 15:24:55.066,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_permanentlocationid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.066,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_permanentLocationId_idx ON fs00001046_mod_inventory_storage.holdings_record (permanentLocationId); 2021-11-20 15:24:55.067,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.067,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.067,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS temporaryLocationId UUID; 2021-11-20 15:24:55.067,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""temporarylocationid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.067,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS temporaryLocationId UUID; 2021-11-20 15:24:55.067,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.067, BEGIN 2021-11-20 15:24:55.067, BEGIN 2021-11-20 15:24:55.067, ALTER TABLE holdings_record 2021-11-20 15:24:55.067, ADD CONSTRAINT temporaryLocationId_location_fkey 2021-11-20 15:24:55.067, FOREIGN KEY (temporaryLocationId) REFERENCES location; 2021-11-20 15:24:55.067, EXCEPTION 2021-11-20 15:24:55.067, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.067, END; 2021-11-20 15:24:55.067, END $$; 2021-11-20 15:24:55.068,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.068, BEGIN 2021-11-20 15:24:55.068, BEGIN 2021-11-20 15:24:55.068, ALTER TABLE holdings_record 2021-11-20 15:24:55.068, ADD CONSTRAINT temporaryLocationId_location_fkey 2021-11-20 15:24:55.068, FOREIGN KEY (temporaryLocationId) REFERENCES location; 2021-11-20 15:24:55.068, EXCEPTION 2021-11-20 15:24:55.068, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.068, END; 2021-11-20 15:24:55.068, END $$; 2021-11-20 15:24:55.068,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_temporaryLocationId_idx ON fs00001046_mod_inventory_storage.holdings_record (temporaryLocationId); 2021-11-20 15:24:55.069,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_temporarylocationid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.069,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_temporaryLocationId_idx ON fs00001046_mod_inventory_storage.holdings_record (temporaryLocationId); 2021-11-20 15:24:55.069,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.069,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.069,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS effectiveLocationId UUID; 2021-11-20 15:24:55.070,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""effectivelocationid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.070,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS effectiveLocationId UUID; 2021-11-20 15:24:55.070,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.070, BEGIN 2021-11-20 15:24:55.070, BEGIN 2021-11-20 15:24:55.070, ALTER TABLE holdings_record 2021-11-20 15:24:55.070, ADD CONSTRAINT effectiveLocationId_location_fkey 2021-11-20 15:24:55.070, FOREIGN KEY (effectiveLocationId) REFERENCES location; 2021-11-20 15:24:55.070, EXCEPTION 2021-11-20 15:24:55.070, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.070, END; 2021-11-20 15:24:55.070, END $$; 2021-11-20 15:24:55.070,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.070, BEGIN 2021-11-20 15:24:55.070, BEGIN 2021-11-20 15:24:55.070, ALTER TABLE holdings_record 2021-11-20 15:24:55.070, ADD CONSTRAINT effectiveLocationId_location_fkey 2021-11-20 15:24:55.070, FOREIGN KEY (effectiveLocationId) REFERENCES location; 2021-11-20 15:24:55.070, EXCEPTION 2021-11-20 15:24:55.070, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.070, END; 2021-11-20 15:24:55.070, END $$; 2021-11-20 15:24:55.070,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_effectiveLocationId_idx ON fs00001046_mod_inventory_storage.holdings_record (effectiveLocationId); 2021-11-20 15:24:55.071,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_effectivelocationid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.071,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_effectiveLocationId_idx ON fs00001046_mod_inventory_storage.holdings_record (effectiveLocationId); 2021-11-20 15:24:55.071,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.071,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.071,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS holdingsTypeId UUID; 2021-11-20 15:24:55.072,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""holdingstypeid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.072,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS holdingsTypeId UUID; 2021-11-20 15:24:55.072,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.072, BEGIN 2021-11-20 15:24:55.072, BEGIN 2021-11-20 15:24:55.072, ALTER TABLE holdings_record 2021-11-20 15:24:55.072, ADD CONSTRAINT holdingsTypeId_holdings_type_fkey 2021-11-20 15:24:55.072, FOREIGN KEY (holdingsTypeId) REFERENCES holdings_type; 2021-11-20 15:24:55.072, EXCEPTION 2021-11-20 15:24:55.072, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.072, END; 2021-11-20 15:24:55.072, END $$; 2021-11-20 15:24:55.073,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.073, BEGIN 2021-11-20 15:24:55.073, BEGIN 2021-11-20 15:24:55.073, ALTER TABLE holdings_record 2021-11-20 15:24:55.073, ADD CONSTRAINT holdingsTypeId_holdings_type_fkey 2021-11-20 15:24:55.073, FOREIGN KEY (holdingsTypeId) REFERENCES holdings_type; 2021-11-20 15:24:55.073, EXCEPTION 2021-11-20 15:24:55.073, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.073, END; 2021-11-20 15:24:55.073, END $$; 2021-11-20 15:24:55.073,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_holdingsTypeId_idx ON fs00001046_mod_inventory_storage.holdings_record (holdingsTypeId); 2021-11-20 15:24:55.073,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_holdingstypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.073,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_holdingsTypeId_idx ON fs00001046_mod_inventory_storage.holdings_record (holdingsTypeId); 2021-11-20 15:24:55.073,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.074,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.074,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS callNumberTypeId UUID; 2021-11-20 15:24:55.074,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""callnumbertypeid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.074,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS callNumberTypeId UUID; 2021-11-20 15:24:55.074,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.074, BEGIN 2021-11-20 15:24:55.074, BEGIN 2021-11-20 15:24:55.074, ALTER TABLE holdings_record 2021-11-20 15:24:55.074, ADD CONSTRAINT callNumberTypeId_call_number_type_fkey 2021-11-20 15:24:55.074, FOREIGN KEY (callNumberTypeId) REFERENCES call_number_type; 2021-11-20 15:24:55.074, EXCEPTION 2021-11-20 15:24:55.074, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.074, END; 2021-11-20 15:24:55.074, END $$; 2021-11-20 15:24:55.075,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.075, BEGIN 2021-11-20 15:24:55.075, BEGIN 2021-11-20 15:24:55.075, ALTER TABLE holdings_record 2021-11-20 15:24:55.075, ADD CONSTRAINT callNumberTypeId_call_number_type_fkey 2021-11-20 15:24:55.075, FOREIGN KEY (callNumberTypeId) REFERENCES call_number_type; 2021-11-20 15:24:55.075, EXCEPTION 2021-11-20 15:24:55.075, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.075, END; 2021-11-20 15:24:55.075, END $$; 2021-11-20 15:24:55.075,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_callNumberTypeId_idx ON fs00001046_mod_inventory_storage.holdings_record (callNumberTypeId); 2021-11-20 15:24:55.075,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_callnumbertypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.076,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_callNumberTypeId_idx ON fs00001046_mod_inventory_storage.holdings_record (callNumberTypeId); 2021-11-20 15:24:55.076,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.076,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.076,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS illPolicyId UUID; 2021-11-20 15:24:55.077,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""illpolicyid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.077,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS illPolicyId UUID; 2021-11-20 15:24:55.077,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.077, BEGIN 2021-11-20 15:24:55.077, BEGIN 2021-11-20 15:24:55.077, ALTER TABLE holdings_record 2021-11-20 15:24:55.077, ADD CONSTRAINT illPolicyId_ill_policy_fkey 2021-11-20 15:24:55.077, FOREIGN KEY (illPolicyId) REFERENCES ill_policy; 2021-11-20 15:24:55.077, EXCEPTION 2021-11-20 15:24:55.077, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.077, END; 2021-11-20 15:24:55.077, END $$; 2021-11-20 15:24:55.077,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.077, BEGIN 2021-11-20 15:24:55.077, BEGIN 2021-11-20 15:24:55.077, ALTER TABLE holdings_record 2021-11-20 15:24:55.077, ADD CONSTRAINT illPolicyId_ill_policy_fkey 2021-11-20 15:24:55.077, FOREIGN KEY (illPolicyId) REFERENCES ill_policy; 2021-11-20 15:24:55.077, EXCEPTION 2021-11-20 15:24:55.077, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.077, END; 2021-11-20 15:24:55.077, END $$; 2021-11-20 15:24:55.077,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_illPolicyId_idx ON fs00001046_mod_inventory_storage.holdings_record (illPolicyId); 2021-11-20 15:24:55.078,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_illpolicyid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.078,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_illPolicyId_idx ON fs00001046_mod_inventory_storage.holdings_record (illPolicyId); 2021-11-20 15:24:55.078,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.078,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.078,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS sourceId UUID; 2021-11-20 15:24:55.079,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""sourceid"" of relation ""holdings_record"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.079,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.holdings_record ADD COLUMN IF NOT EXISTS sourceId UUID; 2021-11-20 15:24:55.079,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.079, BEGIN 2021-11-20 15:24:55.079, BEGIN 2021-11-20 15:24:55.079, ALTER TABLE holdings_record 2021-11-20 15:24:55.079, ADD CONSTRAINT sourceId_holdings_records_source_fkey 2021-11-20 15:24:55.079, FOREIGN KEY (sourceId) REFERENCES holdings_records_source; 2021-11-20 15:24:55.079, EXCEPTION 2021-11-20 15:24:55.079, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.079, END; 2021-11-20 15:24:55.079, END $$; 2021-11-20 15:24:55.080,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.080, BEGIN 2021-11-20 15:24:55.080, BEGIN 2021-11-20 15:24:55.080, ALTER TABLE holdings_record 2021-11-20 15:24:55.080, ADD CONSTRAINT sourceId_holdings_records_source_fkey 2021-11-20 15:24:55.080, FOREIGN KEY (sourceId) REFERENCES holdings_records_source; 2021-11-20 15:24:55.080, EXCEPTION 2021-11-20 15:24:55.080, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:24:55.080, END; 2021-11-20 15:24:55.080, END $$; 2021-11-20 15:24:55.080,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS holdings_record_sourceId_idx ON fs00001046_mod_inventory_storage.holdings_record (sourceId); 2021-11-20 15:24:55.080,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""holdings_record_sourceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.080,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS holdings_record_sourceId_idx ON fs00001046_mod_inventory_storage.holdings_record (sourceId); 2021-11-20 15:24:55.080,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.081,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('holdings_record'); 2021-11-20 15:24:55.081,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_holdings_record_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.081, BEGIN 2021-11-20 15:24:55.081, NEW.instanceId = (NEW.jsonb->>'instanceId'); 2021-11-20 15:24:55.081, NEW.permanentLocationId = (NEW.jsonb->>'permanentLocationId'); 2021-11-20 15:24:55.081, NEW.temporaryLocationId = (NEW.jsonb->>'temporaryLocationId'); 2021-11-20 15:24:55.081, NEW.effectiveLocationId = (NEW.jsonb->>'effectiveLocationId'); 2021-11-20 15:24:55.081, NEW.holdingsTypeId = (NEW.jsonb->>'holdingsTypeId'); 2021-11-20 15:24:55.081, NEW.callNumberTypeId = (NEW.jsonb->>'callNumberTypeId'); 2021-11-20 15:24:55.081, NEW.illPolicyId = (NEW.jsonb->>'illPolicyId'); 2021-11-20 15:24:55.081, NEW.sourceId = (NEW.jsonb->>'sourceId'); 2021-11-20 15:24:55.081, RETURN NEW; 2021-11-20 15:24:55.081, END; 2021-11-20 15:24:55.081, $$ language 'plpgsql'; 2021-11-20 15:24:55.082,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_holdings_record_references() RETURNS TRIGGER AS $$ 2021-11-20 15:24:55.082, BEGIN 2021-11-20 15:24:55.082, NEW.instanceId = (NEW.jsonb->>'instanceId'); 2021-11-20 15:24:55.082, NEW.permanentLocationId = (NEW.jsonb->>'permanentLocationId'); 2021-11-20 15:24:55.082, NEW.temporaryLocationId = (NEW.jsonb->>'temporaryLocationId'); 2021-11-20 15:24:55.082, NEW.effectiveLocationId = (NEW.jsonb->>'effectiveLocationId'); 2021-11-20 15:24:55.082, NEW.holdingsTypeId = (NEW.jsonb->>'holdingsTypeId'); 2021-11-20 15:24:55.082, NEW.callNumberTypeId = (NEW.jsonb->>'callNumberTypeId'); 2021-11-20 15:24:55.082, NEW.illPolicyId = (NEW.jsonb->>'illPolicyId'); 2021-11-20 15:24:55.082, NEW.sourceId = (NEW.jsonb->>'sourceId'); 2021-11-20 15:24:55.082, RETURN NEW; 2021-11-20 15:24:55.082, END; 2021-11-20 15:24:55.082, $$ language 'plpgsql'; 2021-11-20 15:24:55.082,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_holdings_record_references ON fs00001046_mod_inventory_storage.holdings_record CASCADE; 2021-11-20 15:24:55.082,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_holdings_record_references ON fs00001046_mod_inventory_storage.holdings_record CASCADE; 2021-11-20 15:24:55.082,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_holdings_record_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_record FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_holdings_record_references(); 2021-11-20 15:24:55.083,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_holdings_record_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_record FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_holdings_record_references(); 2021-11-20 15:24:55.083,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:24:55.083, DECLARE 2021-11-20 15:24:55.083, version TEXT; 2021-11-20 15:24:55.083, i INT; 2021-11-20 15:24:55.083, BEGIN 2021-11-20 15:24:55.083, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:55.083, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:55.083, RETURN; 2021-11-20 15:24:55.083, END IF; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'instanceId_instance_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'permanentLocationId_location_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'temporaryLocationId_location_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'effectiveLocationId_location_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'holdingsTypeId_holdings_type_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'callNumberTypeId_call_number_type_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'illPolicyId_ill_policy_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.083, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.083, || 'sourceId_holdings_records_source_fkey' || i; 2021-11-20 15:24:55.083, END LOOP; 2021-11-20 15:24:55.083, END $$; 2021-11-20 15:24:55.084,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:24:55.084, DECLARE 2021-11-20 15:24:55.084, version TEXT; 2021-11-20 15:24:55.084, i INT; 2021-11-20 15:24:55.084, BEGIN 2021-11-20 15:24:55.084, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:24:55.084, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:24:55.084, RETURN; 2021-11-20 15:24:55.084, END IF; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'instanceId_instance_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'permanentLocationId_location_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'temporaryLocationId_location_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'effectiveLocationId_location_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'holdingsTypeId_holdings_type_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'callNumberTypeId_call_number_type_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'illPolicyId_ill_policy_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, FOR i IN 1..50 LOOP 2021-11-20 15:24:55.084, EXECUTE 'ALTER TABLE holdings_record DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:24:55.084, || 'sourceId_holdings_records_source_fkey' || i; 2021-11-20 15:24:55.084, END LOOP; 2021-11-20 15:24:55.084, END $$; 2021-11-20 15:24:55.084,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_record_set_ol_version() RETURNS trigger AS $$ 2021-11-20 15:24:55.084, BEGIN 2021-11-20 15:24:55.084, CASE TG_OP 2021-11-20 15:24:55.084, WHEN 'INSERT' THEN 2021-11-20 15:24:55.084," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}', to_jsonb(1));" 2021-11-20 15:24:55.084, WHEN 'UPDATE' THEN 2021-11-20 15:24:55.084, IF NEW.jsonb->'_version' IS DISTINCT FROM OLD.jsonb->'_version' THEN 2021-11-20 15:24:55.084, RAISE NOTICE 'Ignoring optimistic locking conflict while overwriting changed record %: ' 2021-11-20 15:24:55.084," 'Stored _version is %, _version of request is %'," 2021-11-20 15:24:55.084," OLD.id, OLD.jsonb->'_version', NEW.jsonb->'_version' " 2021-11-20 15:24:55.084," USING ERRCODE = '23F09', TABLE = 'holdings_record', SCHEMA = 'fs00001046_mod_inventory_storage';" 2021-11-20 15:24:55.084, END IF; 2021-11-20 15:24:55.084," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}'," 2021-11-20 15:24:55.084," to_jsonb(COALESCE((OLD.jsonb->>'_version')::numeric + 1, 1)));" 2021-11-20 15:24:55.084, END CASE; 2021-11-20 15:24:55.084, RETURN NEW; 2021-11-20 15:24:55.084, END; 2021-11-20 15:24:55.084, $$ LANGUAGE plpgsql; 2021-11-20 15:24:55.084,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.holdings_record_set_ol_version() RETURNS trigger AS $$ 2021-11-20 15:24:55.084, BEGIN 2021-11-20 15:24:55.084, CASE TG_OP 2021-11-20 15:24:55.084, WHEN 'INSERT' THEN 2021-11-20 15:24:55.084," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}', to_jsonb(1));" 2021-11-20 15:24:55.084, WHEN 'UPDATE' THEN 2021-11-20 15:24:55.084, IF NEW.jsonb->'_version' IS DISTINCT FROM OLD.jsonb->'_version' THEN 2021-11-20 15:24:55.084, RAISE NOTICE 'Ignoring optimistic locking conflict while overwriting changed record %: ' 2021-11-20 15:24:55.084," 'Stored _version is %, _version of request is %'," 2021-11-20 15:24:55.084," OLD.id, OLD.jsonb->'_version', NEW.jsonb->'_version' " 2021-11-20 15:24:55.084," USING ERRCODE = '23F09', TABLE = 'holdings_record', SCHEMA = 'fs00001046_mod_inventory_storage';" 2021-11-20 15:24:55.084, END IF; 2021-11-20 15:24:55.084," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}'," 2021-11-20 15:24:55.084," to_jsonb(COALESCE((OLD.jsonb->>'_version')::numeric + 1, 1)));" 2021-11-20 15:24:55.084, END CASE; 2021-11-20 15:24:55.084, RETURN NEW; 2021-11-20 15:24:55.084, END; 2021-11-20 15:24:55.084, $$ LANGUAGE plpgsql; 2021-11-20 15:24:55.084,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_holdings_record_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_record CASCADE; 2021-11-20 15:24:55.085,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_holdings_record_ol_version_trigger ON fs00001046_mod_inventory_storage.holdings_record CASCADE; 2021-11-20 15:24:55.085,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_holdings_record_ol_version_trigger BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_record FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_record_set_ol_version(); 2021-11-20 15:24:55.086,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_holdings_record_ol_version_trigger BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.holdings_record FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.holdings_record_set_ol_version(); 2021-11-20 15:24:55.086,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.086, BEGIN 2021-11-20 15:24:55.086, PERFORM rmb_internal_index( 2021-11-20 15:24:55.086," 'item', 'item_accessionNumber_idx', 'ADD'," 2021-11-20 15:24:55.086, 'CREATE INDEX IF NOT EXISTS item_accessionNumber_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.086," || $rmb$(left(lower(jsonb->>'accessionNumber'),600))$rmb$" 2021-11-20 15:24:55.086, ); 2021-11-20 15:24:55.086, END $do$; 2021-11-20 15:24:55.086,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.086, BEGIN 2021-11-20 15:24:55.086, PERFORM rmb_internal_index( 2021-11-20 15:24:55.086," 'item', 'item_accessionNumber_idx', 'ADD'," 2021-11-20 15:24:55.086, 'CREATE INDEX IF NOT EXISTS item_accessionNumber_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.086," || $rmb$(left(lower(jsonb->>'accessionNumber'),600))$rmb$" 2021-11-20 15:24:55.086, ); 2021-11-20 15:24:55.086, END $do$; 2021-11-20 15:24:55.086,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.086, BEGIN 2021-11-20 15:24:55.086, PERFORM rmb_internal_index( 2021-11-20 15:24:55.086," 'item', 'item_status_name_idx', 'ADD'," 2021-11-20 15:24:55.086, 'CREATE INDEX IF NOT EXISTS item_status_name_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.086," || $rmb$(left(lower(f_unaccent(jsonb->'status'->>'name')),600))$rmb$" 2021-11-20 15:24:55.086, ); 2021-11-20 15:24:55.086, END $do$; 2021-11-20 15:24:55.087,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.087, BEGIN 2021-11-20 15:24:55.087, PERFORM rmb_internal_index( 2021-11-20 15:24:55.087," 'item', 'item_status_name_idx', 'ADD'," 2021-11-20 15:24:55.087, 'CREATE INDEX IF NOT EXISTS item_status_name_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.087," || $rmb$(left(lower(f_unaccent(jsonb->'status'->>'name')),600))$rmb$" 2021-11-20 15:24:55.087, ); 2021-11-20 15:24:55.087, END $do$; 2021-11-20 15:24:55.087,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.087, BEGIN 2021-11-20 15:24:55.087, PERFORM rmb_internal_index( 2021-11-20 15:24:55.087," 'item', 'item_callNumberAndSuffix_idx', 'ADD'," 2021-11-20 15:24:55.087, 'CREATE INDEX IF NOT EXISTS item_callNumberAndSuffix_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.087," || $rmb$(left(lower(concat_space_sql(item.jsonb->'effectiveCallNumberComponents'->>'callNumber' , item.jsonb->'effectiveCallNumberComponents'->>'suffix')),600))$rmb$" 2021-11-20 15:24:55.087, ); 2021-11-20 15:24:55.087, END $do$; 2021-11-20 15:24:55.087,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.087, BEGIN 2021-11-20 15:24:55.087, PERFORM rmb_internal_index( 2021-11-20 15:24:55.087," 'item', 'item_callNumberAndSuffix_idx', 'ADD'," 2021-11-20 15:24:55.087, 'CREATE INDEX IF NOT EXISTS item_callNumberAndSuffix_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.087," || $rmb$(left(lower(concat_space_sql(item.jsonb->'effectiveCallNumberComponents'->>'callNumber' , item.jsonb->'effectiveCallNumberComponents'->>'suffix')),600))$rmb$" 2021-11-20 15:24:55.087, ); 2021-11-20 15:24:55.087, END $do$; 2021-11-20 15:24:55.087,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.087, BEGIN 2021-11-20 15:24:55.087, PERFORM rmb_internal_index( 2021-11-20 15:24:55.087," 'item', 'item_fullCallNumber_idx', 'ADD'," 2021-11-20 15:24:55.087, 'CREATE INDEX IF NOT EXISTS item_fullCallNumber_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.087," || $rmb$(left(lower(concat_space_sql(item.jsonb->'effectiveCallNumberComponents'->>'prefix' , item.jsonb->'effectiveCallNumberComponents'->>'callNumber' , item.jsonb->'effectiveCallNumberComponents'->>'suffix')),600))$rmb$" 2021-11-20 15:24:55.087, ); 2021-11-20 15:24:55.087, END $do$; 2021-11-20 15:24:55.088,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.088, BEGIN 2021-11-20 15:24:55.088, PERFORM rmb_internal_index( 2021-11-20 15:24:55.088," 'item', 'item_fullCallNumber_idx', 'ADD'," 2021-11-20 15:24:55.088, 'CREATE INDEX IF NOT EXISTS item_fullCallNumber_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.088," || $rmb$(left(lower(concat_space_sql(item.jsonb->'effectiveCallNumberComponents'->>'prefix' , item.jsonb->'effectiveCallNumberComponents'->>'callNumber' , item.jsonb->'effectiveCallNumberComponents'->>'suffix')),600))$rmb$" 2021-11-20 15:24:55.088, ); 2021-11-20 15:24:55.088, END $do$; 2021-11-20 15:24:55.088,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.088, BEGIN 2021-11-20 15:24:55.088, PERFORM rmb_internal_index( 2021-11-20 15:24:55.088," 'item', 'item_discoverySuppress_idx', 'ADD'," 2021-11-20 15:24:55.088, 'CREATE INDEX IF NOT EXISTS item_discoverySuppress_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.088," || $rmb$(left(lower(jsonb->>'discoverySuppress'),600))$rmb$" 2021-11-20 15:24:55.088, ); 2021-11-20 15:24:55.088, END $do$; 2021-11-20 15:24:55.088,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.088, BEGIN 2021-11-20 15:24:55.088, PERFORM rmb_internal_index( 2021-11-20 15:24:55.088," 'item', 'item_discoverySuppress_idx', 'ADD'," 2021-11-20 15:24:55.088, 'CREATE INDEX IF NOT EXISTS item_discoverySuppress_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.088," || $rmb$(left(lower(jsonb->>'discoverySuppress'),600))$rmb$" 2021-11-20 15:24:55.088, ); 2021-11-20 15:24:55.088, END $do$; 2021-11-20 15:24:55.089,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.089, BEGIN 2021-11-20 15:24:55.089, PERFORM rmb_internal_index( 2021-11-20 15:24:55.089," 'item', 'item_purchaseOrderLineIdentifier_idx', 'ADD'," 2021-11-20 15:24:55.089, 'CREATE INDEX IF NOT EXISTS item_purchaseOrderLineIdentifier_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.089," || $rmb$(left(lower(jsonb->>'purchaseOrderLineIdentifier'),600))$rmb$" 2021-11-20 15:24:55.089, ); 2021-11-20 15:24:55.089, END $do$; 2021-11-20 15:24:55.089,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.089, BEGIN 2021-11-20 15:24:55.089, PERFORM rmb_internal_index( 2021-11-20 15:24:55.089," 'item', 'item_purchaseOrderLineIdentifier_idx', 'ADD'," 2021-11-20 15:24:55.089, 'CREATE INDEX IF NOT EXISTS item_purchaseOrderLineIdentifier_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.089," || $rmb$(left(lower(jsonb->>'purchaseOrderLineIdentifier'),600))$rmb$" 2021-11-20 15:24:55.089, ); 2021-11-20 15:24:55.089, END $do$; 2021-11-20 15:24:55.089,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.089, BEGIN 2021-11-20 15:24:55.089, PERFORM rmb_internal_index( 2021-11-20 15:24:55.089," 'item', 'item_effectiveCallNumberComponents_callNumber_idx', 'ADD'," 2021-11-20 15:24:55.089, 'CREATE INDEX IF NOT EXISTS item_effectiveCallNumberComponents_callNumber_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.089," || $rmb$(left(lower(jsonb->'effectiveCallNumberComponents'->>'callNumber'),600))$rmb$" 2021-11-20 15:24:55.089, ); 2021-11-20 15:24:55.089, END $do$; 2021-11-20 15:24:55.090,15:24:55 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:24:55.090, BEGIN 2021-11-20 15:24:55.090, PERFORM rmb_internal_index( 2021-11-20 15:24:55.090," 'item', 'item_effectiveCallNumberComponents_callNumber_idx', 'ADD'," 2021-11-20 15:24:55.090, 'CREATE INDEX IF NOT EXISTS item_effectiveCallNumberComponents_callNumber_idx ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.090," || $rmb$(left(lower(jsonb->'effectiveCallNumberComponents'->>'callNumber'),600))$rmb$" 2021-11-20 15:24:55.090, ); 2021-11-20 15:24:55.090, END $do$; 2021-11-20 15:24:55.090,15:24:55 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:24:55.090, BEGIN 2021-11-20 15:24:55.090, PERFORM rmb_internal_index( 2021-11-20 15:24:55.090," 'item', 'item_barcode_idx_unique', 'ADD'," 2021-11-20 15:24:55.090, 'CREATE UNIQUE INDEX IF NOT EXISTS item_barcode_idx_unique ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.090, || $rmb$(lower(jsonb->>'barcode'))$rmb$ 2021-11-20 15:24:55.090, ); 2021-11-20 15:24:55.090, END $do$; 2021-11-20 15:24:55.090,"15:24:55 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='index ""item_barcode_idx_unique"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement ""DROP INDEX IF EXISTS item_barcode_idx_unique""" 2021-11-20 15:24:55.090,"PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE" 2021-11-20 15:24:55.090,"SQL statement ""SELECT rmb_internal_index(" 2021-11-20 15:24:55.090," 'item', 'item_barcode_idx_unique', 'ADD'," 2021-11-20 15:24:55.090, 'CREATE UNIQUE INDEX IF NOT EXISTS item_barcode_idx_unique ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:24:55.090, || $rmb$(lower(jsonb->>'barcode'))$rmb$ 2021-11-20 15:24:55.090," )""" 2021-11-20 15:24:55.090,"PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1206', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:24:55.316,15:24:55 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:55.327,15:24:55 [] [] [] [] INFO LogUtil 127.0.0.1:57832 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 11 tid=fs00001046 OK 2021-11-20 15:24:55.801,15:24:55 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:55.812,15:24:55 [] [] [] [] INFO LogUtil 127.0.0.1:57846 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 10 tid=fs00001046 OK 2021-11-20 15:24:55.935,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:54 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.012 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;340540/tenant""" 2021-11-20 15:24:55.935,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:55 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.012 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;782569/tenant""" 2021-11-20 15:24:55.935,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:55 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.011 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;578625/tenant""" 2021-11-20 15:24:56.404,15:24:56 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:56.414,15:24:56 [] [] [] [] INFO LogUtil 127.0.0.1:57862 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 10 tid=fs00001046 OK 2021-11-20 15:24:56.935,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:56 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.011 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;791261/tenant""" 2021-11-20 15:24:57.151,15:24:57 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:57.163,15:24:57 [] [] [] [] INFO LogUtil 127.0.0.1:57876 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 11 tid=fs00001046 OK 2021-11-20 15:24:57.936,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:57 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.011 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;404603/tenant""" 2021-11-20 15:24:58.087,15:24:58 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:58.098,15:24:58 [] [] [] [] INFO LogUtil 127.0.0.1:57908 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 11 tid=fs00001046 OK 2021-11-20 15:24:58.936,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:58 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.011 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;633693/tenant""" 2021-11-20 15:24:59.246,15:24:59 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:24:59.253,15:24:59 [] [] [] [] INFO LogUtil 127.0.0.1:57918 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 6 tid=fs00001046 OK 2021-11-20 15:24:59.936,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:24:59 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.007 uct=""0.000"" uht=""0.004"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;564251/tenant""" 2021-11-20 15:25:00.685,15:25:00 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:00.687,15:25:00 [] [] [] [] INFO LogUtil 127.0.0.1:57926 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:00.936,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:00 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.004"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;736463/tenant""" 2021-11-20 15:25:02.480,15:25:02 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:02.482,15:25:02 [] [] [] [] INFO LogUtil 127.0.0.1:57932 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:02.937,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:02 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.002 uct=""0.000"" uht=""0.004"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;565129/tenant""" 2021-11-20 15:25:04.715,15:25:04 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:04.717,15:25:04 [] [] [] [] INFO LogUtil 127.0.0.1:57952 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:04.938,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:04 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.000"" urt=""0.000"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;824737/tenant""" 2021-11-20 15:25:07.507,15:25:07 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:07.509,15:25:07 [] [] [] [] INFO LogUtil 127.0.0.1:57958 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:07.938,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:07 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.000"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;953747/tenant""" 2021-11-20 15:25:10.994,15:25:10 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:10.996,15:25:10 [] [] [] [] INFO LogUtil 127.0.0.1:57978 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:11.939,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:10 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.000"" urt=""0.000"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;530061/tenant""" 2021-11-20 15:25:13.141,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:25:13.141, BEGIN 2021-11-20 15:25:13.141, PERFORM rmb_internal_index( 2021-11-20 15:25:13.141," 'item', 'item_barcode_idx_unique', 'ADD'," 2021-11-20 15:25:13.141, 'CREATE UNIQUE INDEX IF NOT EXISTS item_barcode_idx_unique ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:25:13.141, || $rmb$(lower(jsonb->>'barcode'))$rmb$ 2021-11-20 15:25:13.141, ); 2021-11-20 15:25:13.141, END $do$; 2021-11-20 15:25:13.141,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:25:13.141, BEGIN 2021-11-20 15:25:13.141, PERFORM rmb_internal_index( 2021-11-20 15:25:13.141," 'item', 'item_hrid_idx_unique', 'ADD'," 2021-11-20 15:25:13.141, 'CREATE UNIQUE INDEX IF NOT EXISTS item_hrid_idx_unique ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:25:13.141, || $rmb$(lower(f_unaccent(jsonb->>'hrid')))$rmb$ 2021-11-20 15:25:13.141, ); 2021-11-20 15:25:13.141, END $do$; 2021-11-20 15:25:13.142,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:25:13.142, BEGIN 2021-11-20 15:25:13.142, PERFORM rmb_internal_index( 2021-11-20 15:25:13.142," 'item', 'item_hrid_idx_unique', 'ADD'," 2021-11-20 15:25:13.142, 'CREATE UNIQUE INDEX IF NOT EXISTS item_hrid_idx_unique ON fs00001046_mod_inventory_storage.item ' 2021-11-20 15:25:13.142, || $rmb$(lower(f_unaccent(jsonb->>'hrid')))$rmb$ 2021-11-20 15:25:13.142, ); 2021-11-20 15:25:13.142, END $do$; 2021-11-20 15:25:13.142,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:25:13.142, BEGIN 2021-11-20 15:25:13.142, PERFORM rmb_internal_index( 2021-11-20 15:25:13.142," 'item', 'item_status_name_idx_gin', 'ADD'," 2021-11-20 15:25:13.142, 'CREATE INDEX IF NOT EXISTS item_status_name_idx_gin ON fs00001046_mod_inventory_storage.item USING GIN ' 2021-11-20 15:25:13.142, || $rmb$((lower(f_unaccent(jsonb->'status'->>'name'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:25:13.142, ); 2021-11-20 15:25:13.142, END $do$; 2021-11-20 15:25:13.143,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:25:13.143, BEGIN 2021-11-20 15:25:13.143, PERFORM rmb_internal_index( 2021-11-20 15:25:13.143," 'item', 'item_status_name_idx_gin', 'ADD'," 2021-11-20 15:25:13.143, 'CREATE INDEX IF NOT EXISTS item_status_name_idx_gin ON fs00001046_mod_inventory_storage.item USING GIN ' 2021-11-20 15:25:13.143, || $rmb$((lower(f_unaccent(jsonb->'status'->>'name'))) public.gin_trgm_ops)$rmb$ 2021-11-20 15:25:13.143, ); 2021-11-20 15:25:13.143, END $do$; 2021-11-20 15:25:13.143,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:25:13.143, BEGIN 2021-11-20 15:25:13.143, PERFORM rmb_internal_index( 2021-11-20 15:25:13.143," 'item', 'item_callNumberAndSuffixNormalized_idx_ft', 'ADD'," 2021-11-20 15:25:13.143, 'CREATE INDEX IF NOT EXISTS item_callNumberAndSuffixNormalized_idx_ft ON fs00001046_mod_inventory_storage.item USING GIN ' 2021-11-20 15:25:13.143, || $rmb$( get_tsvector(normalize_item_call_number_and_suffix(jsonb)) )$rmb$); 2021-11-20 15:25:13.143, END $do$; 2021-11-20 15:25:13.144,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:25:13.144, BEGIN 2021-11-20 15:25:13.144, PERFORM rmb_internal_index( 2021-11-20 15:25:13.144," 'item', 'item_callNumberAndSuffixNormalized_idx_ft', 'ADD'," 2021-11-20 15:25:13.144, 'CREATE INDEX IF NOT EXISTS item_callNumberAndSuffixNormalized_idx_ft ON fs00001046_mod_inventory_storage.item USING GIN ' 2021-11-20 15:25:13.144, || $rmb$( get_tsvector(normalize_item_call_number_and_suffix(jsonb)) )$rmb$); 2021-11-20 15:25:13.144, END $do$; 2021-11-20 15:25:13.144,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:25:13.144, BEGIN 2021-11-20 15:25:13.144, PERFORM rmb_internal_index( 2021-11-20 15:25:13.144," 'item', 'item_fullCallNumberNormalized_idx_ft', 'ADD'," 2021-11-20 15:25:13.144, 'CREATE INDEX IF NOT EXISTS item_fullCallNumberNormalized_idx_ft ON fs00001046_mod_inventory_storage.item USING GIN ' 2021-11-20 15:25:13.144, || $rmb$( get_tsvector(normalize_item_full_call_number(jsonb)) )$rmb$); 2021-11-20 15:25:13.144, END $do$; 2021-11-20 15:25:13.145,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:25:13.145, BEGIN 2021-11-20 15:25:13.145, PERFORM rmb_internal_index( 2021-11-20 15:25:13.145," 'item', 'item_fullCallNumberNormalized_idx_ft', 'ADD'," 2021-11-20 15:25:13.145, 'CREATE INDEX IF NOT EXISTS item_fullCallNumberNormalized_idx_ft ON fs00001046_mod_inventory_storage.item USING GIN ' 2021-11-20 15:25:13.145, || $rmb$( get_tsvector(normalize_item_full_call_number(jsonb)) )$rmb$); 2021-11-20 15:25:13.145, END $do$; 2021-11-20 15:25:13.145,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS holdingsRecordId UUID; 2021-11-20 15:25:13.146,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""holdingsrecordid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.146,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS holdingsRecordId UUID; 2021-11-20 15:25:13.146,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.146, BEGIN 2021-11-20 15:25:13.146, BEGIN 2021-11-20 15:25:13.146, ALTER TABLE item 2021-11-20 15:25:13.146, ADD CONSTRAINT holdingsRecordId_holdings_record_fkey 2021-11-20 15:25:13.146, FOREIGN KEY (holdingsRecordId) REFERENCES holdings_record; 2021-11-20 15:25:13.146, EXCEPTION 2021-11-20 15:25:13.146, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.146, END; 2021-11-20 15:25:13.146, END $$; 2021-11-20 15:25:13.147,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.147, BEGIN 2021-11-20 15:25:13.147, BEGIN 2021-11-20 15:25:13.147, ALTER TABLE item 2021-11-20 15:25:13.147, ADD CONSTRAINT holdingsRecordId_holdings_record_fkey 2021-11-20 15:25:13.147, FOREIGN KEY (holdingsRecordId) REFERENCES holdings_record; 2021-11-20 15:25:13.147, EXCEPTION 2021-11-20 15:25:13.147, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.147, END; 2021-11-20 15:25:13.147, END $$; 2021-11-20 15:25:13.147,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_holdingsRecordId_idx ON fs00001046_mod_inventory_storage.item (holdingsRecordId); 2021-11-20 15:25:13.147,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_holdingsrecordid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.147,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_holdingsRecordId_idx ON fs00001046_mod_inventory_storage.item (holdingsRecordId); 2021-11-20 15:25:13.148,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.148,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.148,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS permanentLoanTypeId UUID; 2021-11-20 15:25:13.149,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""permanentloantypeid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.149,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS permanentLoanTypeId UUID; 2021-11-20 15:25:13.149,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.149, BEGIN 2021-11-20 15:25:13.149, BEGIN 2021-11-20 15:25:13.149, ALTER TABLE item 2021-11-20 15:25:13.149, ADD CONSTRAINT permanentLoanTypeId_loan_type_fkey 2021-11-20 15:25:13.149, FOREIGN KEY (permanentLoanTypeId) REFERENCES loan_type; 2021-11-20 15:25:13.149, EXCEPTION 2021-11-20 15:25:13.149, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.149, END; 2021-11-20 15:25:13.149, END $$; 2021-11-20 15:25:13.150,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.150, BEGIN 2021-11-20 15:25:13.150, BEGIN 2021-11-20 15:25:13.150, ALTER TABLE item 2021-11-20 15:25:13.150, ADD CONSTRAINT permanentLoanTypeId_loan_type_fkey 2021-11-20 15:25:13.150, FOREIGN KEY (permanentLoanTypeId) REFERENCES loan_type; 2021-11-20 15:25:13.150, EXCEPTION 2021-11-20 15:25:13.150, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.150, END; 2021-11-20 15:25:13.150, END $$; 2021-11-20 15:25:13.150,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_permanentLoanTypeId_idx ON fs00001046_mod_inventory_storage.item (permanentLoanTypeId); 2021-11-20 15:25:13.150,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_permanentloantypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.151,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_permanentLoanTypeId_idx ON fs00001046_mod_inventory_storage.item (permanentLoanTypeId); 2021-11-20 15:25:13.151,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.151,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.151,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS temporaryLoanTypeId UUID; 2021-11-20 15:25:13.152,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""temporaryloantypeid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.152,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS temporaryLoanTypeId UUID; 2021-11-20 15:25:13.152,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.152, BEGIN 2021-11-20 15:25:13.152, BEGIN 2021-11-20 15:25:13.152, ALTER TABLE item 2021-11-20 15:25:13.152, ADD CONSTRAINT temporaryLoanTypeId_loan_type_fkey 2021-11-20 15:25:13.152, FOREIGN KEY (temporaryLoanTypeId) REFERENCES loan_type; 2021-11-20 15:25:13.152, EXCEPTION 2021-11-20 15:25:13.152, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.152, END; 2021-11-20 15:25:13.152, END $$; 2021-11-20 15:25:13.153,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.153, BEGIN 2021-11-20 15:25:13.153, BEGIN 2021-11-20 15:25:13.153, ALTER TABLE item 2021-11-20 15:25:13.153, ADD CONSTRAINT temporaryLoanTypeId_loan_type_fkey 2021-11-20 15:25:13.153, FOREIGN KEY (temporaryLoanTypeId) REFERENCES loan_type; 2021-11-20 15:25:13.153, EXCEPTION 2021-11-20 15:25:13.153, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.153, END; 2021-11-20 15:25:13.153, END $$; 2021-11-20 15:25:13.153,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_temporaryLoanTypeId_idx ON fs00001046_mod_inventory_storage.item (temporaryLoanTypeId); 2021-11-20 15:25:13.153,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_temporaryloantypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.154,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_temporaryLoanTypeId_idx ON fs00001046_mod_inventory_storage.item (temporaryLoanTypeId); 2021-11-20 15:25:13.154,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.154,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.154,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS materialTypeId UUID; 2021-11-20 15:25:13.155,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""materialtypeid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.155,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS materialTypeId UUID; 2021-11-20 15:25:13.155,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.155, BEGIN 2021-11-20 15:25:13.155, BEGIN 2021-11-20 15:25:13.155, ALTER TABLE item 2021-11-20 15:25:13.155, ADD CONSTRAINT materialTypeId_material_type_fkey 2021-11-20 15:25:13.155, FOREIGN KEY (materialTypeId) REFERENCES material_type; 2021-11-20 15:25:13.155, EXCEPTION 2021-11-20 15:25:13.155, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.155, END; 2021-11-20 15:25:13.155, END $$; 2021-11-20 15:25:13.156,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.156, BEGIN 2021-11-20 15:25:13.156, BEGIN 2021-11-20 15:25:13.156, ALTER TABLE item 2021-11-20 15:25:13.156, ADD CONSTRAINT materialTypeId_material_type_fkey 2021-11-20 15:25:13.156, FOREIGN KEY (materialTypeId) REFERENCES material_type; 2021-11-20 15:25:13.156, EXCEPTION 2021-11-20 15:25:13.156, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.156, END; 2021-11-20 15:25:13.156, END $$; 2021-11-20 15:25:13.156,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_materialTypeId_idx ON fs00001046_mod_inventory_storage.item (materialTypeId); 2021-11-20 15:25:13.156,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_materialtypeid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.157,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_materialTypeId_idx ON fs00001046_mod_inventory_storage.item (materialTypeId); 2021-11-20 15:25:13.157,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.157,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.157,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS permanentLocationId UUID; 2021-11-20 15:25:13.158,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""permanentlocationid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.158,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS permanentLocationId UUID; 2021-11-20 15:25:13.158,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.158, BEGIN 2021-11-20 15:25:13.158, BEGIN 2021-11-20 15:25:13.158, ALTER TABLE item 2021-11-20 15:25:13.158, ADD CONSTRAINT permanentLocationId_location_fkey 2021-11-20 15:25:13.158, FOREIGN KEY (permanentLocationId) REFERENCES location; 2021-11-20 15:25:13.158, EXCEPTION 2021-11-20 15:25:13.158, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.158, END; 2021-11-20 15:25:13.158, END $$; 2021-11-20 15:25:13.159,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.159, BEGIN 2021-11-20 15:25:13.159, BEGIN 2021-11-20 15:25:13.159, ALTER TABLE item 2021-11-20 15:25:13.159, ADD CONSTRAINT permanentLocationId_location_fkey 2021-11-20 15:25:13.159, FOREIGN KEY (permanentLocationId) REFERENCES location; 2021-11-20 15:25:13.159, EXCEPTION 2021-11-20 15:25:13.159, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.159, END; 2021-11-20 15:25:13.159, END $$; 2021-11-20 15:25:13.159,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_permanentLocationId_idx ON fs00001046_mod_inventory_storage.item (permanentLocationId); 2021-11-20 15:25:13.159,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_permanentlocationid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.159,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_permanentLocationId_idx ON fs00001046_mod_inventory_storage.item (permanentLocationId); 2021-11-20 15:25:13.159,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.160,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.160,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS temporaryLocationId UUID; 2021-11-20 15:25:13.161,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""temporarylocationid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.162,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS temporaryLocationId UUID; 2021-11-20 15:25:13.162,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.162, BEGIN 2021-11-20 15:25:13.162, BEGIN 2021-11-20 15:25:13.162, ALTER TABLE item 2021-11-20 15:25:13.162, ADD CONSTRAINT temporaryLocationId_location_fkey 2021-11-20 15:25:13.162, FOREIGN KEY (temporaryLocationId) REFERENCES location; 2021-11-20 15:25:13.162, EXCEPTION 2021-11-20 15:25:13.162, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.162, END; 2021-11-20 15:25:13.162, END $$; 2021-11-20 15:25:13.163,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.163, BEGIN 2021-11-20 15:25:13.163, BEGIN 2021-11-20 15:25:13.163, ALTER TABLE item 2021-11-20 15:25:13.163, ADD CONSTRAINT temporaryLocationId_location_fkey 2021-11-20 15:25:13.163, FOREIGN KEY (temporaryLocationId) REFERENCES location; 2021-11-20 15:25:13.163, EXCEPTION 2021-11-20 15:25:13.163, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.163, END; 2021-11-20 15:25:13.163, END $$; 2021-11-20 15:25:13.164,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_temporaryLocationId_idx ON fs00001046_mod_inventory_storage.item (temporaryLocationId); 2021-11-20 15:25:13.164,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_temporarylocationid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.165,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_temporaryLocationId_idx ON fs00001046_mod_inventory_storage.item (temporaryLocationId); 2021-11-20 15:25:13.165,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.165,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.165,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS effectiveLocationId UUID; 2021-11-20 15:25:13.166,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""effectivelocationid"" of relation ""item"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.166,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.item ADD COLUMN IF NOT EXISTS effectiveLocationId UUID; 2021-11-20 15:25:13.166,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.166, BEGIN 2021-11-20 15:25:13.166, BEGIN 2021-11-20 15:25:13.166, ALTER TABLE item 2021-11-20 15:25:13.166, ADD CONSTRAINT effectiveLocationId_location_fkey 2021-11-20 15:25:13.166, FOREIGN KEY (effectiveLocationId) REFERENCES location; 2021-11-20 15:25:13.166, EXCEPTION 2021-11-20 15:25:13.166, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.166, END; 2021-11-20 15:25:13.166, END $$; 2021-11-20 15:25:13.167,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.167, BEGIN 2021-11-20 15:25:13.167, BEGIN 2021-11-20 15:25:13.167, ALTER TABLE item 2021-11-20 15:25:13.167, ADD CONSTRAINT effectiveLocationId_location_fkey 2021-11-20 15:25:13.167, FOREIGN KEY (effectiveLocationId) REFERENCES location; 2021-11-20 15:25:13.167, EXCEPTION 2021-11-20 15:25:13.167, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.167, END; 2021-11-20 15:25:13.167, END $$; 2021-11-20 15:25:13.167,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS item_effectiveLocationId_idx ON fs00001046_mod_inventory_storage.item (effectiveLocationId); 2021-11-20 15:25:13.168,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""item_effectivelocationid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.168,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS item_effectiveLocationId_idx ON fs00001046_mod_inventory_storage.item (effectiveLocationId); 2021-11-20 15:25:13.168,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.168,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('item'); 2021-11-20 15:25:13.168,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_item_references() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.168, BEGIN 2021-11-20 15:25:13.168, NEW.holdingsRecordId = (NEW.jsonb->>'holdingsRecordId'); 2021-11-20 15:25:13.168, NEW.permanentLoanTypeId = (NEW.jsonb->>'permanentLoanTypeId'); 2021-11-20 15:25:13.168, NEW.temporaryLoanTypeId = (NEW.jsonb->>'temporaryLoanTypeId'); 2021-11-20 15:25:13.168, NEW.materialTypeId = (NEW.jsonb->>'materialTypeId'); 2021-11-20 15:25:13.168, NEW.permanentLocationId = (NEW.jsonb->>'permanentLocationId'); 2021-11-20 15:25:13.168, NEW.temporaryLocationId = (NEW.jsonb->>'temporaryLocationId'); 2021-11-20 15:25:13.168, NEW.effectiveLocationId = (NEW.jsonb->>'effectiveLocationId'); 2021-11-20 15:25:13.168, RETURN NEW; 2021-11-20 15:25:13.168, END; 2021-11-20 15:25:13.168, $$ language 'plpgsql'; 2021-11-20 15:25:13.169,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_item_references() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.169, BEGIN 2021-11-20 15:25:13.169, NEW.holdingsRecordId = (NEW.jsonb->>'holdingsRecordId'); 2021-11-20 15:25:13.169, NEW.permanentLoanTypeId = (NEW.jsonb->>'permanentLoanTypeId'); 2021-11-20 15:25:13.169, NEW.temporaryLoanTypeId = (NEW.jsonb->>'temporaryLoanTypeId'); 2021-11-20 15:25:13.169, NEW.materialTypeId = (NEW.jsonb->>'materialTypeId'); 2021-11-20 15:25:13.169, NEW.permanentLocationId = (NEW.jsonb->>'permanentLocationId'); 2021-11-20 15:25:13.169, NEW.temporaryLocationId = (NEW.jsonb->>'temporaryLocationId'); 2021-11-20 15:25:13.169, NEW.effectiveLocationId = (NEW.jsonb->>'effectiveLocationId'); 2021-11-20 15:25:13.169, RETURN NEW; 2021-11-20 15:25:13.169, END; 2021-11-20 15:25:13.169, $$ language 'plpgsql'; 2021-11-20 15:25:13.169,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_item_references ON fs00001046_mod_inventory_storage.item CASCADE; 2021-11-20 15:25:13.170,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_item_references ON fs00001046_mod_inventory_storage.item CASCADE; 2021-11-20 15:25:13.170,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_item_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_item_references(); 2021-11-20 15:25:13.171,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_item_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_item_references(); 2021-11-20 15:25:13.171,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.171, DECLARE 2021-11-20 15:25:13.171, version TEXT; 2021-11-20 15:25:13.171, i INT; 2021-11-20 15:25:13.171, BEGIN 2021-11-20 15:25:13.171, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:25:13.171, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:25:13.171, RETURN; 2021-11-20 15:25:13.171, END IF; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'holdingsRecordId_holdings_record_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'permanentLoanTypeId_loan_type_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'temporaryLoanTypeId_loan_type_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'materialTypeId_material_type_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'permanentLocationId_location_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'temporaryLocationId_location_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.171, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.171, || 'effectiveLocationId_location_fkey' || i; 2021-11-20 15:25:13.171, END LOOP; 2021-11-20 15:25:13.171, END $$; 2021-11-20 15:25:13.172,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.172, DECLARE 2021-11-20 15:25:13.172, version TEXT; 2021-11-20 15:25:13.172, i INT; 2021-11-20 15:25:13.172, BEGIN 2021-11-20 15:25:13.172, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:25:13.172, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:25:13.172, RETURN; 2021-11-20 15:25:13.172, END IF; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'holdingsRecordId_holdings_record_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'permanentLoanTypeId_loan_type_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'temporaryLoanTypeId_loan_type_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'materialTypeId_material_type_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'permanentLocationId_location_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'temporaryLocationId_location_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.172, EXECUTE 'ALTER TABLE item DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.172, || 'effectiveLocationId_location_fkey' || i; 2021-11-20 15:25:13.172, END LOOP; 2021-11-20 15:25:13.172, END $$; 2021-11-20 15:25:13.172,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.item_set_ol_version() RETURNS trigger AS $$ 2021-11-20 15:25:13.172, BEGIN 2021-11-20 15:25:13.172, CASE TG_OP 2021-11-20 15:25:13.172, WHEN 'INSERT' THEN 2021-11-20 15:25:13.172," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}', to_jsonb(1));" 2021-11-20 15:25:13.172, WHEN 'UPDATE' THEN 2021-11-20 15:25:13.172, IF NEW.jsonb->'_version' IS DISTINCT FROM OLD.jsonb->'_version' THEN 2021-11-20 15:25:13.172, RAISE NOTICE 'Ignoring optimistic locking conflict while overwriting changed record %: ' 2021-11-20 15:25:13.172," 'Stored _version is %, _version of request is %'," 2021-11-20 15:25:13.172," OLD.id, OLD.jsonb->'_version', NEW.jsonb->'_version' " 2021-11-20 15:25:13.172," USING ERRCODE = '23F09', TABLE = 'item', SCHEMA = 'fs00001046_mod_inventory_storage';" 2021-11-20 15:25:13.172, END IF; 2021-11-20 15:25:13.172," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}'," 2021-11-20 15:25:13.172," to_jsonb(COALESCE((OLD.jsonb->>'_version')::numeric + 1, 1)));" 2021-11-20 15:25:13.172, END CASE; 2021-11-20 15:25:13.172, RETURN NEW; 2021-11-20 15:25:13.172, END; 2021-11-20 15:25:13.172, $$ LANGUAGE plpgsql; 2021-11-20 15:25:13.173,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.item_set_ol_version() RETURNS trigger AS $$ 2021-11-20 15:25:13.173, BEGIN 2021-11-20 15:25:13.173, CASE TG_OP 2021-11-20 15:25:13.173, WHEN 'INSERT' THEN 2021-11-20 15:25:13.173," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}', to_jsonb(1));" 2021-11-20 15:25:13.173, WHEN 'UPDATE' THEN 2021-11-20 15:25:13.173, IF NEW.jsonb->'_version' IS DISTINCT FROM OLD.jsonb->'_version' THEN 2021-11-20 15:25:13.173, RAISE NOTICE 'Ignoring optimistic locking conflict while overwriting changed record %: ' 2021-11-20 15:25:13.173," 'Stored _version is %, _version of request is %'," 2021-11-20 15:25:13.173," OLD.id, OLD.jsonb->'_version', NEW.jsonb->'_version' " 2021-11-20 15:25:13.173," USING ERRCODE = '23F09', TABLE = 'item', SCHEMA = 'fs00001046_mod_inventory_storage';" 2021-11-20 15:25:13.173, END IF; 2021-11-20 15:25:13.173," NEW.jsonb = jsonb_set(NEW.jsonb, '{_version}'," 2021-11-20 15:25:13.173," to_jsonb(COALESCE((OLD.jsonb->>'_version')::numeric + 1, 1)));" 2021-11-20 15:25:13.173, END CASE; 2021-11-20 15:25:13.173, RETURN NEW; 2021-11-20 15:25:13.173, END; 2021-11-20 15:25:13.173, $$ LANGUAGE plpgsql; 2021-11-20 15:25:13.173,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_item_ol_version_trigger ON fs00001046_mod_inventory_storage.item CASCADE; 2021-11-20 15:25:13.174,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_item_ol_version_trigger ON fs00001046_mod_inventory_storage.item CASCADE; 2021-11-20 15:25:13.174,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_item_ol_version_trigger BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.item_set_ol_version(); 2021-11-20 15:25:13.175,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_item_ol_version_trigger BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.item FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.item_set_ol_version(); 2021-11-20 15:25:13.175,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_hrid_settings_references ON fs00001046_mod_inventory_storage.hrid_settings CASCADE; 2021-11-20 15:25:13.176,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_hrid_settings_references"" for relation ""fs00001046_mod_inventory_storage.hrid_settings"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.176,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_hrid_settings_references ON fs00001046_mod_inventory_storage.hrid_settings CASCADE; 2021-11-20 15:25:13.176,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_hrid_settings_references(); 2021-11-20 15:25:13.178,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_hrid_settings_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.178,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_hrid_settings_references(); 2021-11-20 15:25:13.178,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_hrid_settings_ol_version_trigger ON fs00001046_mod_inventory_storage.hrid_settings CASCADE; 2021-11-20 15:25:13.178,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_hrid_settings_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.hrid_settings"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.178,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_hrid_settings_ol_version_trigger ON fs00001046_mod_inventory_storage.hrid_settings CASCADE; 2021-11-20 15:25:13.178,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.hrid_settings_set_ol_version() CASCADE; 2021-11-20 15:25:13.178,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.hrid_settings_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.178,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.hrid_settings_set_ol_version() CASCADE; 2021-11-20 15:25:13.178,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.preceding_succeeding_title ADD COLUMN IF NOT EXISTS precedingInstanceId UUID; 2021-11-20 15:25:13.180,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""precedinginstanceid"" of relation ""preceding_succeeding_title"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.181,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.preceding_succeeding_title ADD COLUMN IF NOT EXISTS precedingInstanceId UUID; 2021-11-20 15:25:13.181,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.181, BEGIN 2021-11-20 15:25:13.181, BEGIN 2021-11-20 15:25:13.181, ALTER TABLE preceding_succeeding_title 2021-11-20 15:25:13.181, ADD CONSTRAINT precedingInstanceId_instance_fkey 2021-11-20 15:25:13.181, FOREIGN KEY (precedingInstanceId) REFERENCES instance; 2021-11-20 15:25:13.181, EXCEPTION 2021-11-20 15:25:13.181, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.181, END; 2021-11-20 15:25:13.181, END $$; 2021-11-20 15:25:13.181,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.181, BEGIN 2021-11-20 15:25:13.181, BEGIN 2021-11-20 15:25:13.181, ALTER TABLE preceding_succeeding_title 2021-11-20 15:25:13.181, ADD CONSTRAINT precedingInstanceId_instance_fkey 2021-11-20 15:25:13.181, FOREIGN KEY (precedingInstanceId) REFERENCES instance; 2021-11-20 15:25:13.181, EXCEPTION 2021-11-20 15:25:13.181, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.181, END; 2021-11-20 15:25:13.181, END $$; 2021-11-20 15:25:13.181,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS preceding_succeeding_title_precedingInstanceId_idx ON fs00001046_mod_inventory_storage.preceding_succeeding_title (precedingInstanceId); 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""preceding_succeeding_title_precedinginstanceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS preceding_succeeding_title_precedingInstanceId_idx ON fs00001046_mod_inventory_storage.preceding_succeeding_title (precedingInstanceId); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('preceding_succeeding_title'); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('preceding_succeeding_title'); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.preceding_succeeding_title ADD COLUMN IF NOT EXISTS succeedingInstanceId UUID; 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""succeedinginstanceid"" of relation ""preceding_succeeding_title"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.preceding_succeeding_title ADD COLUMN IF NOT EXISTS succeedingInstanceId UUID; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, ALTER TABLE preceding_succeeding_title 2021-11-20 15:25:13.192, ADD CONSTRAINT succeedingInstanceId_instance_fkey 2021-11-20 15:25:13.192, FOREIGN KEY (succeedingInstanceId) REFERENCES instance; 2021-11-20 15:25:13.192, EXCEPTION 2021-11-20 15:25:13.192, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.192, END; 2021-11-20 15:25:13.192, END $$; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, ALTER TABLE preceding_succeeding_title 2021-11-20 15:25:13.192, ADD CONSTRAINT succeedingInstanceId_instance_fkey 2021-11-20 15:25:13.192, FOREIGN KEY (succeedingInstanceId) REFERENCES instance; 2021-11-20 15:25:13.192, EXCEPTION 2021-11-20 15:25:13.192, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.192, END; 2021-11-20 15:25:13.192, END $$; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS preceding_succeeding_title_succeedingInstanceId_idx ON fs00001046_mod_inventory_storage.preceding_succeeding_title (succeedingInstanceId); 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""preceding_succeeding_title_succeedinginstanceid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS preceding_succeeding_title_succeedingInstanceId_idx ON fs00001046_mod_inventory_storage.preceding_succeeding_title (succeedingInstanceId); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('preceding_succeeding_title'); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('preceding_succeeding_title'); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_preceding_succeeding_title_references() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, NEW.precedingInstanceId = (NEW.jsonb->>'precedingInstanceId'); 2021-11-20 15:25:13.192, NEW.succeedingInstanceId = (NEW.jsonb->>'succeedingInstanceId'); 2021-11-20 15:25:13.192, RETURN NEW; 2021-11-20 15:25:13.192, END; 2021-11-20 15:25:13.192, $$ language 'plpgsql'; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_preceding_succeeding_title_references() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, NEW.precedingInstanceId = (NEW.jsonb->>'precedingInstanceId'); 2021-11-20 15:25:13.192, NEW.succeedingInstanceId = (NEW.jsonb->>'succeedingInstanceId'); 2021-11-20 15:25:13.192, RETURN NEW; 2021-11-20 15:25:13.192, END; 2021-11-20 15:25:13.192, $$ language 'plpgsql'; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_preceding_succeeding_title_references ON fs00001046_mod_inventory_storage.preceding_succeeding_title CASCADE; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_preceding_succeeding_title_references ON fs00001046_mod_inventory_storage.preceding_succeeding_title CASCADE; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_preceding_succeeding_title_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.preceding_succeeding_title FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_preceding_succeeding_title_references(); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_preceding_succeeding_title_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.preceding_succeeding_title FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_preceding_succeeding_title_references(); 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.192, DECLARE 2021-11-20 15:25:13.192, version TEXT; 2021-11-20 15:25:13.192, i INT; 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:25:13.192, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:25:13.192, RETURN; 2021-11-20 15:25:13.192, END IF; 2021-11-20 15:25:13.192, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.192, EXECUTE 'ALTER TABLE preceding_succeeding_title DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.192, || 'precedingInstanceId_instance_fkey' || i; 2021-11-20 15:25:13.192, END LOOP; 2021-11-20 15:25:13.192, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.192, EXECUTE 'ALTER TABLE preceding_succeeding_title DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.192, || 'succeedingInstanceId_instance_fkey' || i; 2021-11-20 15:25:13.192, END LOOP; 2021-11-20 15:25:13.192, END $$; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.192, DECLARE 2021-11-20 15:25:13.192, version TEXT; 2021-11-20 15:25:13.192, i INT; 2021-11-20 15:25:13.192, BEGIN 2021-11-20 15:25:13.192, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:25:13.192, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:25:13.192, RETURN; 2021-11-20 15:25:13.192, END IF; 2021-11-20 15:25:13.192, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.192, EXECUTE 'ALTER TABLE preceding_succeeding_title DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.192, || 'precedingInstanceId_instance_fkey' || i; 2021-11-20 15:25:13.192, END LOOP; 2021-11-20 15:25:13.192, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.192, EXECUTE 'ALTER TABLE preceding_succeeding_title DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.192, || 'succeedingInstanceId_instance_fkey' || i; 2021-11-20 15:25:13.192, END LOOP; 2021-11-20 15:25:13.192, END $$; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_preceding_succeeding_title_ol_version_trigger ON fs00001046_mod_inventory_storage.preceding_succeeding_title CASCADE; 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_preceding_succeeding_title_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.preceding_succeeding_title"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_preceding_succeeding_title_ol_version_trigger ON fs00001046_mod_inventory_storage.preceding_succeeding_title CASCADE; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.preceding_succeeding_title_set_ol_version() CASCADE; 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.preceding_succeeding_title_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.preceding_succeeding_title_set_ol_version() CASCADE; 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.reindex_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""reindex_job"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.reindex_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reindex_job ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.192,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_reindex_job"" for relation ""fs00001046_mod_inventory_storage.reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reindex_job ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.192,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.reindex_job FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.193,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.reindex_job FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.194,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.reindex_job DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:25:13.194,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""creation_date"" of relation ""reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.194,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""created_by"" of relation ""reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.194,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.reindex_job DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:25:13.195,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reindex_job_references ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.195,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_reindex_job_references"" for relation ""fs00001046_mod_inventory_storage.reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.195,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reindex_job_references ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.195,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_reindex_job_references(); 2021-11-20 15:25:13.196,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_reindex_job_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.196,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_reindex_job_references(); 2021-11-20 15:25:13.196,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.reindex_job_set_md() CASCADE; 2021-11-20 15:25:13.197,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.reindex_job_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.197,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.reindex_job_set_md() CASCADE; 2021-11-20 15:25:13.197,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reindex_job_md_trigger ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.197,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_reindex_job_md_trigger"" for relation ""fs00001046_mod_inventory_storage.reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.197,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reindex_job_md_trigger ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.197,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_reindex_job_md_json() CASCADE; 2021-11-20 15:25:13.198,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.set_reindex_job_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.198,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_reindex_job_md_json() CASCADE; 2021-11-20 15:25:13.198,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reindex_job_md_json_trigger ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.199,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_reindex_job_md_json_trigger"" for relation ""fs00001046_mod_inventory_storage.reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.199,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reindex_job_md_json_trigger ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.199,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reindex_job_ol_version_trigger ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.199,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_reindex_job_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.reindex_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.199,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reindex_job_ol_version_trigger ON fs00001046_mod_inventory_storage.reindex_job CASCADE; 2021-11-20 15:25:13.199,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.reindex_job_set_ol_version() CASCADE; 2021-11-20 15:25:13.200,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.reindex_job_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.200,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.reindex_job_set_ol_version() CASCADE; 2021-11-20 15:25:13.200,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.bound_with_part ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.201,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""bound_with_part"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.201,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.bound_with_part ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.201,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_bound_with_part ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.201,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_bound_with_part"" for relation ""fs00001046_mod_inventory_storage.bound_with_part"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.201,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_bound_with_part ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.201,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.202,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.202,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.203,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.203,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.bound_with_part ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:25:13.205,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""creation_date"" of relation ""bound_with_part"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.205,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""created_by"" of relation ""bound_with_part"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.205,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.bound_with_part ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text;" 2021-11-20 15:25:13.205,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $do$ 2021-11-20 15:25:13.205, BEGIN 2021-11-20 15:25:13.205, PERFORM rmb_internal_index( 2021-11-20 15:25:13.205," 'bound_with_part', 'bound_with_part_itemId_holdingsRecordId_idx_unique', 'ADD'," 2021-11-20 15:25:13.205, 'CREATE UNIQUE INDEX IF NOT EXISTS bound_with_part_itemId_holdingsRecordId_idx_unique ON fs00001046_mod_inventory_storage.bound_with_part ' 2021-11-20 15:25:13.205," || $rmb$(lower(f_unaccent(jsonb->>'itemId')) , lower(f_unaccent(jsonb->>'holdingsRecordId')))$rmb$" 2021-11-20 15:25:13.205, ); 2021-11-20 15:25:13.205, END $do$; 2021-11-20 15:25:13.206,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $do$ 2021-11-20 15:25:13.206, BEGIN 2021-11-20 15:25:13.206, PERFORM rmb_internal_index( 2021-11-20 15:25:13.206," 'bound_with_part', 'bound_with_part_itemId_holdingsRecordId_idx_unique', 'ADD'," 2021-11-20 15:25:13.206, 'CREATE UNIQUE INDEX IF NOT EXISTS bound_with_part_itemId_holdingsRecordId_idx_unique ON fs00001046_mod_inventory_storage.bound_with_part ' 2021-11-20 15:25:13.206," || $rmb$(lower(f_unaccent(jsonb->>'itemId')) , lower(f_unaccent(jsonb->>'holdingsRecordId')))$rmb$" 2021-11-20 15:25:13.206, ); 2021-11-20 15:25:13.206, END $do$; 2021-11-20 15:25:13.206,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.bound_with_part ADD COLUMN IF NOT EXISTS itemId UUID; 2021-11-20 15:25:13.206,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""itemid"" of relation ""bound_with_part"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.207,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.bound_with_part ADD COLUMN IF NOT EXISTS itemId UUID; 2021-11-20 15:25:13.207,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.207, BEGIN 2021-11-20 15:25:13.207, BEGIN 2021-11-20 15:25:13.207, ALTER TABLE bound_with_part 2021-11-20 15:25:13.207, ADD CONSTRAINT itemId_item_fkey 2021-11-20 15:25:13.207, FOREIGN KEY (itemId) REFERENCES item; 2021-11-20 15:25:13.207, EXCEPTION 2021-11-20 15:25:13.207, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.207, END; 2021-11-20 15:25:13.207, END $$; 2021-11-20 15:25:13.207,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.207, BEGIN 2021-11-20 15:25:13.207, BEGIN 2021-11-20 15:25:13.207, ALTER TABLE bound_with_part 2021-11-20 15:25:13.207, ADD CONSTRAINT itemId_item_fkey 2021-11-20 15:25:13.207, FOREIGN KEY (itemId) REFERENCES item; 2021-11-20 15:25:13.207, EXCEPTION 2021-11-20 15:25:13.207, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.207, END; 2021-11-20 15:25:13.207, END $$; 2021-11-20 15:25:13.207,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS bound_with_part_itemId_idx ON fs00001046_mod_inventory_storage.bound_with_part (itemId); 2021-11-20 15:25:13.208,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""bound_with_part_itemid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.208,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS bound_with_part_itemId_idx ON fs00001046_mod_inventory_storage.bound_with_part (itemId); 2021-11-20 15:25:13.208,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('bound_with_part'); 2021-11-20 15:25:13.208,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('bound_with_part'); 2021-11-20 15:25:13.209,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.bound_with_part ADD COLUMN IF NOT EXISTS holdingsRecordId UUID; 2021-11-20 15:25:13.209,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42701', message='column ""holdingsrecordid"" of relation ""bound_with_part"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='6246', routine='check_for_column_name_collision', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.209,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.bound_with_part ADD COLUMN IF NOT EXISTS holdingsRecordId UUID; 2021-11-20 15:25:13.209,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.209, BEGIN 2021-11-20 15:25:13.209, BEGIN 2021-11-20 15:25:13.209, ALTER TABLE bound_with_part 2021-11-20 15:25:13.209, ADD CONSTRAINT holdingsRecordId_holdings_record_fkey 2021-11-20 15:25:13.209, FOREIGN KEY (holdingsRecordId) REFERENCES holdings_record; 2021-11-20 15:25:13.209, EXCEPTION 2021-11-20 15:25:13.209, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.209, END; 2021-11-20 15:25:13.209, END $$; 2021-11-20 15:25:13.210,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.210, BEGIN 2021-11-20 15:25:13.210, BEGIN 2021-11-20 15:25:13.210, ALTER TABLE bound_with_part 2021-11-20 15:25:13.210, ADD CONSTRAINT holdingsRecordId_holdings_record_fkey 2021-11-20 15:25:13.210, FOREIGN KEY (holdingsRecordId) REFERENCES holdings_record; 2021-11-20 15:25:13.210, EXCEPTION 2021-11-20 15:25:13.210, WHEN duplicate_object OR duplicate_table THEN NULL; 2021-11-20 15:25:13.210, END; 2021-11-20 15:25:13.210, END $$; 2021-11-20 15:25:13.210,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS bound_with_part_holdingsRecordId_idx ON fs00001046_mod_inventory_storage.bound_with_part (holdingsRecordId); 2021-11-20 15:25:13.210,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""bound_with_part_holdingsrecordid_idx"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='index.c', line='857', routine='index_create', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.210,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS bound_with_part_holdingsRecordId_idx ON fs00001046_mod_inventory_storage.bound_with_part (holdingsRecordId); 2021-11-20 15:25:13.210,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('bound_with_part'); 2021-11-20 15:25:13.211,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('bound_with_part'); 2021-11-20 15:25:13.211,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_bound_with_part_references() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.211, BEGIN 2021-11-20 15:25:13.211, NEW.itemId = (NEW.jsonb->>'itemId'); 2021-11-20 15:25:13.211, NEW.holdingsRecordId = (NEW.jsonb->>'holdingsRecordId'); 2021-11-20 15:25:13.211, RETURN NEW; 2021-11-20 15:25:13.211, END; 2021-11-20 15:25:13.211, $$ language 'plpgsql'; 2021-11-20 15:25:13.212,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.update_bound_with_part_references() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.212, BEGIN 2021-11-20 15:25:13.212, NEW.itemId = (NEW.jsonb->>'itemId'); 2021-11-20 15:25:13.212, NEW.holdingsRecordId = (NEW.jsonb->>'holdingsRecordId'); 2021-11-20 15:25:13.212, RETURN NEW; 2021-11-20 15:25:13.212, END; 2021-11-20 15:25:13.212, $$ language 'plpgsql'; 2021-11-20 15:25:13.212,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_bound_with_part_references ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.213,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_bound_with_part_references ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.213,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER update_bound_with_part_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_bound_with_part_references(); 2021-11-20 15:25:13.213,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER update_bound_with_part_references BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.update_bound_with_part_references(); 2021-11-20 15:25:13.213,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-20 15:25:13.213, DECLARE 2021-11-20 15:25:13.213, version TEXT; 2021-11-20 15:25:13.213, i INT; 2021-11-20 15:25:13.213, BEGIN 2021-11-20 15:25:13.213, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:25:13.213, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:25:13.213, RETURN; 2021-11-20 15:25:13.213, END IF; 2021-11-20 15:25:13.213, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.213, EXECUTE 'ALTER TABLE bound_with_part DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.213, || 'itemId_item_fkey' || i; 2021-11-20 15:25:13.213, END LOOP; 2021-11-20 15:25:13.213, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.213, EXECUTE 'ALTER TABLE bound_with_part DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.213, || 'holdingsRecordId_holdings_record_fkey' || i; 2021-11-20 15:25:13.213, END LOOP; 2021-11-20 15:25:13.213, END $$; 2021-11-20 15:25:13.214,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-20 15:25:13.214, DECLARE 2021-11-20 15:25:13.214, version TEXT; 2021-11-20 15:25:13.214, i INT; 2021-11-20 15:25:13.214, BEGIN 2021-11-20 15:25:13.214, SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; 2021-11-20 15:25:13.214, IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN 2021-11-20 15:25:13.214, RETURN; 2021-11-20 15:25:13.214, END IF; 2021-11-20 15:25:13.214, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.214, EXECUTE 'ALTER TABLE bound_with_part DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.214, || 'itemId_item_fkey' || i; 2021-11-20 15:25:13.214, END LOOP; 2021-11-20 15:25:13.214, FOR i IN 1..50 LOOP 2021-11-20 15:25:13.214, EXECUTE 'ALTER TABLE bound_with_part DROP CONSTRAINT IF EXISTS ' 2021-11-20 15:25:13.214, || 'holdingsRecordId_holdings_record_fkey' || i; 2021-11-20 15:25:13.214, END LOOP; 2021-11-20 15:25:13.214, END $$; 2021-11-20 15:25:13.214,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.bound_with_part_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.214,DECLARE 2021-11-20 15:25:13.214, input text; 2021-11-20 15:25:13.214, createdDate timestamp; 2021-11-20 15:25:13.214,BEGIN 2021-11-20 15:25:13.214, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:25:13.214, IF input IS NULL THEN 2021-11-20 15:25:13.214, RETURN NEW; 2021-11-20 15:25:13.214, END IF; 2021-11-20 15:25:13.214, -- time stamp without time zone? 2021-11-20 15:25:13.214, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:25:13.214," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:25:13.214, createdDate = input::timestamp; 2021-11-20 15:25:13.214, ELSE 2021-11-20 15:25:13.214, -- createdDate has a time zone string 2021-11-20 15:25:13.214," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:25:13.214, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:25:13.214, END IF; 2021-11-20 15:25:13.214," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:25:13.214, NEW.creation_date = createdDate; 2021-11-20 15:25:13.214, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:25:13.214, RETURN NEW; 2021-11-20 15:25:13.214,END; 2021-11-20 15:25:13.214,$$ language 'plpgsql'; 2021-11-20 15:25:13.215,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.bound_with_part_set_md() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.215,DECLARE 2021-11-20 15:25:13.215, input text; 2021-11-20 15:25:13.215, createdDate timestamp; 2021-11-20 15:25:13.215,BEGIN 2021-11-20 15:25:13.215, input = NEW.jsonb->'metadata'->>'createdDate'; 2021-11-20 15:25:13.215, IF input IS NULL THEN 2021-11-20 15:25:13.215, RETURN NEW; 2021-11-20 15:25:13.215, END IF; 2021-11-20 15:25:13.215, -- time stamp without time zone? 2021-11-20 15:25:13.215, IF (input::timestamp::timestamptz = input::timestamptz) THEN 2021-11-20 15:25:13.215," -- createdDate already has no time zone, normalize using ::timestamp" 2021-11-20 15:25:13.215, createdDate = input::timestamp; 2021-11-20 15:25:13.215, ELSE 2021-11-20 15:25:13.215, -- createdDate has a time zone string 2021-11-20 15:25:13.215," -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string" 2021-11-20 15:25:13.215, createdDate = input::timestamptz AT TIME ZONE '+00'; 2021-11-20 15:25:13.215, END IF; 2021-11-20 15:25:13.215," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate));" 2021-11-20 15:25:13.215, NEW.creation_date = createdDate; 2021-11-20 15:25:13.215, NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; 2021-11-20 15:25:13.215, RETURN NEW; 2021-11-20 15:25:13.215,END; 2021-11-20 15:25:13.215,$$ language 'plpgsql'; 2021-11-20 15:25:13.215,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_bound_with_part_md_trigger ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.216,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_bound_with_part_md_trigger ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.216,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_bound_with_part_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.bound_with_part_set_md(); 2021-11-20 15:25:13.216,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_bound_with_part_md_trigger BEFORE INSERT ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.bound_with_part_set_md(); 2021-11-20 15:25:13.216,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_bound_with_part_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.216,BEGIN 2021-11-20 15:25:13.216, if NEW.creation_date IS NULL then 2021-11-20 15:25:13.216, RETURN NEW; 2021-11-20 15:25:13.216, end if; 2021-11-20 15:25:13.216," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:25:13.216, if NEW.created_by IS NULL then 2021-11-20 15:25:13.216," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:25:13.216, else 2021-11-20 15:25:13.216," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:25:13.216, end if; 2021-11-20 15:25:13.216, RETURN NEW; 2021-11-20 15:25:13.216,END; 2021-11-20 15:25:13.216,$$ language 'plpgsql'; 2021-11-20 15:25:13.217,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.set_bound_with_part_md_json() RETURNS TRIGGER AS $$ 2021-11-20 15:25:13.217,BEGIN 2021-11-20 15:25:13.217, if NEW.creation_date IS NULL then 2021-11-20 15:25:13.217, RETURN NEW; 2021-11-20 15:25:13.217, end if; 2021-11-20 15:25:13.217," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date));" 2021-11-20 15:25:13.217, if NEW.created_by IS NULL then 2021-11-20 15:25:13.217," NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}';" 2021-11-20 15:25:13.217, else 2021-11-20 15:25:13.217," NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by));" 2021-11-20 15:25:13.217, end if; 2021-11-20 15:25:13.217, RETURN NEW; 2021-11-20 15:25:13.217,END; 2021-11-20 15:25:13.217,$$ language 'plpgsql'; 2021-11-20 15:25:13.217,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_bound_with_part_md_json_trigger ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.218,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_bound_with_part_md_json_trigger ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.218,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_bound_with_part_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_bound_with_part_md_json(); 2021-11-20 15:25:13.220,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_bound_with_part_md_json_trigger BEFORE UPDATE ON fs00001046_mod_inventory_storage.bound_with_part FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_bound_with_part_md_json(); 2021-11-20 15:25:13.220,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_bound_with_part_ol_version_trigger ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.221,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_bound_with_part_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.bound_with_part"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.221,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_bound_with_part_ol_version_trigger ON fs00001046_mod_inventory_storage.bound_with_part CASCADE; 2021-11-20 15:25:13.221,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.bound_with_part_set_ol_version() CASCADE; 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.bound_with_part_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.bound_with_part_set_ol_version() CASCADE; 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.notification_sending_error ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='42P07', message='relation ""notification_sending_error"" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='parse_utilcmd.c', line='212', routine='transformCreateStmt', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.notification_sending_error ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_notification_sending_error ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_notification_sending_error"" for relation ""fs00001046_mod_inventory_storage.notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_notification_sending_error ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.notification_sending_error FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.notification_sending_error FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.notification_sending_error DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""creation_date"" of relation ""notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""created_by"" of relation ""notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.notification_sending_error DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_notification_sending_error_references ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_notification_sending_error_references"" for relation ""fs00001046_mod_inventory_storage.notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_notification_sending_error_references ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_notification_sending_error_references(); 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_notification_sending_error_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_notification_sending_error_references(); 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.notification_sending_error_set_md() CASCADE; 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.notification_sending_error_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.notification_sending_error_set_md() CASCADE; 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_notification_sending_error_md_trigger ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_notification_sending_error_md_trigger"" for relation ""fs00001046_mod_inventory_storage.notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_notification_sending_error_md_trigger ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.229,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_notification_sending_error_md_json() CASCADE; 2021-11-20 15:25:13.230,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.set_notification_sending_error_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.230,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_notification_sending_error_md_json() CASCADE; 2021-11-20 15:25:13.230,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_notification_sending_error_md_json_trigger ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.230,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_notification_sending_error_md_json_trigger"" for relation ""fs00001046_mod_inventory_storage.notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.230,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_notification_sending_error_md_json_trigger ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.230,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_notification_sending_error_ol_version_trigger ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.231,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_notification_sending_error_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.notification_sending_error"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.231,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_notification_sending_error_ol_version_trigger ON fs00001046_mod_inventory_storage.notification_sending_error CASCADE; 2021-11-20 15:25:13.231,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.notification_sending_error_set_ol_version() CASCADE; 2021-11-20 15:25:13.232,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.notification_sending_error_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.232,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.notification_sending_error_set_ol_version() CASCADE; 2021-11-20 15:25:13.232,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.iteration_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.260,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS fs00001046_mod_inventory_storage.iteration_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL );" 2021-11-20 15:25:13.260,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_iteration_job ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.260,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_injson_iteration_job"" for relation ""fs00001046_mod_inventory_storage.iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.260,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_iteration_job ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.260,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.261,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_id_in_jsonb"" for relation ""fs00001046_mod_inventory_storage.iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.261,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.261,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.iteration_job FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.262,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON fs00001046_mod_inventory_storage.iteration_job FOR EACH ROW EXECUTE PROCEDURE fs00001046_mod_inventory_storage.set_id_in_jsonb(); 2021-11-20 15:25:13.262,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE fs00001046_mod_inventory_storage.iteration_job DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:25:13.263,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""creation_date"" of relation ""iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.263,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='column ""created_by"" of relation ""iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7422', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.263,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE fs00001046_mod_inventory_storage.iteration_job DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE;" 2021-11-20 15:25:13.263,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_iteration_job_references ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.263,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""update_iteration_job_references"" for relation ""fs00001046_mod_inventory_storage.iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.263,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_iteration_job_references ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.264,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_iteration_job_references(); 2021-11-20 15:25:13.264,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.update_iteration_job_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.264,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_iteration_job_references(); 2021-11-20 15:25:13.264,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.iteration_job_set_md() CASCADE; 2021-11-20 15:25:13.265,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.iteration_job_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.265,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.iteration_job_set_md() CASCADE; 2021-11-20 15:25:13.265,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_iteration_job_md_trigger ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.265,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_iteration_job_md_trigger"" for relation ""fs00001046_mod_inventory_storage.iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.266,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_iteration_job_md_trigger ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.266,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_iteration_job_md_json() CASCADE; 2021-11-20 15:25:13.266,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.set_iteration_job_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.266,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.set_iteration_job_md_json() CASCADE; 2021-11-20 15:25:13.266,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_iteration_job_md_json_trigger ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.267,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_iteration_job_md_json_trigger"" for relation ""fs00001046_mod_inventory_storage.iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.267,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_iteration_job_md_json_trigger ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.267,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_iteration_job_ol_version_trigger ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.267,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='trigger ""set_iteration_job_ol_version_trigger"" for relation ""fs00001046_mod_inventory_storage.iteration_job"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.267,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_iteration_job_ol_version_trigger ON fs00001046_mod_inventory_storage.iteration_job CASCADE; 2021-11-20 15:25:13.267,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.iteration_job_set_ol_version() CASCADE; 2021-11-20 15:25:13.268,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='function fs00001046_mod_inventory_storage.iteration_job_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.269,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.iteration_job_set_ol_version() CASCADE; 2021-11-20 15:25:13.269,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_effective_location_on_holding_update; 2021-11-20 15:25:13.272,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_effective_location_on_holding_update; 2021-11-20 15:25:13.272,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_effective_location_on_item_update;-- Run script - created in version 21.1.0 INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('b3ea81fb-3324-4c64-9efc-7c0c93d5943c', json_build_object('id','b3ea81fb-3324-4c64-9efc-7c0c93d5943c', 'name', 'Invalid UPC', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.272,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION IF EXISTS fs00001046_mod_inventory_storage.update_effective_location_on_item_update;-- Run script - created in version 21.1.0 INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('b3ea81fb-3324-4c64-9efc-7c0c93d5943c', json_build_object('id','b3ea81fb-3324-4c64-9efc-7c0c93d5943c', 'name', 'Invalid UPC', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.273,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('ebfd00b6-61d3-4d87-a6d8-810c941176d5', json_build_object('id','ebfd00b6-61d3-4d87-a6d8-810c941176d5', 'name', 'ISMN', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.284,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('ebfd00b6-61d3-4d87-a6d8-810c941176d5', json_build_object('id','ebfd00b6-61d3-4d87-a6d8-810c941176d5', 'name', 'ISMN', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.284,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('4f07ea37-6c7f-4836-add2-14249e628ed1', json_build_object('id','4f07ea37-6c7f-4836-add2-14249e628ed1', 'name', 'Invalid ISMN', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.284,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('4f07ea37-6c7f-4836-add2-14249e628ed1', json_build_object('id','4f07ea37-6c7f-4836-add2-14249e628ed1', 'name', 'Invalid ISMN', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.284,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('1795ea23-6856-48a5-a772-f356e16a8a6c', json_build_object('id','1795ea23-6856-48a5-a772-f356e16a8a6c', 'name', 'UPC', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.286,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed INSERT INTO fs00001046_mod_inventory_storage.identifier_type (id, jsonb) VALUES ('1795ea23-6856-48a5-a772-f356e16a8a6c', json_build_object('id','1795ea23-6856-48a5-a772-f356e16a8a6c', 'name', 'UPC', 'source', 'folio')) ON CONFLICT DO NOTHING;" 2021-11-20 15:25:13.286,"15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.get_items_and_holdings_view(instanceIds uuid[], skipSuppressedFromDiscoveryRecords bool DEFAULT TRUE) RETURNS TABLE ( ""instanceId"" uuid, ""source"" varchar, ""modeOfIssuance"" varchar, ""natureOfContent"" jsonb, ""holdings"" jsonb, ""items"" jsonb ) AS $BODY$" 2021-11-20 15:25:13.286,WITH 2021-11-20 15:25:13.286, -- Locations 2021-11-20 15:25:13.286," viewLocations(locId, locJsonb, locCampJsonb, locLibJsonb, locInstJsonb) AS (" 2021-11-20 15:25:13.286," SELECT loc.id AS locId," 2021-11-20 15:25:13.286," loc.jsonb AS locJsonb," 2021-11-20 15:25:13.286," locCamp.jsonb AS locCampJsonb," 2021-11-20 15:25:13.286," locLib.jsonb AS locLibJsonb," 2021-11-20 15:25:13.286, locInst.jsonb AS locInstJsonb 2021-11-20 15:25:13.286, FROM location loc 2021-11-20 15:25:13.286, LEFT JOIN locinstitution locInst 2021-11-20 15:25:13.286, ON (loc.jsonb ->> 'institutionId')::uuid = locInst.id 2021-11-20 15:25:13.286, LEFT JOIN loccampus locCamp 2021-11-20 15:25:13.286, ON (loc.jsonb ->> 'campusId')::uuid = locCamp.id 2021-11-20 15:25:13.286, LEFT JOIN loclibrary locLib 2021-11-20 15:25:13.286, ON (loc.jsonb ->> 'libraryId')::uuid = locLib.id 2021-11-20 15:25:13.286, WHERE (loc.jsonb ->> 'isActive')::bool = true 2021-11-20 15:25:13.286," )," 2021-11-20 15:25:13.286, -- Passed instances ids 2021-11-20 15:25:13.286," viewInstances(instId, source, modeOfIssuance, natureOfContent) AS (" 2021-11-20 15:25:13.286, SELECT DISTINCT 2021-11-20 15:25:13.286," instId AS ""instanceId""," 2021-11-20 15:25:13.286," i.jsonb ->> 'source' AS source," 2021-11-20 15:25:13.286," moi.jsonb ->> 'name' AS modeOfIssuance," 2021-11-20 15:25:13.286," COALESCE(getNatureOfContentName(COALESCE(i.jsonb #> '{natureOfContentTermIds}', '[]'::jsonb)), '[]'::jsonb) AS natureOfContent" 2021-11-20 15:25:13.286, FROM UNNEST( $1 ) instId 2021-11-20 15:25:13.286, JOIN instance i 2021-11-20 15:25:13.286, ON i.id = instId 2021-11-20 15:25:13.286, LEFT JOIN mode_of_issuance moi 2021-11-20 15:25:13.286," ON moi.id = nullif(i.jsonb ->> 'modeOfIssuanceId','')::uuid" 2021-11-20 15:25:13.286," )," 2021-11-20 15:25:13.286, -- Prepared items and holdings 2021-11-20 15:25:13.286," viewItemsAndHoldings(instId, records) AS (" 2021-11-20 15:25:13.286," SELECT itemAndHoldingsAttrs.instanceId, jsonb_strip_nulls(itemAndHoldingsAttrs.itemsAndHoldings)" 2021-11-20 15:25:13.286, FROM (SELECT 2021-11-20 15:25:13.286," i.id AS instanceId," 2021-11-20 15:25:13.286," jsonb_build_object('holdings'," 2021-11-20 15:25:13.286, COALESCE(jsonb_agg(DISTINCT 2021-11-20 15:25:13.286," jsonb_build_object('id', hr.id," 2021-11-20 15:25:13.286," 'hrId', hr.jsonb ->> 'hrId'," 2021-11-20 15:25:13.286," 'suppressFromDiscovery'," 2021-11-20 15:25:13.286, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE((i.jsonb ->> 'discoverySuppress')::bool, false) OR" 2021-11-20 15:25:13.286," COALESCE((hr.jsonb ->> 'discoverySuppress')::bool, false)" 2021-11-20 15:25:13.286," ELSE NULL END::bool," 2021-11-20 15:25:13.286," 'holdingsType', ht.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'formerIds', hr.jsonb -> 'formerIds'," 2021-11-20 15:25:13.286," 'location'," 2021-11-20 15:25:13.286, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.286," json_build_object('permanentLocation'," 2021-11-20 15:25:13.286," jsonb_build_object('name', COALESCE(holdPermLoc.locJsonb ->> 'discoveryDisplayName', holdPermLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'code', holdPermLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.286," 'campusName', holdPermLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'libraryName', holdPermLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'institutionName', holdPermLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'temporaryLocation'," 2021-11-20 15:25:13.286," jsonb_build_object('name', COALESCE(holdTempLoc.locJsonb ->> 'discoveryDisplayName', holdTempLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'code', holdTempLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.286," 'campusName', holdTempLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'libraryName', holdTempLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'institutionName', holdTempLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'effectiveLocation'," 2021-11-20 15:25:13.286," jsonb_build_object('name', COALESCE(holdEffLoc.locJsonb ->> 'discoveryDisplayName', holdEffLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'code', holdEffLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.286," 'campusName', holdEffLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'libraryName', holdEffLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'institutionName', holdEffLoc.locInstJsonb ->> 'name'))" 2021-11-20 15:25:13.286," ELSE NULL END::jsonb," 2021-11-20 15:25:13.286," 'callNumber', json_build_object('prefix', hr.jsonb ->> 'callNumberPrefix'," 2021-11-20 15:25:13.286," 'suffix', hr.jsonb ->> 'callNumberSuffix'," 2021-11-20 15:25:13.286," 'typeId', hr.jsonb ->> 'callNumberTypeId'," 2021-11-20 15:25:13.286," 'typeName', hrcnt.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'callNumber', hr.jsonb ->> 'callNumber')," 2021-11-20 15:25:13.286," 'shelvingTitle', hr.jsonb ->> 'shelvingTitle'," 2021-11-20 15:25:13.286," 'acquisitionFormat', hr.jsonb ->> 'acquisitionFormat'," 2021-11-20 15:25:13.286," 'acquisitionMethod', hr.jsonb ->> 'acquisitionMethod'," 2021-11-20 15:25:13.286," 'receiptStatus', hr.jsonb ->> 'receiptStatus'," 2021-11-20 15:25:13.286," 'electronicAccess'," 2021-11-20 15:25:13.286, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE(getElectronicAccessName(COALESCE(hr.jsonb #> '{electronicAccess}', '[]'::jsonb)), '[]'::jsonb)" 2021-11-20 15:25:13.286," ELSE NULL::jsonb END," 2021-11-20 15:25:13.286," 'notes'," 2021-11-20 15:25:13.286, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE(getHoldingNoteTypeName(hr.jsonb -> 'notes'), '[]'::jsonb)" 2021-11-20 15:25:13.286," ELSE NULL END::jsonb," 2021-11-20 15:25:13.286," 'illPolicy', ilp.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'retentionPolicy', hr.jsonb ->> 'retentionPolicy'," 2021-11-20 15:25:13.286," 'digitizationPolicy', hr.jsonb ->> 'digitizationPolicy'," 2021-11-20 15:25:13.286," 'holdingsStatements', hr.jsonb -> 'holdingsStatements'," 2021-11-20 15:25:13.286," 'holdingsStatementsForIndexes', hr.jsonb -> 'holdingsStatementsForIndexes'," 2021-11-20 15:25:13.286," 'holdingsStatementsForSupplements', hr.jsonb -> 'holdingsStatementsForSupplements'," 2021-11-20 15:25:13.286," 'copyNumber', hr.jsonb ->> 'copyNumber'," 2021-11-20 15:25:13.286," 'numberOfItems', hr.jsonb ->> 'numberOfItems'," 2021-11-20 15:25:13.286," 'receivingHistory', hr.jsonb -> 'receivingHistory'," 2021-11-20 15:25:13.286," 'tags', hr.jsonb -> 'tags'," 2021-11-20 15:25:13.286," 'statisticalCodes'," 2021-11-20 15:25:13.286, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE(getStatisticalCodes(hr.jsonb -> 'statisticalCodeIds'), '[]'::jsonb)" 2021-11-20 15:25:13.286, ELSE NULL END ::jsonb)) 2021-11-20 15:25:13.286," FILTER (WHERE hr.id IS NOT NULL), '[]'::jsonb)," 2021-11-20 15:25:13.286," 'items'," 2021-11-20 15:25:13.286, COALESCE(jsonb_agg(DISTINCT 2021-11-20 15:25:13.286," jsonb_build_object('id', item.id," 2021-11-20 15:25:13.286," 'hrId', item.jsonb ->> 'hrId'," 2021-11-20 15:25:13.286," 'holdingsRecordId', (item.jsonb ->> 'holdingsRecordId')::UUID," 2021-11-20 15:25:13.286," 'suppressFromDiscovery'," 2021-11-20 15:25:13.286, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE((i.jsonb ->> 'discoverySuppress')::bool, false) OR" 2021-11-20 15:25:13.286," COALESCE((hr.jsonb ->> 'discoverySuppress')::bool, false) OR" 2021-11-20 15:25:13.286," COALESCE((item.jsonb ->> 'discoverySuppress')::bool, false)" 2021-11-20 15:25:13.286," ELSE NULL END::bool," 2021-11-20 15:25:13.286," 'status', item.jsonb #>> '{status, name}'," 2021-11-20 15:25:13.286," 'formerIds', item.jsonb -> 'formerIds'," 2021-11-20 15:25:13.286," 'location'," 2021-11-20 15:25:13.286, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.286," json_build_object('location'," 2021-11-20 15:25:13.286," jsonb_build_object('name', COALESCE(itemEffLoc.locJsonb ->> 'discoveryDisplayName', itemEffLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'code', itemEffLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.286," 'campusName', itemEffLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'libraryName', itemEffLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'institutionName', itemEffLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'permanentLocation'," 2021-11-20 15:25:13.286," jsonb_build_object('name', COALESCE(itemPermLoc.locJsonb ->> 'discoveryDisplayName', itemPermLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'code', itemPermLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.286," 'campusName', itemPermLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'libraryName', itemPermLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'institutionName', itemPermLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'temporaryLocation'," 2021-11-20 15:25:13.286," jsonb_build_object('name', COALESCE(itemTempLoc.locJsonb ->> 'discoveryDisplayName', itemTempLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.286," 'code', itemTempLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.286," 'campusName', itemTempLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'libraryName', itemTempLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.286," 'institutionName', itemTempLoc.locInstJsonb ->> 'name'))" 2021-11-20 15:25:13.286," ELSE NULL END::jsonb," 2021-11-20 15:25:13.286," 'callNumber', item.jsonb -> 'effectiveCallNumberComponents' ||" 2021-11-20 15:25:13.286," jsonb_build_object('typeName', cnt.jsonb ->> 'name')," 2021-11-20 15:25:13.286," 'accessionNumber', item.jsonb ->> 'accessionNumber'," 2021-11-20 15:25:13.286," 'barcode', item.jsonb ->> 'barcode'," 2021-11-20 15:25:13.286," 'copyNumber', item.jsonb ->> 'copyNumber'," 2021-11-20 15:25:13.286," 'volume', item.jsonb ->> 'volume'," 2021-11-20 15:25:13.286," 'enumeration', item.jsonb ->> 'enumeration'," 2021-11-20 15:25:13.286," 'chronology', item.jsonb ->>'chronology'," 2021-11-20 15:25:13.286," 'yearCaption', item.jsonb -> 'yearCaption'," 2021-11-20 15:25:13.286," 'itemIdentifier', item.jsonb ->> 'itemIdentifier'," 2021-11-20 15:25:13.286," 'numberOfPieces', item.jsonb ->> 'numberOfPieces'," 2021-11-20 15:25:13.286," 'descriptionOfPieces', item.jsonb ->> 'descriptionOfPieces'," 2021-11-20 15:25:13.286," 'numberOfMissingPieces', item.jsonb ->> 'numberOfMissingPieces'," 2021-11-20 15:25:13.286," 'missingPieces', item.jsonb ->> 'missingPieces'," 2021-11-20 15:25:13.286," 'missingPiecesDate', item.jsonb ->> 'missingPiecesDate'," 2021-11-20 15:25:13.286," 'itemDamagedStatus', itemDmgStat.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'itemDamagedStatusDate', item.jsonb ->> 'itemDamagedStatusDate'," 2021-11-20 15:25:13.286," 'materialType', mt.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'permanentLoanType', plt.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'temporaryLoanType', tlt.jsonb ->> 'name'," 2021-11-20 15:25:13.286," 'electronicAccess'," 2021-11-20 15:25:13.286, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE(getElectronicAccessName(COALESCE(item.jsonb #> '{electronicAccess}', '[]'::jsonb)), '[]'::jsonb)" 2021-11-20 15:25:13.286," ELSE NULL::jsonb END," 2021-11-20 15:25:13.286," 'notes'," 2021-11-20 15:25:13.286, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE(getItemNoteTypeName(item.jsonb -> 'notes'), '[]'::jsonb)" 2021-11-20 15:25:13.286," ELSE NULL END::jsonb," 2021-11-20 15:25:13.286," 'tags', item.jsonb -> 'tags'," 2021-11-20 15:25:13.286," 'statisticalCodes'," 2021-11-20 15:25:13.286, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.286," COALESCE(getStatisticalCodes(item.jsonb -> 'statisticalCodeIds'), '[]'::jsonb)" 2021-11-20 15:25:13.286, ELSE NULL END ::jsonb)) 2021-11-20 15:25:13.286," FILTER (WHERE item.id IS NOT NULL AND NOT ($2 AND COALESCE((item.jsonb ->> 'discoverySuppress')::bool, false))), '[]'::jsonb)" 2021-11-20 15:25:13.286, ) itemsAndHoldings 2021-11-20 15:25:13.286, FROM fs00001046_mod_inventory_storage.holdings_record hr 2021-11-20 15:25:13.286, JOIN fs00001046_mod_inventory_storage.instance i 2021-11-20 15:25:13.286, ON i.id = hr.instanceid 2021-11-20 15:25:13.286, JOIN viewInstances vi 2021-11-20 15:25:13.286, ON vi.instId = i.id 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.item item 2021-11-20 15:25:13.286, ON item.holdingsrecordid = hr.id 2021-11-20 15:25:13.286, -- Item's Effective location relation 2021-11-20 15:25:13.286, LEFT JOIN viewLocations itemEffLoc 2021-11-20 15:25:13.286, ON (item.jsonb ->> 'effectiveLocationId')::uuid = itemEffLoc.locId 2021-11-20 15:25:13.286, -- Item's Permanent location relation 2021-11-20 15:25:13.286, LEFT JOIN viewLocations itemPermLoc 2021-11-20 15:25:13.286, ON (item.jsonb ->> 'permanentLocationId')::uuid = itemPermLoc.locId 2021-11-20 15:25:13.286, -- Item's Temporary location relation 2021-11-20 15:25:13.286, LEFT JOIN viewLocations itemTempLoc 2021-11-20 15:25:13.286, ON (item.jsonb ->> 'temporaryLocationId')::uuid = itemTempLoc.locId 2021-11-20 15:25:13.286, -- Item's Material type relation 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.material_type mt 2021-11-20 15:25:13.286, ON item.materialtypeid = mt.id 2021-11-20 15:25:13.286, -- Item's Call number type relation 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.call_number_type cnt 2021-11-20 15:25:13.286," ON (item.jsonb #>> '{effectiveCallNumberComponents, typeId}')::uuid = cnt.id" 2021-11-20 15:25:13.286, -- Item's Damaged status relation 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.item_damaged_status itemDmgStat 2021-11-20 15:25:13.286, ON (item.jsonb ->> 'itemDamagedStatusId')::uuid = itemDmgStat.id 2021-11-20 15:25:13.286, -- Item's Permanent loan type relation 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.loan_type plt 2021-11-20 15:25:13.286, ON (item.jsonb ->> 'permanentLoanTypeId')::uuid = plt.id 2021-11-20 15:25:13.286, -- Item's Temporary loan type relation 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.loan_type tlt 2021-11-20 15:25:13.286, ON (item.jsonb ->> 'temporaryLoanTypeId')::uuid = tlt.id 2021-11-20 15:25:13.286, -- Holdings type relation 2021-11-20 15:25:13.286, LEFT JOIN fs00001046_mod_inventory_storage.holdings_type ht 2021-11-20 15:25:13.286, ON ht.id = hr.holdingstypeid 2021-11-20 15:25:13.287, -- Holdings Permanent location relation 2021-11-20 15:25:13.287, LEFT JOIN viewLocations holdPermLoc 2021-11-20 15:25:13.287, ON (hr.jsonb ->> 'permanentLocationId')::uuid = holdPermLoc.locId 2021-11-20 15:25:13.287, -- Holdings Temporary location relation 2021-11-20 15:25:13.287, LEFT JOIN viewLocations holdTempLoc 2021-11-20 15:25:13.287, ON (hr.jsonb ->> 'temporaryLocationId')::uuid = holdTempLoc.locId 2021-11-20 15:25:13.287, -- Holdings Effective location relation 2021-11-20 15:25:13.287, LEFT JOIN viewLocations holdEffLoc 2021-11-20 15:25:13.287, ON (hr.jsonb ->> 'effectiveLocationId')::uuid = holdEffLoc.locId 2021-11-20 15:25:13.287, -- Holdings Call number type relation 2021-11-20 15:25:13.287, LEFT JOIN fs00001046_mod_inventory_storage.call_number_type hrcnt 2021-11-20 15:25:13.287, ON (hr.jsonb ->> 'callNumberTypeId')::uuid = hrcnt.id 2021-11-20 15:25:13.287, -- Holdings Ill policy relation 2021-11-20 15:25:13.287, LEFT JOIN fs00001046_mod_inventory_storage.ill_policy ilp 2021-11-20 15:25:13.287, ON hr.illpolicyid = ilp.id 2021-11-20 15:25:13.287, WHERE true 2021-11-20 15:25:13.287," AND NOT ($2 AND COALESCE((hr.jsonb ->> 'discoverySuppress')::bool, false))" 2021-11-20 15:25:13.287, GROUP BY 1 2021-11-20 15:25:13.287, ) itemAndHoldingsAttrs 2021-11-20 15:25:13.287, ) 2021-11-20 15:25:13.287,-- Instances with items and holding records 2021-11-20 15:25:13.287,SELECT 2021-11-20 15:25:13.287," vi.instId AS ""instanceId""," 2021-11-20 15:25:13.287," vi.source AS ""source""," 2021-11-20 15:25:13.287," vi.modeOfIssuance AS ""modeOfIssuance""," 2021-11-20 15:25:13.287," vi.natureOfContent AS ""natureOfContent""," 2021-11-20 15:25:13.287," COALESCE(viah.records -> 'holdings', '[]'::jsonb) AS ""holdings""," 2021-11-20 15:25:13.287," COALESCE(viah.records -> 'items', '[]'::jsonb) AS ""items""" 2021-11-20 15:25:13.287,FROM viewInstances vi 2021-11-20 15:25:13.287, LEFT JOIN viewItemsAndHoldings viah 2021-11-20 15:25:13.287, ON viah.instId = vi.instId 2021-11-20 15:25:13.287,$BODY$ LANGUAGE sql; 2021-11-20 15:25:13.297," 'enumeration', item.jsonb ->> 'enumeration'," 2021-11-20 15:25:13.297," 'volume', item.jsonb ->> 'volume'," 2021-11-20 15:25:13.297," 'copyNumber', item.jsonb ->> 'copyNumber'," 2021-11-20 15:25:13.297," 'barcode', item.jsonb ->> 'barcode'," 2021-11-20 15:25:13.297," 'accessionNumber', item.jsonb ->> 'accessionNumber'," 2021-11-20 15:25:13.297," jsonb_build_object('typeName', cnt.jsonb ->> 'name')," 2021-11-20 15:25:13.297," 'callNumber', item.jsonb -> 'effectiveCallNumberComponents' ||" 2021-11-20 15:25:13.297," ELSE NULL END::jsonb," 2021-11-20 15:25:13.297," 'institutionName', itemTempLoc.locInstJsonb ->> 'name'))" 2021-11-20 15:25:13.297," 'libraryName', itemTempLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'campusName', itemTempLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'code', itemTempLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.297," jsonb_build_object('name', COALESCE(itemTempLoc.locJsonb ->> 'discoveryDisplayName', itemTempLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'temporaryLocation'," 2021-11-20 15:25:13.297," 'institutionName', itemPermLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'libraryName', itemPermLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'campusName', itemPermLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'code', itemPermLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.297," jsonb_build_object('name', COALESCE(itemPermLoc.locJsonb ->> 'discoveryDisplayName', itemPermLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'permanentLocation'," 2021-11-20 15:25:13.297," 'institutionName', itemEffLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'libraryName', itemEffLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'campusName', itemEffLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'code', itemEffLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.297," jsonb_build_object('name', COALESCE(itemEffLoc.locJsonb ->> 'discoveryDisplayName', itemEffLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.297," json_build_object('location'," 2021-11-20 15:25:13.297, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'location'," 2021-11-20 15:25:13.297," 'formerIds', item.jsonb -> 'formerIds'," 2021-11-20 15:25:13.297," 'status', item.jsonb #>> '{status, name}'," 2021-11-20 15:25:13.297," ELSE NULL END::bool," 2021-11-20 15:25:13.297," COALESCE((item.jsonb ->> 'discoverySuppress')::bool, false)" 2021-11-20 15:25:13.297," COALESCE((hr.jsonb ->> 'discoverySuppress')::bool, false) OR" 2021-11-20 15:25:13.297," COALESCE((i.jsonb ->> 'discoverySuppress')::bool, false) OR" 2021-11-20 15:25:13.297, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'suppressFromDiscovery'," 2021-11-20 15:25:13.297," 'holdingsRecordId', (item.jsonb ->> 'holdingsRecordId')::UUID," 2021-11-20 15:25:13.297," 'hrId', item.jsonb ->> 'hrId'," 2021-11-20 15:25:13.297," jsonb_build_object('id', item.id," 2021-11-20 15:25:13.297, COALESCE(jsonb_agg(DISTINCT 2021-11-20 15:25:13.297," 'items'," 2021-11-20 15:25:13.297," FILTER (WHERE hr.id IS NOT NULL), '[]'::jsonb)," 2021-11-20 15:25:13.297, ELSE NULL END ::jsonb)) 2021-11-20 15:25:13.297," COALESCE(getStatisticalCodes(hr.jsonb -> 'statisticalCodeIds'), '[]'::jsonb)" 2021-11-20 15:25:13.297, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'statisticalCodes'," 2021-11-20 15:25:13.297," 'tags', hr.jsonb -> 'tags'," 2021-11-20 15:25:13.297," 'receivingHistory', hr.jsonb -> 'receivingHistory'," 2021-11-20 15:25:13.297," 'numberOfItems', hr.jsonb ->> 'numberOfItems'," 2021-11-20 15:25:13.297," 'copyNumber', hr.jsonb ->> 'copyNumber'," 2021-11-20 15:25:13.297," 'holdingsStatementsForSupplements', hr.jsonb -> 'holdingsStatementsForSupplements'," 2021-11-20 15:25:13.297," 'holdingsStatementsForIndexes', hr.jsonb -> 'holdingsStatementsForIndexes'," 2021-11-20 15:25:13.297," 'holdingsStatements', hr.jsonb -> 'holdingsStatements'," 2021-11-20 15:25:13.297," 'digitizationPolicy', hr.jsonb ->> 'digitizationPolicy'," 2021-11-20 15:25:13.297," 'retentionPolicy', hr.jsonb ->> 'retentionPolicy'," 2021-11-20 15:25:13.297," 'illPolicy', ilp.jsonb ->> 'name'," 2021-11-20 15:25:13.297," ELSE NULL END::jsonb," 2021-11-20 15:25:13.297," COALESCE(getHoldingNoteTypeName(hr.jsonb -> 'notes'), '[]'::jsonb)" 2021-11-20 15:25:13.297, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'notes'," 2021-11-20 15:25:13.297," ELSE NULL::jsonb END," 2021-11-20 15:25:13.297," COALESCE(getElectronicAccessName(COALESCE(hr.jsonb #> '{electronicAccess}', '[]'::jsonb)), '[]'::jsonb)" 2021-11-20 15:25:13.297, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'electronicAccess'," 2021-11-20 15:25:13.297," 'receiptStatus', hr.jsonb ->> 'receiptStatus'," 2021-11-20 15:25:13.297," 'acquisitionMethod', hr.jsonb ->> 'acquisitionMethod'," 2021-11-20 15:25:13.297," 'acquisitionFormat', hr.jsonb ->> 'acquisitionFormat'," 2021-11-20 15:25:13.297," 'shelvingTitle', hr.jsonb ->> 'shelvingTitle'," 2021-11-20 15:25:13.297," 'callNumber', hr.jsonb ->> 'callNumber')," 2021-11-20 15:25:13.297," 'typeName', hrcnt.jsonb ->> 'name'," 2021-11-20 15:25:13.297," 'typeId', hr.jsonb ->> 'callNumberTypeId'," 2021-11-20 15:25:13.297," 'suffix', hr.jsonb ->> 'callNumberSuffix'," 2021-11-20 15:25:13.297," 'callNumber', json_build_object('prefix', hr.jsonb ->> 'callNumberPrefix'," 2021-11-20 15:25:13.297," ELSE NULL END::jsonb," 2021-11-20 15:25:13.297," 'institutionName', holdEffLoc.locInstJsonb ->> 'name'))" 2021-11-20 15:25:13.297,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} SET search_path TO fs00001046_mod_inventory_storage; 2021-11-20 15:25:13.297,$BODY$ LANGUAGE sql; 2021-11-20 15:25:13.297, ON viah.instId = vi.instId 2021-11-20 15:25:13.297, LEFT JOIN viewItemsAndHoldings viah 2021-11-20 15:25:13.297,FROM viewInstances vi 2021-11-20 15:25:13.297," COALESCE(viah.records -> 'items', '[]'::jsonb) AS ""items""" 2021-11-20 15:25:13.297," COALESCE(viah.records -> 'holdings', '[]'::jsonb) AS ""holdings""," 2021-11-20 15:25:13.297," vi.natureOfContent AS ""natureOfContent""," 2021-11-20 15:25:13.297," vi.modeOfIssuance AS ""modeOfIssuance""," 2021-11-20 15:25:13.297," vi.source AS ""source""," 2021-11-20 15:25:13.297," vi.instId AS ""instanceId""," 2021-11-20 15:25:13.297,SELECT 2021-11-20 15:25:13.297,-- Instances with items and holding records 2021-11-20 15:25:13.297, ) 2021-11-20 15:25:13.297, ) itemAndHoldingsAttrs 2021-11-20 15:25:13.297, GROUP BY 1 2021-11-20 15:25:13.297," AND NOT ($2 AND COALESCE((hr.jsonb ->> 'discoverySuppress')::bool, false))" 2021-11-20 15:25:13.297, WHERE true 2021-11-20 15:25:13.297, ON hr.illpolicyid = ilp.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.ill_policy ilp 2021-11-20 15:25:13.297, -- Holdings Ill policy relation 2021-11-20 15:25:13.297, ON (hr.jsonb ->> 'callNumberTypeId')::uuid = hrcnt.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.call_number_type hrcnt 2021-11-20 15:25:13.297, -- Holdings Call number type relation 2021-11-20 15:25:13.297, ON (hr.jsonb ->> 'effectiveLocationId')::uuid = holdEffLoc.locId 2021-11-20 15:25:13.297, LEFT JOIN viewLocations holdEffLoc 2021-11-20 15:25:13.297, -- Holdings Effective location relation 2021-11-20 15:25:13.297, ON (hr.jsonb ->> 'temporaryLocationId')::uuid = holdTempLoc.locId 2021-11-20 15:25:13.297, LEFT JOIN viewLocations holdTempLoc 2021-11-20 15:25:13.297, -- Holdings Temporary location relation 2021-11-20 15:25:13.297, ON (hr.jsonb ->> 'permanentLocationId')::uuid = holdPermLoc.locId 2021-11-20 15:25:13.297, LEFT JOIN viewLocations holdPermLoc 2021-11-20 15:25:13.297, -- Holdings Permanent location relation 2021-11-20 15:25:13.297, ON ht.id = hr.holdingstypeid 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.holdings_type ht 2021-11-20 15:25:13.297, -- Holdings type relation 2021-11-20 15:25:13.297, ON (item.jsonb ->> 'temporaryLoanTypeId')::uuid = tlt.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.loan_type tlt 2021-11-20 15:25:13.297, -- Item's Temporary loan type relation 2021-11-20 15:25:13.297, ON (item.jsonb ->> 'permanentLoanTypeId')::uuid = plt.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.loan_type plt 2021-11-20 15:25:13.297, -- Item's Permanent loan type relation 2021-11-20 15:25:13.297, ON (item.jsonb ->> 'itemDamagedStatusId')::uuid = itemDmgStat.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.item_damaged_status itemDmgStat 2021-11-20 15:25:13.297, -- Item's Damaged status relation 2021-11-20 15:25:13.297," ON (item.jsonb #>> '{effectiveCallNumberComponents, typeId}')::uuid = cnt.id" 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.call_number_type cnt 2021-11-20 15:25:13.297, -- Item's Call number type relation 2021-11-20 15:25:13.297, ON item.materialtypeid = mt.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.material_type mt 2021-11-20 15:25:13.297, -- Item's Material type relation 2021-11-20 15:25:13.297, ON (item.jsonb ->> 'temporaryLocationId')::uuid = itemTempLoc.locId 2021-11-20 15:25:13.297, LEFT JOIN viewLocations itemTempLoc 2021-11-20 15:25:13.297, -- Item's Temporary location relation 2021-11-20 15:25:13.297, ON (item.jsonb ->> 'permanentLocationId')::uuid = itemPermLoc.locId 2021-11-20 15:25:13.297, LEFT JOIN viewLocations itemPermLoc 2021-11-20 15:25:13.297, -- Item's Permanent location relation 2021-11-20 15:25:13.297, ON (item.jsonb ->> 'effectiveLocationId')::uuid = itemEffLoc.locId 2021-11-20 15:25:13.297, LEFT JOIN viewLocations itemEffLoc 2021-11-20 15:25:13.297, -- Item's Effective location relation 2021-11-20 15:25:13.297, ON item.holdingsrecordid = hr.id 2021-11-20 15:25:13.297, LEFT JOIN fs00001046_mod_inventory_storage.item item 2021-11-20 15:25:13.297, ON vi.instId = i.id 2021-11-20 15:25:13.297, JOIN viewInstances vi 2021-11-20 15:25:13.297, ON i.id = hr.instanceid 2021-11-20 15:25:13.297, JOIN fs00001046_mod_inventory_storage.instance i 2021-11-20 15:25:13.297, FROM fs00001046_mod_inventory_storage.holdings_record hr 2021-11-20 15:25:13.297, ) itemsAndHoldings 2021-11-20 15:25:13.297," FILTER (WHERE item.id IS NOT NULL AND NOT ($2 AND COALESCE((item.jsonb ->> 'discoverySuppress')::bool, false))), '[]'::jsonb)" 2021-11-20 15:25:13.297, ELSE NULL END ::jsonb)) 2021-11-20 15:25:13.297," COALESCE(getStatisticalCodes(item.jsonb -> 'statisticalCodeIds'), '[]'::jsonb)" 2021-11-20 15:25:13.297, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'statisticalCodes'," 2021-11-20 15:25:13.297," 'tags', item.jsonb -> 'tags'," 2021-11-20 15:25:13.297," ELSE NULL END::jsonb," 2021-11-20 15:25:13.297," COALESCE(getItemNoteTypeName(item.jsonb -> 'notes'), '[]'::jsonb)" 2021-11-20 15:25:13.297, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'notes'," 2021-11-20 15:25:13.297," ELSE NULL::jsonb END," 2021-11-20 15:25:13.297," COALESCE(getElectronicAccessName(COALESCE(item.jsonb #> '{electronicAccess}', '[]'::jsonb)), '[]'::jsonb)" 2021-11-20 15:25:13.297, CASE WHEN item.id IS NOT NULL THEN 2021-11-20 15:25:13.297," 'electronicAccess'," 2021-11-20 15:25:13.297," 'temporaryLoanType', tlt.jsonb ->> 'name'," 2021-11-20 15:25:13.297," 'permanentLoanType', plt.jsonb ->> 'name'," 2021-11-20 15:25:13.297," 'materialType', mt.jsonb ->> 'name'," 2021-11-20 15:25:13.297," 'itemDamagedStatusDate', item.jsonb ->> 'itemDamagedStatusDate'," 2021-11-20 15:25:13.297," 'itemDamagedStatus', itemDmgStat.jsonb ->> 'name'," 2021-11-20 15:25:13.297," 'missingPiecesDate', item.jsonb ->> 'missingPiecesDate'," 2021-11-20 15:25:13.297," 'missingPieces', item.jsonb ->> 'missingPieces'," 2021-11-20 15:25:13.297," 'numberOfMissingPieces', item.jsonb ->> 'numberOfMissingPieces'," 2021-11-20 15:25:13.297," 'descriptionOfPieces', item.jsonb ->> 'descriptionOfPieces'," 2021-11-20 15:25:13.297," 'numberOfPieces', item.jsonb ->> 'numberOfPieces'," 2021-11-20 15:25:13.297," 'itemIdentifier', item.jsonb ->> 'itemIdentifier'," 2021-11-20 15:25:13.297," 'yearCaption', item.jsonb -> 'yearCaption'," 2021-11-20 15:25:13.297," 'chronology', item.jsonb ->>'chronology'," 2021-11-20 15:25:13.297," 'libraryName', holdEffLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'campusName', holdEffLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.297,"15:25:13 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION fs00001046_mod_inventory_storage.get_items_and_holdings_view(instanceIds uuid[], skipSuppressedFromDiscoveryRecords bool DEFAULT TRUE) RETURNS TABLE ( ""instanceId"" uuid, ""source"" varchar, ""modeOfIssuance"" varchar, ""natureOfContent"" jsonb, ""holdings"" jsonb, ""items"" jsonb ) AS $BODY$" 2021-11-20 15:25:13.297,WITH 2021-11-20 15:25:13.297, -- Locations 2021-11-20 15:25:13.297," viewLocations(locId, locJsonb, locCampJsonb, locLibJsonb, locInstJsonb) AS (" 2021-11-20 15:25:13.297," SELECT loc.id AS locId," 2021-11-20 15:25:13.297," loc.jsonb AS locJsonb," 2021-11-20 15:25:13.297," locCamp.jsonb AS locCampJsonb," 2021-11-20 15:25:13.297," locLib.jsonb AS locLibJsonb," 2021-11-20 15:25:13.297, locInst.jsonb AS locInstJsonb 2021-11-20 15:25:13.297, FROM location loc 2021-11-20 15:25:13.297, LEFT JOIN locinstitution locInst 2021-11-20 15:25:13.297, ON (loc.jsonb ->> 'institutionId')::uuid = locInst.id 2021-11-20 15:25:13.297, LEFT JOIN loccampus locCamp 2021-11-20 15:25:13.297, ON (loc.jsonb ->> 'campusId')::uuid = locCamp.id 2021-11-20 15:25:13.297, LEFT JOIN loclibrary locLib 2021-11-20 15:25:13.297, ON (loc.jsonb ->> 'libraryId')::uuid = locLib.id 2021-11-20 15:25:13.297, WHERE (loc.jsonb ->> 'isActive')::bool = true 2021-11-20 15:25:13.297," )," 2021-11-20 15:25:13.297, -- Passed instances ids 2021-11-20 15:25:13.297," viewInstances(instId, source, modeOfIssuance, natureOfContent) AS (" 2021-11-20 15:25:13.297, SELECT DISTINCT 2021-11-20 15:25:13.297," instId AS ""instanceId""," 2021-11-20 15:25:13.297," i.jsonb ->> 'source' AS source," 2021-11-20 15:25:13.297," moi.jsonb ->> 'name' AS modeOfIssuance," 2021-11-20 15:25:13.297," COALESCE(getNatureOfContentName(COALESCE(i.jsonb #> '{natureOfContentTermIds}', '[]'::jsonb)), '[]'::jsonb) AS natureOfContent" 2021-11-20 15:25:13.297, FROM UNNEST( $1 ) instId 2021-11-20 15:25:13.297, JOIN instance i 2021-11-20 15:25:13.297, ON i.id = instId 2021-11-20 15:25:13.297, LEFT JOIN mode_of_issuance moi 2021-11-20 15:25:13.297," ON moi.id = nullif(i.jsonb ->> 'modeOfIssuanceId','')::uuid" 2021-11-20 15:25:13.297," )," 2021-11-20 15:25:13.297, -- Prepared items and holdings 2021-11-20 15:25:13.297," viewItemsAndHoldings(instId, records) AS (" 2021-11-20 15:25:13.297," SELECT itemAndHoldingsAttrs.instanceId, jsonb_strip_nulls(itemAndHoldingsAttrs.itemsAndHoldings)" 2021-11-20 15:25:13.297, FROM (SELECT 2021-11-20 15:25:13.297," i.id AS instanceId," 2021-11-20 15:25:13.297," jsonb_build_object('holdings'," 2021-11-20 15:25:13.297, COALESCE(jsonb_agg(DISTINCT 2021-11-20 15:25:13.297," jsonb_build_object('id', hr.id," 2021-11-20 15:25:13.297," 'hrId', hr.jsonb ->> 'hrId'," 2021-11-20 15:25:13.297," 'suppressFromDiscovery'," 2021-11-20 15:25:13.297, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.297," COALESCE((i.jsonb ->> 'discoverySuppress')::bool, false) OR" 2021-11-20 15:25:13.297," COALESCE((hr.jsonb ->> 'discoverySuppress')::bool, false)" 2021-11-20 15:25:13.297," ELSE NULL END::bool," 2021-11-20 15:25:13.297," 'holdingsType', ht.jsonb ->> 'name'," 2021-11-20 15:25:13.297," 'formerIds', hr.jsonb -> 'formerIds'," 2021-11-20 15:25:13.297," 'location'," 2021-11-20 15:25:13.297, CASE WHEN hr.id IS NOT NULL THEN 2021-11-20 15:25:13.297," json_build_object('permanentLocation'," 2021-11-20 15:25:13.297," jsonb_build_object('name', COALESCE(holdPermLoc.locJsonb ->> 'discoveryDisplayName', holdPermLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'code', holdPermLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.297," 'campusName', holdPermLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'libraryName', holdPermLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'institutionName', holdPermLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'temporaryLocation'," 2021-11-20 15:25:13.297," jsonb_build_object('name', COALESCE(holdTempLoc.locJsonb ->> 'discoveryDisplayName', holdTempLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'code', holdTempLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.297," 'campusName', holdTempLoc.locCampJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'libraryName', holdTempLoc.locLibJsonb ->> 'name'," 2021-11-20 15:25:13.297," 'institutionName', holdTempLoc.locInstJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'effectiveLocation'," 2021-11-20 15:25:13.297," jsonb_build_object('name', COALESCE(holdEffLoc.locJsonb ->> 'discoveryDisplayName', holdEffLoc.locJsonb ->> 'name')," 2021-11-20 15:25:13.297," 'code', holdEffLoc.locJsonb ->> 'code'," 2021-11-20 15:25:13.298,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS instance_publication_period on fs00001046_mod_inventory_storage.instance ((jsonb -> 'publicationPeriod')); 2021-11-20 15:25:13.298,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed START TRANSACTION; 2021-11-20 15:25:13.298,"15:25:13 [] [] [] [] WARN ? Backend notice: severity='WARNING', code='25001', message='there is already a transaction in progress', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='xact.c', line='3726', routine='BeginTransactionBlock', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-20 15:25:13.298,15:25:13 [] [] [] [] INFO PostgresClient trying to execute: {} START TRANSACTION; 2021-11-20 15:25:13.298,15:25:13 [] [] [] [] INFO PostgresClient Successfully executed SET search_path TO fs00001046_mod_inventory_storage; 2021-11-20 15:25:15.350,15:25:15 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:15.352,15:25:15 [] [] [] [] INFO LogUtil 127.0.0.1:58008 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:15.940,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:15 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.004 uct=""0.000"" uht=""0.004"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;219970/tenant""" 2021-11-20 15:25:20.791,15:25:20 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:20.793,15:25:20 [] [] [] [] INFO LogUtil 127.0.0.1:58048 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:20.941,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:20 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.004"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;734334/tenant""" 2021-11-20 15:25:27.591,15:25:27 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:27.593,15:25:27 [] [] [] [] INFO LogUtil 127.0.0.1:58106 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:27.943,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:27 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.002 uct=""0.000"" uht=""0.000"" urt=""0.000"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;762135/tenant""" 2021-11-20 15:25:36.087,15:25:36 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:36.090,15:25:36 [] [] [] [] INFO LogUtil 127.0.0.1:58152 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:36.945,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:36 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.004"" urt=""0.004"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;403236/tenant""" 2021-11-20 15:25:46.706,15:25:46 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:46.708,15:25:46 [] [] [] [] INFO LogUtil 127.0.0.1:58216 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 2 tid=fs00001046 OK 2021-11-20 15:25:46.947,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:46 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.003 uct=""0.000"" uht=""0.000"" urt=""0.000"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;898956/tenant""" 2021-11-20 15:25:59.976,15:25:59 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:25:59.998,15:25:59 [] [] [] [] INFO LogUtil 127.0.0.1:58304 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 21 tid=fs00001046 OK 2021-11-20 15:26:00.950,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:25:59 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.022 uct=""0.000"" uht=""0.024"" urt=""0.024"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;408259/tenant""" 2021-11-20 15:26:16.580,15:26:16 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:26:16.599,15:26:16 [] [] [] [] INFO LogUtil 127.0.0.1:58390 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 18 tid=fs00001046 OK 2021-11-20 15:26:16.956,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:26:16 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.019 uct=""0.000"" uht=""0.020"" urt=""0.020"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;556423/tenant""" 2021-11-20 15:26:37.328,15:26:37 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:26:37.341,15:26:37 [] [] [] [] INFO LogUtil 127.0.0.1:58588 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 13 tid=fs00001046 OK 2021-11-20 15:26:37.961,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:26:37 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.014 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;174602/tenant""" 2021-11-20 15:27:03.249,15:27:03 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:27:03.269,15:27:03 [] [] [] [] INFO LogUtil 127.0.0.1:58742 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 19 tid=fs00001046 OK 2021-11-20 15:27:03.966,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:27:03 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.020 uct=""0.000"" uht=""0.020"" urt=""0.020"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;800178/tenant""" 2021-11-20 15:27:35.652,15:27:35 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:27:35.667,15:27:35 [] [] [] [] INFO LogUtil 127.0.0.1:58972 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 15:27:35.973,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:27:35 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;625939/tenant""" 2021-11-20 15:28:16.143,15:28:16 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:28:16.164,15:28:16 [] [] [] [] INFO LogUtil 127.0.0.1:59184 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 20 tid=fs00001046 OK 2021-11-20 15:28:16.982,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:28:16 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.021 uct=""0.000"" uht=""0.020"" urt=""0.020"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;626413/tenant""" 2021-11-20 15:29:06.758,15:29:06 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:29:06.772,15:29:06 [] [] [] [] INFO LogUtil 127.0.0.1:59556 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 13 tid=fs00001046 OK 2021-11-20 15:29:06.993,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:29:06 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.014 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;504654/tenant""" 2021-11-20 15:30:10.012,15:30:10 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:30:10.027,15:30:10 [] [] [] [] INFO LogUtil 127.0.0.1:59932 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 15:30:11.006,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:30:10 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;931784/tenant""" 2021-11-20 15:31:29.075,15:31:29 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:31:29.089,15:31:29 [] [] [] [] INFO LogUtil 127.0.0.1:60478 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 15:31:30.023,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:31:29 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;164593/tenant""" 2021-11-20 15:33:07.898,15:33:07 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:33:07.912,15:33:07 [] [] [] [] INFO LogUtil 127.0.0.1:32880 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 15:33:08.048,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:33:07 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;682278/tenant""" 2021-11-20 15:35:11.420,15:35:11 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:35:11.434,15:35:11 [] [] [] [] INFO LogUtil 127.0.0.1:33646 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 15:35:12.080,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:35:11 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;473656/tenant""" 2021-11-20 15:37:45.816,15:37:45 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:37:45.830,15:37:45 [] [] [] [] INFO LogUtil 127.0.0.1:34604 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 13 tid=fs00001046 OK 2021-11-20 15:37:46.113,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:37:45 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;006071/tenant""" 2021-11-20 15:40:58.808,15:40:58 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:40:58.831,15:40:58 [] [] [] [] INFO LogUtil 127.0.0.1:35882 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 22 tid=fs00001046 OK 2021-11-20 15:40:59.162,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:40:58 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.023 uct=""0.000"" uht=""0.024"" urt=""0.024"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;427720/tenant""" 2021-11-20 15:41:38.872,15:41:38 [] [] [] [] INFO PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS instance_publication_period on fs00001046_mod_inventory_storage.instance ((jsonb -> 'publicationPeriod')); 2021-11-20 15:41:38.872,15:41:38 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE instance DISABLE TRIGGER USER; 2021-11-20 15:41:38.873,15:41:38 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE instance DISABLE TRIGGER USER; 2021-11-20 15:41:38.873,15:41:38 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION parse_start_year(jsonb) RETURNS int AS $$ 2021-11-20 15:41:38.873, SELECT COALESCE( 2021-11-20 15:41:38.873," (regexp_match($1->'publication'->0->>'dateOfPublication', '(\d{4})\w{0,2}(?:\s?-|\sand|\s?,)'))[1]," 2021-11-20 15:41:38.873," (regexp_match($1->'publication'->0->>'dateOfPublication', '\d{4}'))[1]" 2021-11-20 15:41:38.873, )::int; 2021-11-20 15:41:38.873,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:41:38.874,15:41:38 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION parse_start_year(jsonb) RETURNS int AS $$ 2021-11-20 15:41:38.874, SELECT COALESCE( 2021-11-20 15:41:38.874," (regexp_match($1->'publication'->0->>'dateOfPublication', '(\d{4})\w{0,2}(?:\s?-|\sand|\s?,)'))[1]," 2021-11-20 15:41:38.874," (regexp_match($1->'publication'->0->>'dateOfPublication', '\d{4}'))[1]" 2021-11-20 15:41:38.874, )::int; 2021-11-20 15:41:38.874,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:41:38.874,15:41:38 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION parse_end_year(jsonb) RETURNS int AS $$ 2021-11-20 15:41:38.874, SELECT COALESCE( 2021-11-20 15:41:38.874," (regexp_match($1->'publication'->-1->>'dateOfPublication', '(?:-\s?|and\s|,\s?)\w{0,2}(\d{4})'))[1]," 2021-11-20 15:41:38.874," (regexp_match($1->'publication'->-1->>'dateOfPublication', '\d{4}'))[1]," 2021-11-20 15:41:38.874," (regexp_match($1->'publication'-> 0->>'dateOfPublication', '(?:-\s?|and\s|,\s?)\w{0,2}(\d{4})'))[1]," 2021-11-20 15:41:38.874," (regexp_match($1->'publication'-> 0->>'dateOfPublication', '\d{4}'))[1]" 2021-11-20 15:41:38.874, )::int; 2021-11-20 15:41:38.874,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:41:38.875,15:41:38 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION parse_end_year(jsonb) RETURNS int AS $$ 2021-11-20 15:41:38.875, SELECT COALESCE( 2021-11-20 15:41:38.875," (regexp_match($1->'publication'->-1->>'dateOfPublication', '(?:-\s?|and\s|,\s?)\w{0,2}(\d{4})'))[1]," 2021-11-20 15:41:38.875," (regexp_match($1->'publication'->-1->>'dateOfPublication', '\d{4}'))[1]," 2021-11-20 15:41:38.875," (regexp_match($1->'publication'-> 0->>'dateOfPublication', '(?:-\s?|and\s|,\s?)\w{0,2}(\d{4})'))[1]," 2021-11-20 15:41:38.875," (regexp_match($1->'publication'-> 0->>'dateOfPublication', '\d{4}'))[1]" 2021-11-20 15:41:38.875, )::int; 2021-11-20 15:41:38.875,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:41:38.875,15:41:38 [] [] [] [] INFO PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION parse_publication_period(jsonb) RETURNS jsonb AS $$ 2021-11-20 15:41:38.875, SELECT CASE 2021-11-20 15:41:38.875, WHEN $1->'publication' IS NULL THEN NULL 2021-11-20 15:41:38.875, WHEN jsonb_array_length($1->'publication') = 0 THEN NULL 2021-11-20 15:41:38.875, WHEN parse_start_year($1) IS NULL AND parse_end_year($1) IS NULL THEN NULL 2021-11-20 15:41:38.875," WHEN parse_start_year($1) IS NULL THEN jsonb_build_object('end', parse_end_year($1))" 2021-11-20 15:41:38.875, WHEN parse_end_year($1) IS NULL OR parse_start_year($1) >= parse_end_year($1) 2021-11-20 15:41:38.875," THEN jsonb_build_object('start', parse_start_year($1))" 2021-11-20 15:41:38.875," ELSE jsonb_build_object('start', parse_start_year($1), 'end', parse_end_year($1))" 2021-11-20 15:41:38.875, END; 2021-11-20 15:41:38.875,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:41:38.877,15:41:38 [] [] [] [] INFO PostgresClient Successfully executed CREATE OR REPLACE FUNCTION parse_publication_period(jsonb) RETURNS jsonb AS $$ 2021-11-20 15:41:38.877, SELECT CASE 2021-11-20 15:41:38.877, WHEN $1->'publication' IS NULL THEN NULL 2021-11-20 15:41:38.877, WHEN jsonb_array_length($1->'publication') = 0 THEN NULL 2021-11-20 15:41:38.877, WHEN parse_start_year($1) IS NULL AND parse_end_year($1) IS NULL THEN NULL 2021-11-20 15:41:38.877," WHEN parse_start_year($1) IS NULL THEN jsonb_build_object('end', parse_end_year($1))" 2021-11-20 15:41:38.877, WHEN parse_end_year($1) IS NULL OR parse_start_year($1) >= parse_end_year($1) 2021-11-20 15:41:38.877," THEN jsonb_build_object('start', parse_start_year($1))" 2021-11-20 15:41:38.877," ELSE jsonb_build_object('start', parse_start_year($1), 'end', parse_end_year($1))" 2021-11-20 15:41:38.877, END; 2021-11-20 15:41:38.877,$$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2021-11-20 15:41:38.877,"15:41:38 [] [] [] [] INFO PostgresClient trying to execute: {} UPDATE instance SET jsonb = jsonb_set(jsonb, '{publicationPeriod}', parse_publication_period(jsonb)) WHERE jsonb->>'publicationPeriod' IS NULL AND parse_publication_period(jsonb) IS NOT NULL;" 2021-11-20 15:45:00.051,15:45:00 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:45:00.065,15:45:00 [] [] [] [] INFO LogUtil 127.0.0.1:37380 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 13 tid=fs00001046 OK 2021-11-20 15:45:00.224,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:15:45:00 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.014 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;353797/tenant""" 2021-11-20 15:50:01.590,15:50:01 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:50:01.609,15:50:01 [] [] [] [] INFO LogUtil 127.0.0.1:39214 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 19 tid=fs00001046 OK 2021-11-20 15:50:02.298,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:50:01 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.020 uct=""0.004"" uht=""0.024"" urt=""0.024"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;554411/tenant""" 2021-11-20 15:56:18.509,15:56:18 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 15:56:18.523,15:56:18 [] [] [] [] INFO LogUtil 127.0.0.1:41594 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 15:56:19.406,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:15:56:18 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;664540/tenant""" 2021-11-20 16:02:14.818,16:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 16:02:14.819,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 16:02:14.819,"Nov 20, 2021 4:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 16:02:14.825,"16:02:14 [] [] [] [] INFO CQLWrapper CQL >>> SQL: (id==(""ad11f3e1-5347-40ce-9e8d-686392b67d5d"" or ""ad11f3e1-5347-40ce-9e8d-686392b67d5d"")) >>>WHERE (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') OR (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') LIMIT 1000 OFFSET 0" 2021-11-20 16:04:09.647,16:04:09 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 16:04:09.660,16:04:09 [] [] [] [] INFO LogUtil 127.0.0.1:44614 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 13 tid=fs00001046 OK 2021-11-20 16:04:10.531,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:16:04:09 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.014 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;816204/tenant""" 2021-11-20 16:08:55.609,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:16:08:54 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""426237/item-storage""" 2021-11-20 16:13:58.562,16:13:58 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 16:13:58.577,16:13:58 [] [] [] [] INFO LogUtil 127.0.0.1:48300 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 16:13:58.699,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:16:13:58 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;987773/tenant""" 2021-11-20 16:26:14.702,16:26:14 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 16:26:14.716,16:26:14 [] [] [] [] INFO LogUtil 127.0.0.1:52842 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 16:26:14.891,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:16:26:14 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;396290/tenant""" 2021-11-20 16:41:34.870,16:41:34 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 16:41:34.884,16:41:34 [] [] [] [] INFO LogUtil 127.0.0.1:58720 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 13 tid=fs00001046 OK 2021-11-20 16:41:35.131,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:16:41:34 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.012"" urt=""0.012"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;639669/tenant""" 2021-11-20 17:00:45.074,17:00:45 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 17:00:45.090,17:00:45 [] [] [] [] INFO LogUtil 127.0.0.1:37702 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 16 tid=fs00001046 OK 2021-11-20 17:00:45.431,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:17:00:45 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.017 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;335283/tenant""" 2021-11-20 17:02:14.825,17:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 17:02:14.826,"Nov 20, 2021 5:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 17:02:14.826,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 17:02:14.832,"17:02:14 [] [] [] [] INFO CQLWrapper CQL >>> SQL: (id==(""ad11f3e1-5347-40ce-9e8d-686392b67d5d"" or ""ad11f3e1-5347-40ce-9e8d-686392b67d5d"")) >>>WHERE (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') OR (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') LIMIT 1000 OFFSET 0" 2021-11-20 17:08:55.563,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:17:08:54 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""383079/item-storage""" 2021-11-20 17:24:42.825,17:24:42 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 17:24:42.839,17:24:42 [] [] [] [] INFO LogUtil 127.0.0.1:46758 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 17:24:43.804,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:17:24:42 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;131732/tenant""" 2021-11-20 17:54:40.006,17:54:40 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 17:54:40.027,17:54:40 [] [] [] [] INFO LogUtil 127.0.0.1:58120 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 20 tid=fs00001046 OK 2021-11-20 17:54:40.257,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:17:54:40 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.021 uct=""0.000"" uht=""0.020"" urt=""0.020"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;317978/tenant""" 2021-11-20 18:02:14.845,18:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 18:02:14.846,"Nov 20, 2021 6:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 18:02:14.846,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 18:02:14.852,"18:02:14 [] [] [] [] INFO CQLWrapper CQL >>> SQL: (id==(""ad11f3e1-5347-40ce-9e8d-686392b67d5d"" or ""ad11f3e1-5347-40ce-9e8d-686392b67d5d"")) >>>WHERE (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') OR (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') LIMIT 1000 OFFSET 0" 2021-11-20 18:08:55.483,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:18:08:54 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 499 0 rt=400.000 uct=""0.004"" uht=""-"" urt=""400.003"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""692309/item-storage""" 2021-11-20 18:27:16.257,18:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:32:06.484,18:32:06 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 18:32:06.498,18:32:06 [] [] [] [] INFO LogUtil 127.0.0.1:44034 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 14 tid=fs00001046 OK 2021-11-20 18:32:06.845,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:32:06 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.015 uct=""0.000"" uht=""0.016"" urt=""0.016"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;856236/tenant""" 2021-11-20 18:32:16.277,18:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:33:56.876,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:33:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.004"" uht=""-"" urt=""400.007"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""049073/circulation;502333/item-storage""" 2021-11-20 18:37:16.250,18:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:38:56.957,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:38:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.001 uct=""0.000"" uht=""-"" urt=""400.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""416102/circulation;924647/item-storage""" 2021-11-20 18:42:16.276,18:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:43:57.033,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:43:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""256380/circulation;165792/item-storage""" 2021-11-20 18:47:16.289,18:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:48:57.111,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:48:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""651543/circulation;163324/item-storage""" 2021-11-20 18:52:16.275,18:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:53:57.187,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:53:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""400.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""613998/circulation;354304/item-storage""" 2021-11-20 18:57:16.254,18:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 18:58:57.259,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:18:58:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""400.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""025304/circulation;694398/item-storage""" 2021-11-20 19:02:14.849,19:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 19:02:14.850,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 19:02:14.850,"Nov 20, 2021 7:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 19:02:14.856,"19:02:14 [] [] [] [] INFO CQLWrapper CQL >>> SQL: (id==(""ad11f3e1-5347-40ce-9e8d-686392b67d5d"" or ""ad11f3e1-5347-40ce-9e8d-686392b67d5d"")) >>>WHERE (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') OR (id='ad11f3e1-5347-40ce-9e8d-686392b67d5d') LIMIT 1000 OFFSET 0" 2021-11-20 19:02:16.253,19:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:03:56.333,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:03:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.001 uct=""0.000"" uht=""-"" urt=""399.998"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""949431/circulation;141369/item-storage""" 2021-11-20 19:07:16.267,19:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:08:55.400,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:08:54 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""070821/item-storage""" 2021-11-20 19:08:56.401,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:08:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.002 uct=""0.000"" uht=""-"" urt=""400.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""592035/circulation;667689/item-storage""" 2021-11-20 19:12:16.315,19:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:12:16.316,19:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:13:56.473,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:13:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""440020/circulation;369182/item-storage""" 2021-11-20 19:17:16.302,19:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:17:16.305,19:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:18:54.568,19:18:54 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 19:18:54.590,19:18:54 [] [] [] [] INFO LogUtil 127.0.0.1:33876 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 21 tid=fs00001046 OK 2021-11-20 19:18:55.550,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:18:54 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.022 uct=""0.000"" uht=""0.024"" urt=""0.024"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;661225/tenant""" 2021-11-20 19:18:56.550,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:18:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""919764/circulation;839297/item-storage""" 2021-11-20 19:18:56.550,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:18:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.001 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""919764/circulation;813755/item-storage""" 2021-11-20 19:22:16.343,19:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:22:16.345,19:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:23:56.626,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:23:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=399.999 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""576410/circulation;102921/item-storage""" 2021-11-20 19:23:56.626,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:23:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""400.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""576410/circulation;914846/item-storage""" 2021-11-20 19:27:16.270,19:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:27:16.271,19:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:27:46.275,19:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:37086 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30003 tid=fs00001046 Internal Server Error 2021-11-20 19:27:46.685,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.005 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""757887/circulation;894780/item-storage""" 2021-11-20 19:28:56.703,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:28:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""724418/circulation;185447/item-storage""" 2021-11-20 19:28:56.703,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:28:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.001 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""724418/circulation;828327/item-storage""" 2021-11-20 19:32:16.267,19:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:32:16.269,19:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:32:46.269,19:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:38998 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 19:32:46.269,19:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:39000 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 19:32:46.763,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""29.999"" urt=""29.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""294303/circulation;813102/item-storage""" 2021-11-20 19:32:46.763,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.003"" urt=""30.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""294303/circulation;623240/item-storage""" 2021-11-20 19:33:56.781,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:33:56 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 499 0 rt=400.000 uct=""0.000"" uht=""-"" urt=""399.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""757887/circulation;769134/item-storage""" 2021-11-20 19:37:16.280,19:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:37:16.281,19:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:37:46.282,19:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:40950 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 19:37:46.282,19:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:40952 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 19:37:46.840,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""876098/circulation;088179/item-storage""" 2021-11-20 19:37:46.840,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""876098/circulation;211852/item-storage""" 2021-11-20 19:42:16.290,19:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:42:16.291,19:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:42:46.292,19:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:42860 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 19:42:46.292,19:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:42858 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 19:42:46.910,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""125695/circulation;758588/item-storage""" 2021-11-20 19:42:46.910,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:19:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""125695/circulation;425773/item-storage""" 2021-11-20 19:47:16.287,19:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:47:16.312,19:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:47:46.289,19:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:44786 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 19:47:46.313,19:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:44788 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 19:47:46.986,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""041222/circulation;750115/item-storage""" 2021-11-20 19:47:46.986,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""041222/circulation;071364/item-storage""" 2021-11-20 19:52:16.287,19:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:52:16.288,19:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:52:46.289,19:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:46678 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 19:52:46.290,19:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:46680 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 19:52:47.062,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""305239/circulation;241878/item-storage""" 2021-11-20 19:52:47.062,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""305239/circulation;962617/item-storage""" 2021-11-20 19:57:16.269,19:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:57:16.270,19:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 19:57:46.271,19:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:48650 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 19:57:46.271,19:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:48652 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 19:57:47.140,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""196845/circulation;807719/item-storage""" 2021-11-20 19:57:47.140,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:19:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""196845/circulation;451066/item-storage""" 2021-11-20 20:02:14.873,20:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 20:02:14.874,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 20:02:14.874,"Nov 20, 2021 8:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 20:02:16.298,20:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:02:16.299,20:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:02:44.876,20:02:44 [] [] [] [] ERROR PostgresClient Timeout 2021-11-20 20:02:44.876,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 20:02:44.876,20:02:44 [] [] [] [] ERROR PgUtil Timeout 2021-11-20 20:02:44.876,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 20:02:45.220,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:02:44 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 400 7 rt=30.004 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""006302/item-storage""" 2021-11-20 20:02:46.299,20:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:50604 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:02:46.300,20:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:50606 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:02:47.221,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""414437/circulation;232074/item-storage""" 2021-11-20 20:02:47.221,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""414437/circulation;329834/item-storage""" 2021-11-20 20:07:16.284,20:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:07:16.285,20:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:07:46.286,20:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:52524 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 20:07:46.287,20:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:52526 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:07:46.295,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.007"" urt=""30.007"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""373576/circulation;437728/item-storage""" 2021-11-20 20:07:46.295,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.003"" urt=""30.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""373576/circulation;521186/item-storage""" 2021-11-20 20:12:16.322,20:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:12:16.323,20:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:12:46.324,20:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:54384 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 20:12:46.324,20:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:54386 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:12:46.371,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""581501/circulation;581220/item-storage""" 2021-11-20 20:12:46.371,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""581501/circulation;386270/item-storage""" 2021-11-20 20:17:16.301,20:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:17:16.303,20:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:17:24.674,20:17:24 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 20:17:24.695,20:17:24 [] [] [] [] INFO LogUtil 127.0.0.1:56400 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 21 tid=fs00001046 OK 2021-11-20 20:17:25.439,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:17:24 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.022 uct=""0.000"" uht=""0.020"" urt=""0.020"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;801980/tenant""" 2021-11-20 20:17:46.303,20:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:56308 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:17:46.304,20:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:56310 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 20:17:46.444,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.004"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""341879/circulation;826750/item-storage""" 2021-11-20 20:17:46.444,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""341879/circulation;140156/item-storage""" 2021-11-20 20:22:16.355,20:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:22:16.360,20:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:22:46.357,20:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:58196 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:22:46.361,20:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:58200 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:22:46.520,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""422677/circulation;772291/item-storage""" 2021-11-20 20:22:46.520,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""422677/circulation;291502/item-storage""" 2021-11-20 20:27:16.281,20:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:27:16.284,20:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:27:46.283,20:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:60168 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:27:46.285,20:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:60170 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:27:46.598,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""166837/circulation;997480/item-storage""" 2021-11-20 20:27:46.598,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""166837/circulation;870619/item-storage""" 2021-11-20 20:32:16.306,20:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:32:16.308,20:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:32:46.309,20:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:33850 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 20:32:46.309,20:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:33848 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 20:32:46.675,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""674287/circulation;678912/item-storage""" 2021-11-20 20:32:46.675,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""674287/circulation;894498/item-storage""" 2021-11-20 20:37:16.290,20:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:37:16.291,20:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:37:46.292,20:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:35792 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 20:37:46.293,20:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:35794 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:37:46.754,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""263781/circulation;119670/item-storage""" 2021-11-20 20:37:46.754,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""263781/circulation;689673/item-storage""" 2021-11-20 20:42:16.298,20:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:42:16.299,20:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:42:46.300,20:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:37704 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:42:46.300,20:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:37702 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:42:46.831,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""913195/circulation;250813/item-storage""" 2021-11-20 20:42:46.831,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""913195/circulation;245227/item-storage""" 2021-11-20 20:47:16.291,20:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:47:16.294,20:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:47:46.293,20:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:39610 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:47:46.295,20:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:39612 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:47:46.908,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""973533/circulation;306889/item-storage""" 2021-11-20 20:47:46.908,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:20:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""973533/circulation;590283/item-storage""" 2021-11-20 20:52:16.300,20:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:52:16.301,20:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:52:46.301,20:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:41464 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 20:52:46.302,20:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:41466 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 20:52:46.989,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""673535/circulation;735119/item-storage""" 2021-11-20 20:52:46.990,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""673535/circulation;239936/item-storage""" 2021-11-20 20:57:16.315,20:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:57:16.316,20:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 20:57:46.317,20:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:43408 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 20:57:46.318,20:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:43410 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 20:57:47.072,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""223443/circulation;254371/item-storage""" 2021-11-20 20:57:47.072,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:20:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""223443/circulation;839825/item-storage""" 2021-11-20 21:02:14.833,21:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 21:02:14.834,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 21:02:14.834,"Nov 20, 2021 9:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 21:02:16.298,21:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:02:16.299,21:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:02:44.835,21:02:44 [] [] [] [] ERROR PostgresClient Timeout 2021-11-20 21:02:44.835,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 21:02:44.835,21:02:44 [] [] [] [] ERROR PgUtil Timeout 2021-11-20 21:02:44.835,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 21:02:45.147,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:02:44 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 400 7 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""521422/item-storage""" 2021-11-20 21:02:46.300,21:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:45406 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:02:46.300,21:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:45408 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:02:47.148,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""521851/circulation;678222/item-storage""" 2021-11-20 21:02:47.148,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""521851/circulation;200350/item-storage""" 2021-11-20 21:07:16.318,21:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:07:16.318,21:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:07:46.319,21:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:47340 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 21:07:46.320,21:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:47342 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:07:47.226,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""912136/circulation;263769/item-storage""" 2021-11-20 21:07:47.226,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""912136/circulation;245418/item-storage""" 2021-11-20 21:12:16.305,21:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:12:16.306,21:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:12:46.307,21:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:49202 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:12:46.308,21:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:49204 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:12:47.306,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""139465/circulation;750993/item-storage""" 2021-11-20 21:12:47.306,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""139465/circulation;706271/item-storage""" 2021-11-20 21:17:16.307,21:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:17:16.308,21:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:17:46.309,21:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:51134 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 21:17:46.310,21:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:51136 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:17:46.378,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""676040/circulation;645912/item-storage""" 2021-11-20 21:17:46.378,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""676040/circulation;262696/item-storage""" 2021-11-20 21:22:16.311,21:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:22:16.313,21:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:22:46.313,21:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:53010 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:22:46.314,21:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:53012 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:22:46.462,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""846755/circulation;096404/item-storage""" 2021-11-20 21:22:46.462,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""846755/circulation;509920/item-storage""" 2021-11-20 21:27:16.339,21:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:27:16.359,21:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:27:46.341,21:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:54932 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 21:27:46.361,21:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:54934 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:27:46.544,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""134848/circulation;339785/item-storage""" 2021-11-20 21:27:46.544,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""134848/circulation;822153/item-storage""" 2021-11-20 21:30:32.298,21:30:32 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 21:30:32.320,21:30:32 [] [] [] [] INFO LogUtil 127.0.0.1:56176 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 22 tid=fs00001046 OK 2021-11-20 21:30:32.589,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:30:32 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.023 uct=""0.004"" uht=""0.024"" urt=""0.024"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;185230/tenant""" 2021-11-20 21:32:16.316,21:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:32:16.318,21:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:32:46.317,21:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:56800 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 21:32:46.317,21:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:56798 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:32:46.623,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""765035/circulation;607189/item-storage""" 2021-11-20 21:32:46.623,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""765035/circulation;882137/item-storage""" 2021-11-20 21:37:16.309,21:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:37:16.310,21:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:37:46.310,21:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:58718 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:37:46.311,21:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:58720 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 21:37:46.707,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""725244/circulation;780719/item-storage""" 2021-11-20 21:37:46.707,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""725244/circulation;579005/item-storage""" 2021-11-20 21:42:16.320,21:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:42:16.322,21:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:42:46.322,21:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:60576 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 21:42:46.323,21:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:60578 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 21:42:46.785,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""771012/circulation;016077/item-storage""" 2021-11-20 21:42:46.786,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""771012/circulation;346271/item-storage""" 2021-11-20 21:47:16.334,21:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:47:16.335,21:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:47:46.336,21:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:34242 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:47:46.336,21:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:34244 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:47:46.865,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""502514/circulation;262098/item-storage""" 2021-11-20 21:47:46.865,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:21:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""502514/circulation;353433/item-storage""" 2021-11-20 21:52:16.321,21:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:52:16.327,21:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:52:46.323,21:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:36074 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:52:46.329,21:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:36078 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:52:46.942,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""327025/circulation;916584/item-storage""" 2021-11-20 21:52:46.942,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""327025/circulation;355939/item-storage""" 2021-11-20 21:57:16.324,21:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:57:16.325,21:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 21:57:46.326,21:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:38004 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 21:57:46.327,21:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:38006 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 21:57:47.013,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""876076/circulation;792542/item-storage""" 2021-11-20 21:57:47.013,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:21:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.004"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""876076/circulation;682396/item-storage""" 2021-11-20 22:02:14.828,22:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 22:02:14.830,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 22:02:14.830,"Nov 20, 2021 10:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 22:02:16.321,22:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:02:16.322,22:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:02:44.831,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 22:02:44.831,22:02:44 [] [] [] [] ERROR PgUtil Timeout 2021-11-20 22:02:44.831,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 22:02:44.831,22:02:44 [] [] [] [] ERROR PostgresClient Timeout 2021-11-20 22:02:45.089,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:02:44 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 400 7 rt=30.004 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""129486/item-storage""" 2021-11-20 22:02:46.322,22:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:39898 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:02:46.324,22:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:39900 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:02:47.090,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""455654/circulation;585257/item-storage""" 2021-11-20 22:02:47.090,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""455654/circulation;527093/item-storage""" 2021-11-20 22:07:16.328,22:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:07:16.330,22:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:07:46.330,22:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:41816 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:07:46.331,22:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:41818 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:07:47.165,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""636660/circulation;566921/item-storage""" 2021-11-20 22:07:47.165,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""636660/circulation;281313/item-storage""" 2021-11-20 22:12:16.314,22:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:12:16.315,22:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:12:46.315,22:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:43698 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:12:46.316,22:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:43700 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 22:12:47.243,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""411385/circulation;107367/item-storage""" 2021-11-20 22:12:47.243,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""411385/circulation;592177/item-storage""" 2021-11-20 22:17:16.339,22:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:17:16.340,22:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:17:46.341,22:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:45644 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:17:46.341,22:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:45646 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:17:47.314,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""519277/circulation;247730/item-storage""" 2021-11-20 22:17:47.315,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""519277/circulation;769033/item-storage""" 2021-11-20 22:22:16.325,22:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:22:16.326,22:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:22:46.327,22:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:47520 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:22:46.327,22:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:47522 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:22:46.383,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""522769/circulation;066347/item-storage""" 2021-11-20 22:22:46.383,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""522769/circulation;209705/item-storage""" 2021-11-20 22:27:16.323,22:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:27:16.324,22:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:27:46.325,22:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:49460 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 22:27:46.326,22:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:49462 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:27:46.448,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""520448/circulation;295381/item-storage""" 2021-11-20 22:27:46.448,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""520448/circulation;845802/item-storage""" 2021-11-20 22:32:16.317,22:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:32:16.319,22:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:32:46.319,22:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:51360 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:32:46.321,22:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:51362 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:32:46.521,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""027562/circulation;948189/item-storage""" 2021-11-20 22:32:46.521,"10.23.40.64, 10.23.42.201, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""027562/circulation;905449/item-storage""" 2021-11-20 22:37:16.366,22:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:37:16.368,22:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:37:46.367,22:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:53292 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:37:46.369,22:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:53294 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:37:46.589,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""406757/circulation;265946/item-storage""" 2021-11-20 22:37:46.589,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.201 - - [20/Nov/2021:22:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""406757/circulation;136777/item-storage""" 2021-11-20 22:42:16.330,22:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:42:16.335,22:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:42:16.335,22:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:42:46.332,22:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:55204 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 22:42:46.336,22:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:55210 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:42:46.336,22:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:55212 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 22:42:46.659,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""334552/circulation;885645/item-storage""" 2021-11-20 22:42:46.659,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""334552/circulation;566511/item-storage""" 2021-11-20 22:42:46.659,"10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.32 - - [20/Nov/2021:22:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""334552/circulation;803939/item-storage""" 2021-11-20 22:47:16.350,22:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:47:16.352,22:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:47:16.354,22:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:47:46.352,22:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:57618 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:47:46.353,22:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:57622 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:47:46.354,22:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:57626 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 22:47:46.731,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""380061/circulation;286519/item-storage""" 2021-11-20 22:47:46.731,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""380061/circulation;166790/item-storage""" 2021-11-20 22:47:46.731,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""380061/circulation;301840/item-storage""" 2021-11-20 22:52:16.343,22:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:52:16.345,22:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:52:16.346,22:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:52:46.345,22:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:60420 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 22:52:46.346,22:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:60424 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:52:46.347,22:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:60426 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 22:52:46.804,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""569194/circulation;402197/item-storage""" 2021-11-20 22:52:46.804,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""569194/circulation;517853/item-storage""" 2021-11-20 22:52:46.804,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""569194/circulation;698106/item-storage""" 2021-11-20 22:57:16.346,22:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:57:16.359,22:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:57:16.366,22:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 22:57:46.348,22:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:35060 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:57:46.359,22:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:35062 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 22:57:46.368,22:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:35064 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 22:57:46.881,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""178614/circulation;885756/item-storage""" 2021-11-20 22:57:46.881,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""178614/circulation;416933/item-storage""" 2021-11-20 22:57:46.881,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:22:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""178614/circulation;500733/item-storage""" 2021-11-20 23:01:56.821,23:01:56 [] [] [] [] INFO RestRouting invoking getTenantByOperationId 2021-11-20 23:01:56.839,23:01:56 [] [] [] [] INFO LogUtil 127.0.0.1:37734 GET /_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 null HTTP_1_1 200 296 17 tid=fs00001046 OK 2021-11-20 23:01:56.947,"140.234.253.9, 10.23.40.64, 10.23.42.32, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:01:56 +0000] ""GET /mod-inventory-storage/_/tenant/d5ac950a-5668-43b4-8e9c-5d601025b913 HTTP/1.1"" 200 308 rt=0.018 uct=""0.004"" uht=""0.020"" urt=""0.020"" ""Vert.x-WebClient/4.1.4"" ""fs00001046"" ""-"" ""382330/proxy;934788/tenant""" 2021-11-20 23:02:14.843,23:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-20 23:02:14.844,"Nov 20, 2021 11:02:14 PM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-20 23:02:14.844,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-20 23:02:16.363,23:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:02:16.369,23:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:02:16.370,23:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:02:44.846,23:02:44 [] [] [] [] ERROR PostgresClient Timeout 2021-11-20 23:02:44.846,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 23:02:44.846,23:02:44 [] [] [] [] ERROR PgUtil Timeout 2021-11-20 23:02:44.846,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-20 23:02:44.961,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:02:44 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 400 7 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""878676/item-storage""" 2021-11-20 23:02:46.366,23:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:37948 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:02:46.370,23:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:37954 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:02:46.371,23:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:37956 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:02:46.962,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""339568/circulation;184470/item-storage""" 2021-11-20 23:02:46.962,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""339568/circulation;250895/item-storage""" 2021-11-20 23:02:46.962,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""339568/circulation;009969/item-storage""" 2021-11-20 23:07:16.343,23:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:07:16.345,23:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:07:16.346,23:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:07:46.344,23:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:40610 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:07:46.347,23:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:40614 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:07:46.347,23:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:40616 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:07:47.035,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""29.999"" urt=""29.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""117370/circulation;412987/item-storage""" 2021-11-20 23:07:47.035,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.004"" uht=""30.003"" urt=""30.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""117370/circulation;843142/item-storage""" 2021-11-20 23:07:47.035,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""29.999"" urt=""29.999"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""117370/circulation;203770/item-storage""" 2021-11-20 23:12:16.364,23:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:12:16.369,23:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:12:16.372,23:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:12:46.366,23:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:42508 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:12:46.371,23:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:42514 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:12:46.373,23:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:42516 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:12:47.108,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""418677/circulation;044468/item-storage""" 2021-11-20 23:12:47.109,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""418677/circulation;431646/item-storage""" 2021-11-20 23:12:47.109,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""418677/circulation;647028/item-storage""" 2021-11-20 23:17:16.420,23:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:17:16.422,23:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:17:16.422,23:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:17:46.422,23:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:44472 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:17:46.423,23:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:44476 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:17:46.423,23:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:44478 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:17:47.190,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""029524/circulation;785680/item-storage""" 2021-11-20 23:17:47.190,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""029524/circulation;764203/item-storage""" 2021-11-20 23:17:47.190,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""029524/circulation;509099/item-storage""" 2021-11-20 23:22:16.361,23:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:22:16.368,23:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:22:16.371,23:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:22:46.363,23:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:46400 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:22:46.370,23:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:46402 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:22:46.373,23:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:46404 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:22:47.272,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""579585/circulation;230194/item-storage""" 2021-11-20 23:22:47.272,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""579585/circulation;213710/item-storage""" 2021-11-20 23:22:47.272,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""579585/circulation;359433/item-storage""" 2021-11-20 23:27:16.357,23:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:27:16.359,23:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:27:16.359,23:27:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:27:46.359,23:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:48480 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:27:46.360,23:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:48482 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:27:46.360,23:27:46 [] [] [] [] INFO LogUtil 127.0.0.1:48484 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:27:47.347,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""124956/circulation;159505/item-storage""" 2021-11-20 23:27:47.347,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""124956/circulation;190784/item-storage""" 2021-11-20 23:27:47.348,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:27:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""124956/circulation;554868/item-storage""" 2021-11-20 23:32:16.365,23:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:32:16.377,23:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:32:16.399,23:32:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:32:46.367,23:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:50398 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:32:46.378,23:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:50400 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:32:46.401,23:32:46 [] [] [] [] INFO LogUtil 127.0.0.1:50402 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:32:46.430,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""615955/circulation;078203/item-storage""" 2021-11-20 23:32:46.430,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""615955/circulation;800099/item-storage""" 2021-11-20 23:32:46.430,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:32:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""615955/circulation;317648/item-storage""" 2021-11-20 23:37:16.346,23:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:37:16.348,23:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:37:16.349,23:37:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:37:46.348,23:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:52376 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:37:46.349,23:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:52380 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:37:46.350,23:37:46 [] [] [] [] INFO LogUtil 127.0.0.1:52382 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:37:46.502,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.003"" urt=""30.003"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""814065/circulation;341722/item-storage""" 2021-11-20 23:37:46.502,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.007"" urt=""30.007"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""814065/circulation;201327/item-storage""" 2021-11-20 23:37:46.502,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:37:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.007"" urt=""30.007"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""814065/circulation;945936/item-storage""" 2021-11-20 23:42:16.376,23:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:42:16.377,23:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:42:16.377,23:42:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:42:46.378,23:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:54312 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:42:46.378,23:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:54314 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:42:46.378,23:42:46 [] [] [] [] INFO LogUtil 127.0.0.1:54316 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:42:46.582,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""628247/circulation;952278/item-storage""" 2021-11-20 23:42:46.582,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""628247/circulation;881669/item-storage""" 2021-11-20 23:42:46.582,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:42:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""628247/circulation;857059/item-storage""" 2021-11-20 23:47:16.386,23:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:47:16.386,23:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:47:16.389,23:47:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:47:46.388,23:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:56268 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:47:46.388,23:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:56270 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:47:46.390,23:47:46 [] [] [] [] INFO LogUtil 127.0.0.1:56272 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:47:46.663,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""607043/circulation;345242/item-storage""" 2021-11-20 23:47:46.663,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""607043/circulation;339929/item-storage""" 2021-11-20 23:47:46.663,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:47:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.000 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""607043/circulation;176507/item-storage""" 2021-11-20 23:52:16.361,23:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:52:16.363,23:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:52:16.363,23:52:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:52:46.364,23:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:58190 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-20 23:52:46.364,23:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:58192 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:52:46.364,23:52:46 [] [] [] [] INFO LogUtil 127.0.0.1:58194 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:52:46.737,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""872301/circulation;300283/item-storage""" 2021-11-20 23:52:46.737,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""872301/circulation;284856/item-storage""" 2021-11-20 23:52:46.737,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [20/Nov/2021:23:52:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""872301/circulation;922293/item-storage""" 2021-11-20 23:57:16.362,23:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:57:16.365,23:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:57:16.365,23:57:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-20 23:57:46.363,23:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:60156 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-20 23:57:46.366,23:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:60162 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:57:46.366,23:57:46 [] [] [] [] INFO LogUtil 127.0.0.1:60164 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-20 23:57:46.814,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""231043/circulation;442541/item-storage""" 2021-11-20 23:57:46.814,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""231043/circulation;691260/item-storage""" 2021-11-20 23:57:46.814,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [20/Nov/2021:23:57:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.004"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""231043/circulation;251679/item-storage""" 2021-11-21 00:02:14.848,00:02:14 [] [] [] [] INFO RestRouting invoking getItemStorageItems 2021-11-21 00:02:14.849,"Nov 21, 2021 12:02:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema" 2021-11-21 00:02:14.849,INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2021-11-21 00:02:16.369,00:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:02:16.370,00:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:02:16.371,00:02:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:02:44.850,00:02:44 [] [] [] [] ERROR PostgresClient Timeout 2021-11-21 00:02:44.850,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-21 00:02:44.850,00:02:44 [] [] [] [] ERROR PgUtil Timeout 2021-11-21 00:02:44.850,io.vertx.core.impl.NoStackTraceThrowable: Timeout 2021-11-21 00:02:44.887,"10.23.40.64, 10.23.42.218, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:02:44 +0000] ""GET /mod-inventory-storage/item-storage/items?query=%28id%3D%3D%28%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%20or%20%22ad11f3e1-5347-40ce-9e8d-686392b67d5d%22%29%29&limit=1000 HTTP/1.1"" 400 7 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.0.CR1"" ""fs00001046"" ""-"" ""473820/item-storage""" 2021-11-21 00:02:46.371,00:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:33892 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-21 00:02:46.371,00:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:33894 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-21 00:02:46.371,00:02:46 [] [] [] [] INFO LogUtil 127.0.0.1:33896 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-21 00:02:46.888,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""397035/circulation;143822/item-storage""" 2021-11-21 00:02:46.888,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""397035/circulation;684054/item-storage""" 2021-11-21 00:02:46.888,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:02:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""397035/circulation;158577/item-storage""" 2021-11-21 00:07:16.361,00:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:07:16.362,00:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:07:16.364,00:07:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:07:46.362,00:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:35862 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-21 00:07:46.363,00:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:35864 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-21 00:07:46.365,00:07:46 [] [] [] [] INFO LogUtil 127.0.0.1:35866 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-21 00:07:46.970,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""549076/circulation;365185/item-storage""" 2021-11-21 00:07:46.970,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""549076/circulation;712564/item-storage""" 2021-11-21 00:07:46.970,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:07:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.000"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""549076/circulation;022754/item-storage""" 2021-11-21 00:12:16.373,00:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:12:16.377,00:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:12:16.378,00:12:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:12:46.375,00:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:37762 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-21 00:12:46.378,00:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:37768 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-21 00:12:46.378,00:12:46 [] [] [] [] INFO LogUtil 127.0.0.1:37770 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-21 00:12:47.049,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""181348/circulation;676401/item-storage""" 2021-11-21 00:12:47.049,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""181348/circulation;785191/item-storage""" 2021-11-21 00:12:47.049,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:12:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""181348/circulation;958862/item-storage""" 2021-11-21 00:17:16.363,00:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:17:16.367,00:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:17:16.369,00:17:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:17:46.366,00:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:39732 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-21 00:17:46.368,00:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:39738 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-21 00:17:46.370,00:17:46 [] [] [] [] INFO LogUtil 127.0.0.1:39740 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-21 00:17:47.115,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.002 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""418013/circulation;718231/item-storage""" 2021-11-21 00:17:47.115,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""418013/circulation;699020/item-storage""" 2021-11-21 00:17:47.115,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.72 - - [21/Nov/2021:00:17:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""418013/circulation;515075/item-storage""" 2021-11-21 00:22:16.366,00:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:22:16.369,00:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:22:16.370,00:22:16 [] [] [] [] INFO RestRouting invoking getItemStorageItemsByItemId 2021-11-21 00:22:46.368,00:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:41658 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30002 tid=fs00001046 Internal Server Error 2021-11-21 00:22:46.369,00:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:41662 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30000 tid=fs00001046 Internal Server Error 2021-11-21 00:22:46.371,00:22:46 [] [] [] [] INFO LogUtil 127.0.0.1:41664 GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 500 7 30001 tid=fs00001046 Internal Server Error 2021-11-21 00:22:47.193,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.003 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""006523/circulation;849147/item-storage""" 2021-11-21 00:22:47.193,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.004"" urt=""30.004"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""006523/circulation;421852/item-storage""" 2021-11-21 00:22:47.193,"10.23.40.64, 10.23.42.72, 10.23.40.147, 10.23.40.147 - 10.23.42.218 - - [21/Nov/2021:00:22:46 +0000] ""GET /mod-inventory-storage/item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b HTTP/1.1"" 500 17 rt=30.001 uct=""0.000"" uht=""30.000"" urt=""30.000"" ""Vert.x-WebClient/4.1.1"" ""fs00001046"" ""-"" ""006523/circulation;815074/item-storage""" 2021-11-21 00:25:48.942,"00:25:48 [] [] [] [] INFO PostgresClient Successfully executed UPDATE instance SET jsonb = jsonb_set(jsonb, '{publicationPeriod}', parse_publication_period(jsonb)) WHERE jsonb->>'publicationPeriod' IS NULL AND parse_publication_period(jsonb) IS NOT NULL;" 2021-11-21 00:25:48.942,00:25:48 [] [] [] [] INFO PostgresClient trying to execute: {} ALTER TABLE instance ENABLE TRIGGER USER; 2021-11-21 00:25:48.943,00:25:48 [] [] [] [] INFO PostgresClient Successfully executed ALTER TABLE instance ENABLE TRIGGER USER; 2021-11-21 00:25:48.943,"00:25:48 [] [] [] [] INFO PostgresClient trying to execute: {} DROP FUNCTION parse_start_year(jsonb), parse_end_year(jsonb), parse_publication_period(jsonb);" 2021-11-21 00:25:48.944,"00:25:48 [] [] [] [] INFO PostgresClient Successfully executed DROP FUNCTION parse_start_year(jsonb), parse_end_year(jsonb), parse_publication_period(jsonb);" 2021-11-21 00:25:48.944,00:25:48 [] [] [] [] INFO PostgresClient trying to execute: {} DROP INDEX IF EXISTS instance_publication_period; 2021-11-21 00:25:48.944,00:25:48 [] [] [] [] INFO PostgresClient Successfully executed DROP INDEX IF EXISTS instance_publication_period; 2021-11-21 00:25:48.944,00:25:48 [] [] [] [] INFO PostgresClient trying to execute: {} END TRANSACTION; 2021-11-21 00:25:48.968,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 19712713 tid=fs00001046 OK 2021-11-21 00:25:48.968,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 17912698 tid=fs00001046 OK 2021-11-21 00:25:48.970,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 18212625 tid=fs00001046 OK 2021-11-21 00:25:48.970,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 19112702 tid=fs00001046 OK 2021-11-21 00:25:48.970,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 18512669 tid=fs00001046 OK 2021-11-21 00:25:48.970,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 18812655 tid=fs00001046 OK 2021-11-21 00:25:48.971,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 21512713 tid=fs00001046 OK 2021-11-21 00:25:48.971,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 20912721 tid=fs00001046 OK 2021-11-21 00:25:48.972,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 20012697 tid=fs00001046 OK 2021-11-21 00:25:48.972,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 18212627 tid=fs00001046 OK 2021-11-21 00:25:48.975,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 20312683 tid=fs00001046 OK 2021-11-21 00:25:48.975,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 18812657 tid=fs00001046 OK 2021-11-21 00:25:48.975,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 21212697 tid=fs00001046 OK 2021-11-21 00:25:48.975,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 19412721 tid=fs00001046 OK 2021-11-21 00:25:48.975,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 20612699 tid=fs00001046 OK 2021-11-21 00:25:48.976,00:25:48 [] [] [] [] INFO LogUtil null GET /item-storage/items/aff82a7a-d6ba-47db-9782-4e03be86948b null HTTP_1_1 200 1558 18512673 tid=fs00001046 OK 2021-11-21 00:25:49.016,00:25:49 [] [] [] [] INFO PostgresClient Successfully executed END TRANSACTION; 2021-11-21 00:25:49.016,00:25:49 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-21 00:25:49.016,DECLARE 2021-11-21 00:25:49.016, aname TEXT; 2021-11-21 00:25:49.016,BEGIN 2021-11-21 00:25:49.016, FOR aname IN SELECT name FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE remove = TRUE 2021-11-21 00:25:49.016, LOOP 2021-11-21 00:25:49.016, EXECUTE 'DROP INDEX IF EXISTS ' || aname; 2021-11-21 00:25:49.016, END LOOP; 2021-11-21 00:25:49.016,END $$; 2021-11-21 00:25:49.025,"00:25:49 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='index ""instance_classifications_idx_gin"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement ""DROP INDEX IF EXISTS instance_classifications_idx_gin""" 2021-11-21 00:25:49.025,"PL/pgSQL function inline_code_block line 7 at EXECUTE', file='tablecmds.c', line='1206', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-21 00:25:49.025,"00:25:49 [] [] [] [] WARN ? Backend notice: severity='NOTICE', code='00000', message='index ""instance_contributorsname_idx_ft"" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement ""DROP INDEX IF EXISTS instance_contributorsName_idx_ft""" 2021-11-21 00:25:49.025,"PL/pgSQL function inline_code_block line 7 at EXECUTE', file='tablecmds.c', line='1206', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null'" 2021-11-21 00:25:49.074,00:25:49 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-21 00:25:49.074,DECLARE 2021-11-21 00:25:49.074, aname TEXT; 2021-11-21 00:25:49.074,BEGIN 2021-11-21 00:25:49.074, FOR aname IN SELECT name FROM fs00001046_mod_inventory_storage.rmb_internal_index WHERE remove = TRUE 2021-11-21 00:25:49.074, LOOP 2021-11-21 00:25:49.074, EXECUTE 'DROP INDEX IF EXISTS ' || aname; 2021-11-21 00:25:49.074, END LOOP; 2021-11-21 00:25:49.074,END $$; 2021-11-21 00:25:49.074,00:25:49 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-21 00:25:49.074,DECLARE 2021-11-21 00:25:49.074, version TEXT; 2021-11-21 00:25:49.074, i RECORD; 2021-11-21 00:25:49.074, newindexdef TEXT; 2021-11-21 00:25:49.074,BEGIN 2021-11-21 00:25:49.074, SELECT jsonb->>'rmbVersion' INTO version FROM fs00001046_mod_inventory_storage.rmb_internal; 2021-11-21 00:25:49.074, IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN 2021-11-21 00:25:49.074, -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x 2021-11-21 00:25:49.074, RETURN; 2021-11-21 00:25:49.074, END IF; 2021-11-21 00:25:49.074, FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'fs00001046_mod_inventory_storage' 2021-11-21 00:25:49.074, LOOP 2021-11-21 00:25:49.074," newindexdef := regexp_replace(i.indexdef," 2021-11-21 00:25:49.074," -- \m = beginning of a word, \M = end of a word" 2021-11-21 00:25:49.074," '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M'," 2021-11-21 00:25:49.074," 'fs00001046_mod_inventory_storage.\1'," 2021-11-21 00:25:49.074, 'g'); 2021-11-21 00:25:49.074, IF newindexdef <> i.indexdef THEN 2021-11-21 00:25:49.074, EXECUTE 'DROP INDEX ' || i.indexname; 2021-11-21 00:25:49.074, EXECUTE newindexdef; 2021-11-21 00:25:49.074, EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; 2021-11-21 00:25:49.074, END IF; 2021-11-21 00:25:49.074, END LOOP; 2021-11-21 00:25:49.074,END $$; 2021-11-21 00:25:49.075,00:25:49 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-21 00:25:49.075,DECLARE 2021-11-21 00:25:49.075, version TEXT; 2021-11-21 00:25:49.075, i RECORD; 2021-11-21 00:25:49.075, newindexdef TEXT; 2021-11-21 00:25:49.075,BEGIN 2021-11-21 00:25:49.075, SELECT jsonb->>'rmbVersion' INTO version FROM fs00001046_mod_inventory_storage.rmb_internal; 2021-11-21 00:25:49.075, IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN 2021-11-21 00:25:49.075, -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x 2021-11-21 00:25:49.075, RETURN; 2021-11-21 00:25:49.075, END IF; 2021-11-21 00:25:49.075, FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'fs00001046_mod_inventory_storage' 2021-11-21 00:25:49.075, LOOP 2021-11-21 00:25:49.075," newindexdef := regexp_replace(i.indexdef," 2021-11-21 00:25:49.075," -- \m = beginning of a word, \M = end of a word" 2021-11-21 00:25:49.075," '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M'," 2021-11-21 00:25:49.075," 'fs00001046_mod_inventory_storage.\1'," 2021-11-21 00:25:49.075, 'g'); 2021-11-21 00:25:49.075, IF newindexdef <> i.indexdef THEN 2021-11-21 00:25:49.075, EXECUTE 'DROP INDEX ' || i.indexname; 2021-11-21 00:25:49.075, EXECUTE newindexdef; 2021-11-21 00:25:49.075, EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; 2021-11-21 00:25:49.075, END IF; 2021-11-21 00:25:49.075, END LOOP; 2021-11-21 00:25:49.075,END $$; 2021-11-21 00:25:49.075,00:25:49 [] [] [] [] INFO PostgresClient trying to execute: {} DO $$ 2021-11-21 00:25:49.075,DECLARE 2021-11-21 00:25:49.075, t TEXT; 2021-11-21 00:25:49.075,BEGIN 2021-11-21 00:25:49.075, FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze 2021-11-21 00:25:49.075, LOOP 2021-11-21 00:25:49.075, EXECUTE 'ANALYZE ' || t; 2021-11-21 00:25:49.075, END LOOP; 2021-11-21 00:25:49.075,END $$; 2021-11-21 00:26:59.923,00:26:59 [] [] [] [] INFO PostgresClient Successfully executed DO $$ 2021-11-21 00:26:59.923,DECLARE 2021-11-21 00:26:59.923, t TEXT; 2021-11-21 00:26:59.923,BEGIN 2021-11-21 00:26:59.923, FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze 2021-11-21 00:26:59.923, LOOP 2021-11-21 00:26:59.923, EXECUTE 'ANALYZE ' || t; 2021-11-21 00:26:59.923, END LOOP; 2021-11-21 00:26:59.923,END $$; 2021-11-21 00:26:59.923,00:26:59 [] [] [] [] INFO PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2021-11-21 00:26:59.973,00:26:59 [] [] [] [] INFO PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2021-11-21 00:26:59.973,00:26:59 [] [] [] [] INFO PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA fs00001046_mod_inventory_storage TO fs00001046_mod_inventory_storage; 2021-11-21 00:26:59.996,00:26:59 [] [] [] [] INFO PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA fs00001046_mod_inventory_storage TO fs00001046_mod_inventory_storage; 2021-11-21 00:26:59.999,"00:26:59 [] [] [] [] INFO PostgresClient trying to execute: {} UPDATE fs00001046_mod_inventory_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.1.1', 'moduleVersion', 'mod-inventory-storage-22.0.2', 'schemaJson', $mainftl${" 2021-11-21 00:26:59.999," ""tables"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""tableName"": ""loan_type""," 2021-11-21 00:26:59.999," ""withMetadata"": true," 2021-11-21 00:26:59.999," ""withAuditing"": false," 2021-11-21 00:26:59.999," ""uniqueIndex"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""name""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999, ] 2021-11-21 00:26:59.999," }," 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""tableName"": ""material_type""," 2021-11-21 00:26:59.999," ""withMetadata"": true," 2021-11-21 00:26:59.999," ""withAuditing"": false," 2021-11-21 00:26:59.999," ""uniqueIndex"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""name""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999, ] 2021-11-21 00:26:59.999," }," 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""tableName"": ""locinstitution""," 2021-11-21 00:26:59.999," ""withMetadata"": true," 2021-11-21 00:26:59.999," ""withAuditing"": false," 2021-11-21 00:26:59.999," ""uniqueIndex"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""name""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999, ] 2021-11-21 00:26:59.999," }," 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""tableName"": ""loccampus""," 2021-11-21 00:26:59.999," ""withMetadata"": true," 2021-11-21 00:26:59.999," ""withAuditing"": false," 2021-11-21 00:26:59.999," ""uniqueIndex"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""name""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999," ]," 2021-11-21 00:26:59.999," ""foreignKeys"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""institutionId""," 2021-11-21 00:26:59.999," ""targetTable"": ""locinstitution""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999, ] 2021-11-21 00:26:59.999," }," 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""tableName"": ""loclibrary""," 2021-11-21 00:26:59.999," ""withMetadata"": true," 2021-11-21 00:26:59.999," ""withAuditing"": false," 2021-11-21 00:26:59.999," ""uniqueIndex"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""name""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999," ]," 2021-11-21 00:26:59.999," ""foreignKeys"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""campusId""," 2021-11-21 00:26:59.999," ""targetTable"": ""loccampus""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999, } 2021-11-21 00:26:59.999, ] 2021-11-21 00:26:59.999," }," 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""tableName"": ""location""," 2021-11-21 00:26:59.999," ""withMetadata"": true," 2021-11-21 00:26:59.999," ""withAuditing"": false," 2021-11-21 00:26:59.999," ""uniqueIndex"": [" 2021-11-21 00:26:59.999, { 2021-11-21 00:26:59.999," ""fieldName"": ""name""," 2021-11-21 00:26:59.999," ""tOps"": ""ADD""" 2021-11-21 00:26:59.999," }," 2021-11-21 00:26:59.999, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""institutionId""," 2021-11-21 00:27:00.000," ""targetTable"": ""locinstitution""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""campusId""," 2021-11-21 00:27:00.000," ""targetTable"": ""loccampus""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""libraryId""," 2021-11-21 00:27:00.000," ""targetTable"": ""loclibrary""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""index"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""primaryServicePoint""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""service_point""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""index"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""pickupLocation""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""service_point_user""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""userId""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""defaultServicePointId""," 2021-11-21 00:27:00.000," ""targetTable"": ""service_point""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""identifier_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_relationship_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""contributor_type""," 2021-11-21 00:27:00.000," ""withMetadata"": false," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""contributor_name_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_type""," 2021-11-21 00:27:00.000," ""withMetadata"": false," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_format""," 2021-11-21 00:27:00.000," ""withMetadata"": false," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""nature_of_content_term""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""classification_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""electronic_access_relationship""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""statistical_code_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""statistical_code""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code, statisticalCodeTypeId""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""statisticalCodeTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""statistical_code_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_status""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""code""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""mode_of_issuance""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""alternative_title_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance""," 2021-11-21 00:27:00.000," ""fromModuleVersion"": ""19.2.0""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": true," 2021-11-21 00:27:00.000," ""withOptimisticLocking"": ""logOnConflict""," 2021-11-21 00:27:00.000," ""auditingTableName"": ""audit_instance""," 2021-11-21 00:27:00.000," ""auditingFieldName"": ""record""," 2021-11-21 00:27:00.000," ""customSnippetPath"": ""audit-delete-trigger.sql""," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""instanceStatusId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance_status""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""modeOfIssuanceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""mode_of_issuance""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""instanceTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""hrid""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""matchKey""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""ginIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""title""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""indexTitle""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""contributors""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""identifiers""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""subjects""," 2021-11-21 00:27:00.000," ""tOps"": ""DELETE""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""index"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""source""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""indexTitle""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""title""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""statisticalCodeIds""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""contributors""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""publication""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""staffSuppress""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""discoverySuppress""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""metadata.updatedDate""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""fullTextIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""classifications""," 2021-11-21 00:27:00.000," ""arraySubfield"" : ""classificationNumber""," 2021-11-21 00:27:00.000," ""arrayModifiers"": [""classificationTypeId""]" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""keyword""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""title,indexTitle,alternativeTitles[*].alternativeTitle,series,contributors[*].name,identifiers[*].value""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""allTitles""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""title,indexTitle,alternativeTitles[*].alternativeTitle,series""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""contributorsNames""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""contributors[*].name""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""title""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""languages""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""contributors""," 2021-11-21 00:27:00.000," ""arraySubfield"" : ""name""," 2021-11-21 00:27:00.000," ""arrayModifiers"": [""contributorNameTypeId""]" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""identifiers""," 2021-11-21 00:27:00.000," ""arraySubfield"" : ""value""," 2021-11-21 00:27:00.000," ""arrayModifiers"": [""identifierTypeId""]" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""invalidIsbn""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""normalize_invalid_isbns(jsonb->'identifiers')""," 2021-11-21 00:27:00.000," ""sqlExpressionQuery"": ""normalize_digits($)""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""isbn""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""normalize_isbns(jsonb->'identifiers')""," 2021-11-21 00:27:00.000," ""sqlExpressionQuery"": ""normalize_digits($)""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""dateOfPublication""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""concat_array_object_values(jsonb->'publication', 'dateOfPublication')""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""subjects""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_relationship""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""superInstanceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""subInstanceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""instanceRelationshipTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance_relationship_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_source_marc""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""customSnippetPath"": ""instanceSourceMarc.sql""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""ill_policy""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""call_number_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""holdings_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""instance_note_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""holdings_note_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""item_note_type""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""item_damaged_status""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""holdings_records_source""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""holdings_record""," 2021-11-21 00:27:00.000," ""fromModuleVersion"": ""19.2.0""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""withAuditing"": true," 2021-11-21 00:27:00.000," ""withOptimisticLocking"": ""logOnConflict""," 2021-11-21 00:27:00.000," ""auditingTableName"": ""audit_holdings_record""," 2021-11-21 00:27:00.000," ""auditingFieldName"": ""record""," 2021-11-21 00:27:00.000," ""customSnippetPath"": ""audit-delete-trigger.sql""," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""instanceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance""," 2021-11-21 00:27:00.000," ""tableAlias"" : ""holdingsRecords""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""permanentLocationId""," 2021-11-21 00:27:00.000," ""targetTable"": ""location""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""temporaryLocationId""," 2021-11-21 00:27:00.000," ""targetTable"": ""location""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""effectiveLocationId""," 2021-11-21 00:27:00.000," ""targetTable"": ""location""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""holdingsTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""holdings_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""callNumberTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""call_number_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""illPolicyId""," 2021-11-21 00:27:00.000," ""targetTable"": ""ill_policy""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""sourceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""holdings_records_source""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""hrid""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""ginIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""electronicAccess""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""index"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""callNumber""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""callNumberAndSuffix""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""callNumber, callNumberSuffix""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""fullCallNumber""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""callNumberPrefix, callNumber, callNumberSuffix""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""discoverySuppress""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""fullTextIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""callNumberAndSuffixNormalized""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""normalize_holdings_call_number_and_suffix(jsonb)""," 2021-11-21 00:27:00.000," ""sqlExpressionQuery"": ""normalize_call_number_string($) || '*'""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""fullCallNumberNormalized""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""normalize_holdings_full_call_number(jsonb)""," 2021-11-21 00:27:00.000," ""sqlExpressionQuery"": ""normalize_call_number_string($) || '*'""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""item""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""fromModuleVersion"": ""19.2.0""," 2021-11-21 00:27:00.000," ""withAuditing"": true," 2021-11-21 00:27:00.000," ""withOptimisticLocking"": ""logOnConflict""," 2021-11-21 00:27:00.000," ""auditingTableName"": ""audit_item""," 2021-11-21 00:27:00.000," ""auditingFieldName"": ""record""," 2021-11-21 00:27:00.000," ""customSnippetPath"": ""audit-delete-trigger.sql""," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""holdingsRecordId""," 2021-11-21 00:27:00.000," ""targetTable"": ""holdings_record""," 2021-11-21 00:27:00.000," ""targetTableAlias"" : ""holdingsRecords""," 2021-11-21 00:27:00.000," ""tableAlias"": ""item""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""targetPath"": [""holdingsRecordId"", ""instanceId""]," 2021-11-21 00:27:00.000," ""targetTable"": ""instance""," 2021-11-21 00:27:00.000," ""targetTableAlias"": ""instance""," 2021-11-21 00:27:00.000," ""tableAlias"": ""item""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""permanentLoanTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""loan_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""temporaryLoanTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""loan_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""materialTypeId""," 2021-11-21 00:27:00.000," ""targetTable"": ""material_type""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""permanentLocationId""," 2021-11-21 00:27:00.000," ""targetTable"": ""location""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""temporaryLocationId""," 2021-11-21 00:27:00.000," ""targetTable"": ""location""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""effectiveLocationId""," 2021-11-21 00:27:00.000," ""targetTable"": ""location""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""uniqueIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""barcode""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""hrid""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""index"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""accessionNumber""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""status.name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""callNumberAndSuffix""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""effectiveCallNumberComponents.callNumber, effectiveCallNumberComponents.suffix""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""fullCallNumber""," 2021-11-21 00:27:00.000," ""multiFieldNames"": ""effectiveCallNumberComponents.prefix, effectiveCallNumberComponents.callNumber, effectiveCallNumberComponents.suffix""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""discoverySuppress""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""purchaseOrderLineIdentifier""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""effectiveCallNumberComponents.callNumber""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": false" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""ginIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""status.name""," 2021-11-21 00:27:00.000," ""tOps"": ""ADD""," 2021-11-21 00:27:00.000," ""caseSensitive"": false," 2021-11-21 00:27:00.000," ""removeAccents"": true" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""fullTextIndex"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""callNumberAndSuffixNormalized""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""normalize_item_call_number_and_suffix(jsonb)""," 2021-11-21 00:27:00.000," ""sqlExpressionQuery"": ""normalize_call_number_string($) || '*'""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""fullCallNumberNormalized""," 2021-11-21 00:27:00.000," ""sqlExpression"" : ""normalize_item_full_call_number(jsonb)""," 2021-11-21 00:27:00.000," ""sqlExpressionQuery"": ""normalize_call_number_string($) || '*'""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000, ] 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""hrid_settings""," 2021-11-21 00:27:00.000," ""fromModuleVersion"": ""17.1.0""," 2021-11-21 00:27:00.000," ""withMetadata"": false," 2021-11-21 00:27:00.000," ""withAuditing"": false," 2021-11-21 00:27:00.000," ""customSnippetPath"": ""hridSettings.sql""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""preceding_succeeding_title""," 2021-11-21 00:27:00.000," ""fromModuleVersion"": ""19.0.0""," 2021-11-21 00:27:00.000," ""withMetadata"": true," 2021-11-21 00:27:00.000," ""foreignKeys"": [" 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""precedingInstanceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""fieldName"": ""succeedingInstanceId""," 2021-11-21 00:27:00.000," ""targetTable"": ""instance""" 2021-11-21 00:27:00.000, } 2021-11-21 00:27:00.000," ]," 2021-11-21 00:27:00.000," ""customSnippetPath"": ""alterPrecedingSucceedingTitle.sql""" 2021-11-21 00:27:00.000," }," 2021-11-21 00:27:00.000, { 2021-11-21 00:27:00.000," ""tableName"": ""reindex_job""," 2021-11-21 00:27:00.000," ""withMetadata"": false," 2021-11-21 00:27:00.000," ""withAuditing"": false" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""tableName"": ""bound_with_part""," 2021-11-21 00:27:00.001," ""withMetadata"": true," 2021-11-21 00:27:00.001," ""foreignKeys"": [" 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""fieldName"": ""itemId""," 2021-11-21 00:27:00.001," ""targetTable"": ""item""," 2021-11-21 00:27:00.001," ""tOps"": ""ADD""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""fieldName"": ""holdingsRecordId""," 2021-11-21 00:27:00.001," ""targetTable"": ""holdings_record""," 2021-11-21 00:27:00.001," ""tOps"": ""ADD""" 2021-11-21 00:27:00.001, } 2021-11-21 00:27:00.001," ]," 2021-11-21 00:27:00.001," ""uniqueIndex"": [" 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""fieldName"": ""itemId, holdingsRecordId""," 2021-11-21 00:27:00.001," ""tOps"": ""ADD""" 2021-11-21 00:27:00.001, } 2021-11-21 00:27:00.001, ] 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""tableName"": ""notification_sending_error""," 2021-11-21 00:27:00.001," ""withMetadata"": false," 2021-11-21 00:27:00.001," ""withAuditing"": false" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""tableName"": ""iteration_job""," 2021-11-21 00:27:00.001," ""withMetadata"": false," 2021-11-21 00:27:00.001," ""withAuditing"": false" 2021-11-21 00:27:00.001, } 2021-11-21 00:27:00.001," ]," 2021-11-21 00:27:00.001," ""scripts"": [" 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"":""after""," 2021-11-21 00:27:00.001," ""snippetPath"":""setPreviouslyHeldDefault.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"":""20.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""before""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populateRmbInternalIndex.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.1.1""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""before""," 2021-11-21 00:27:00.001," ""snippetPath"": ""createIsbnFunctions.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""before""," 2021-11-21 00:27:00.001," ""snippetPath"": ""createCallNumberNormalizationFunctions.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"":""after""," 2021-11-21 00:27:00.001," ""snippetPath"":""setEffectiveHoldingsLocation.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"":""20.1.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""dropLegacyItemEffectiveLocationTriggers.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.5.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populateRetainLeadingZeroesSetting.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.5.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populateEffectiveLocationForExistingItems.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""17.1.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populateEffectiveLocationForeignKey.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""18.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populateEffectiveCallNumberComponentsForExistingItems.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""18.3.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""removeOldHridOperations.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""17.1.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""instanceStatusUpdatedDateTrigger.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""17.1.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""updateItemStatusDate.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""alterHridSequences.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""18.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""migrateItemCopyNumberToSingleValue.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.0.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""renameModesOfIssuance.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.0.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""migratePrecedingSucceedingTitles.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.0.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populateDiscoverySuppressIfNotSet.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.0.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""oaipmh/createOaiPmhViewFunction.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.3.1""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""removeOldPrecedingSucceedingTitles.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.2.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""inventory-hierarchy/createRecordsViewFunction.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.4.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""updateIllPolicyWillNotLend.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.4.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""addIdentifierTypeCancelledSystemControlNumber.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.4.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""inventory-hierarchy/addNullChecksToRecordsViewFunctions.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.5.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""instance-hr-item/instance-hr-item-view.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""19.5.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""inventory-hierarchy/addEffectiveHoldingsToItemsAndHoldingsView.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""20.3.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""addInstanceFormatsAudioBelt.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""20.3.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""dropLegacyItemEffectiveLocationFunctions.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""21.1.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""addIdentifierTypesUpcIsmn.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""21.1.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""inventory-hierarchy/addHoldingsIfItemsSuppressedItemsAndHoldingsView.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""22.0.0""" 2021-11-21 00:27:00.001," }," 2021-11-21 00:27:00.001, { 2021-11-21 00:27:00.001," ""run"": ""after""," 2021-11-21 00:27:00.001," ""snippetPath"": ""populatePublicationPeriod.sql""," 2021-11-21 00:27:00.001," ""fromModuleVersion"": ""22.1.0""" 2021-11-21 00:27:00.001, } 2021-11-21 00:27:00.001, ] 2021-11-21 00:27:00.001,} 2021-11-21 00:27:00.001,$mainftl$); 2021-11-21 00:27:00.017,"00:27:00 [] [] [] [] INFO PostgresClient Successfully executed UPDATE fs00001046_mod_inventory_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.1.1', 'moduleVersion', 'mod-inventory-storage-22.0.2', 'schemaJson', $mainftl${" 2021-11-21 00:27:00.017," ""tables"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""loan_type""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""material_type""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""locinstitution""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""loccampus""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017," ]," 2021-11-21 00:27:00.017," ""foreignKeys"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""institutionId""," 2021-11-21 00:27:00.017," ""targetTable"": ""locinstitution""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""loclibrary""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017," ]," 2021-11-21 00:27:00.017," ""foreignKeys"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""campusId""," 2021-11-21 00:27:00.017," ""targetTable"": ""loccampus""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""location""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""code""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017," ]," 2021-11-21 00:27:00.017," ""foreignKeys"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""institutionId""," 2021-11-21 00:27:00.017," ""targetTable"": ""locinstitution""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""campusId""," 2021-11-21 00:27:00.017," ""targetTable"": ""loccampus""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""libraryId""," 2021-11-21 00:27:00.017," ""targetTable"": ""loclibrary""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017," ]," 2021-11-21 00:27:00.017," ""index"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""primaryServicePoint""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""," 2021-11-21 00:27:00.017," ""caseSensitive"": false," 2021-11-21 00:27:00.017," ""removeAccents"": false" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""service_point""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""code""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017," ]," 2021-11-21 00:27:00.017," ""index"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""pickupLocation""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""," 2021-11-21 00:27:00.017," ""caseSensitive"": false," 2021-11-21 00:27:00.017," ""removeAccents"": false" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""service_point_user""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""userId""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017," ]," 2021-11-21 00:27:00.017," ""foreignKeys"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""defaultServicePointId""," 2021-11-21 00:27:00.017," ""targetTable"": ""service_point""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""identifier_type""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""instance_relationship_type""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""contributor_type""," 2021-11-21 00:27:00.017," ""withMetadata"": false," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""code""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""contributor_name_type""," 2021-11-21 00:27:00.017," ""withMetadata"": true," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017, } 2021-11-21 00:27:00.017, ] 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""tableName"": ""instance_type""," 2021-11-21 00:27:00.017," ""withMetadata"": false," 2021-11-21 00:27:00.017," ""withAuditing"": false," 2021-11-21 00:27:00.017," ""uniqueIndex"": [" 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""name""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.017," }," 2021-11-21 00:27:00.017, { 2021-11-21 00:27:00.017," ""fieldName"": ""code""," 2021-11-21 00:27:00.017," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""instance_format""," 2021-11-21 00:27:00.018," ""withMetadata"": false," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""code""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""nature_of_content_term""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""classification_type""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""electronic_access_relationship""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""statistical_code_type""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""code""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""statistical_code""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""code, statisticalCodeTypeId""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018," ]," 2021-11-21 00:27:00.018," ""foreignKeys"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""statisticalCodeTypeId""," 2021-11-21 00:27:00.018," ""targetTable"": ""statistical_code_type""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""instance_status""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""code""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""mode_of_issuance""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""alternative_title_type""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": false," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""name""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018, ] 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""tableName"": ""instance""," 2021-11-21 00:27:00.018," ""fromModuleVersion"": ""19.2.0""," 2021-11-21 00:27:00.018," ""withMetadata"": true," 2021-11-21 00:27:00.018," ""withAuditing"": true," 2021-11-21 00:27:00.018," ""withOptimisticLocking"": ""logOnConflict""," 2021-11-21 00:27:00.018," ""auditingTableName"": ""audit_instance""," 2021-11-21 00:27:00.018," ""auditingFieldName"": ""record""," 2021-11-21 00:27:00.018," ""customSnippetPath"": ""audit-delete-trigger.sql""," 2021-11-21 00:27:00.018," ""foreignKeys"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""instanceStatusId""," 2021-11-21 00:27:00.018," ""targetTable"": ""instance_status""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""modeOfIssuanceId""," 2021-11-21 00:27:00.018," ""targetTable"": ""mode_of_issuance""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""instanceTypeId""," 2021-11-21 00:27:00.018," ""targetTable"": ""instance_type""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018," ]," 2021-11-21 00:27:00.018," ""uniqueIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""hrid""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""matchKey""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018," ]," 2021-11-21 00:27:00.018," ""ginIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""title""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""indexTitle""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""contributors""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""identifiers""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""subjects""," 2021-11-21 00:27:00.018," ""tOps"": ""DELETE""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018," ]," 2021-11-21 00:27:00.018," ""index"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""source""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": false" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""indexTitle""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""title""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""statisticalCodeIds""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": false" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""contributors""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""publication""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""staffSuppress""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": false" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""discoverySuppress""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": false" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""metadata.updatedDate""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": false" 2021-11-21 00:27:00.018, } 2021-11-21 00:27:00.018," ]," 2021-11-21 00:27:00.018," ""fullTextIndex"": [" 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""classifications""," 2021-11-21 00:27:00.018," ""arraySubfield"" : ""classificationNumber""," 2021-11-21 00:27:00.018," ""arrayModifiers"": [""classificationTypeId""]" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""keyword""," 2021-11-21 00:27:00.018," ""multiFieldNames"": ""title,indexTitle,alternativeTitles[*].alternativeTitle,series,contributors[*].name,identifiers[*].value""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""allTitles""," 2021-11-21 00:27:00.018," ""multiFieldNames"": ""title,indexTitle,alternativeTitles[*].alternativeTitle,series""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""contributorsNames""," 2021-11-21 00:27:00.018," ""multiFieldNames"": ""contributors[*].name""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""title""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""languages""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""contributors""," 2021-11-21 00:27:00.018," ""arraySubfield"" : ""name""," 2021-11-21 00:27:00.018," ""arrayModifiers"": [""contributorNameTypeId""]" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""identifiers""," 2021-11-21 00:27:00.018," ""arraySubfield"" : ""value""," 2021-11-21 00:27:00.018," ""arrayModifiers"": [""identifierTypeId""]" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""invalidIsbn""," 2021-11-21 00:27:00.018," ""sqlExpression"" : ""normalize_invalid_isbns(jsonb->'identifiers')""," 2021-11-21 00:27:00.018," ""sqlExpressionQuery"": ""normalize_digits($)""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""isbn""," 2021-11-21 00:27:00.018," ""sqlExpression"" : ""normalize_isbns(jsonb->'identifiers')""," 2021-11-21 00:27:00.018," ""sqlExpressionQuery"": ""normalize_digits($)""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""dateOfPublication""," 2021-11-21 00:27:00.018," ""sqlExpression"" : ""concat_array_object_values(jsonb->'publication', 'dateOfPublication')""" 2021-11-21 00:27:00.018," }," 2021-11-21 00:27:00.018, { 2021-11-21 00:27:00.018," ""fieldName"": ""subjects""," 2021-11-21 00:27:00.018," ""tOps"": ""ADD""," 2021-11-21 00:27:00.018," ""caseSensitive"": false," 2021-11-21 00:27:00.018," ""removeAccents"": true" 2021-11-21 00:27:00.018, }