exec java -XX:MaxRAMPercentage=66.0 -cp . -jar /usr/verticles/mod-source-record-storage-server-fat.jar starting rest verticle service.......... 01:26:43.005 [main] INFO Version [973eqId] HV000001: Hibernate Validator null 01:26:43.365 [main] INFO Messages [1333eqId] Loading messages from /infra-messages/APIMessages_de.properties ................................ 01:26:43.367 [main] INFO Messages [1335eqId] Loading messages from /infra-messages/APIMessages_en.properties ................................ 01:26:43.376 [vert.x-eventloop-thread-0] INFO RestVerticle [1344eqId] git: https://github.com/folio-org/raml-module-builder.git cbfd50c02b950168e15051eb33bb5c3bc96aeaf1 Attempting to read in the module name from..../usr/verticles/mod-source-record-storage-server-fat.jar 01:26:43.691 [vert.x-eventloop-thread-0] INFO PomReader [1659eqId] module name: mod_source_record_storage, version: 4.1.0 01:26:43.693 [vert.x-eventloop-thread-0] INFO LogUtil [1661eqId] org.folio.rest.RestVerticle start metrics enabled: false 01:26:43.875 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1843eqId] Mapping functions in org.folio.rest.jaxrs.resource.SourceStorageRecords class to appropriate urls 01:26:43.908 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1876eqId] Mapping functions in org.folio.rest.jaxrs.resource.SourceStorageHandlers class to appropriate urls 01:26:43.909 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1877eqId] Mapping functions in org.folio.rest.jaxrs.resource.SourceStorageSourceRecords class to appropriate urls 01:26:43.912 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1880eqId] Mapping functions in org.folio.rest.jaxrs.resource.SourceStorageBatch class to appropriate urls 01:26:43.913 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1881eqId] Mapping functions in org.folio.rest.jaxrs.resource.SourceStoragePopulateTestMarcRecords class to appropriate urls 01:26:43.914 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1882eqId] Mapping functions in org.folio.rest.jaxrs.resource.SourceStorageSnapshots class to appropriate urls 01:26:43.918 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1886eqId] Mapping functions in org.folio.rest.jaxrs.resource.Rmbtests class to appropriate urls 01:26:43.923 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1891eqId] Mapping functions in org.folio.rest.jaxrs.resource.Tenant class to appropriate urls 01:26:43.925 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1893eqId] Mapping functions in org.folio.rest.jaxrs.resource.JsonSchemas class to appropriate urls 01:26:43.925 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1893eqId] Mapping functions in org.folio.rest.jaxrs.resource.Ramls class to appropriate urls 01:26:43.926 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1894eqId] Mapping functions in org.folio.rest.jaxrs.resource.Admin class to appropriate urls 01:26:43.934 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1902eqId] Mapping functions in org.folio.rest.jaxrs.resource.Configurations class to appropriate urls 01:26:43.956 [vert.x-eventloop-thread-0] INFO AnnotationGrabber$1 [1924eqId] Mapping functions in org.folio.rest.jaxrs.resource.Pubsub class to appropriate urls 01:26:43.963 [vert.x-eventloop-thread-0] INFO RestVerticle [1931eqId] ^/source-storage/records 01:26:43.964 [vert.x-eventloop-thread-0] INFO RestVerticle [1932eqId] ^/source-storage/handlers 01:26:43.964 [vert.x-eventloop-thread-0] INFO RestVerticle [1932eqId] ^/source-storage/source-records 01:26:43.965 [vert.x-eventloop-thread-0] INFO RestVerticle [1933eqId] ^/source-storage/batch 01:26:43.965 [vert.x-eventloop-thread-0] INFO RestVerticle [1933eqId] ^/source-storage/populate-test-marc-records 01:26:43.965 [vert.x-eventloop-thread-0] INFO RestVerticle [1933eqId] ^/source-storage/snapshots 01:26:43.965 [vert.x-eventloop-thread-0] INFO RestVerticle [1933eqId] ^/rmbtests 01:26:43.965 [vert.x-eventloop-thread-0] INFO RestVerticle [1933eqId] ^/_/tenant 01:26:43.966 [vert.x-eventloop-thread-0] INFO RestVerticle [1934eqId] ^/_/jsonSchemas 01:26:43.966 [vert.x-eventloop-thread-0] INFO RestVerticle [1934eqId] ^/_/ramls 01:26:43.966 [vert.x-eventloop-thread-0] INFO RestVerticle [1934eqId] ^/admin 01:26:43.966 [vert.x-eventloop-thread-0] INFO RestVerticle [1934eqId] ^/configurations 01:26:43.967 [vert.x-eventloop-thread-0] INFO RestVerticle [1935eqId] ^/pubsub 01:26:43.974 [vert.x-eventloop-thread-0] INFO RestVerticle [1942eqId] 1 verticles deployed 01:26:44.141 [vert.x-eventloop-thread-0] INFO LogUtil [2109eqId] org.folio.rest.RestVerticle runHook One time hook called with implemented class named org.folio.rest.impl.InitAPIImpl 01:26:44.688 [vert.x-eventloop-thread-0] INFO RestVerticle [2656eqId] init succeeded....... 01:26:44.788 [vert.x-eventloop-thread-0] INFO LogUtil [2756eqId] org.folio.rest.RestVerticle runPeriodicHook no periodic implementation found, continuing with deployment 01:26:45.041 [vert.x-eventloop-thread-0] INFO LogUtil [3009eqId] org.folio.rest.RestVerticle runPostDeployHook no Post Deploy Hook implementation found, continuing with deployment 01:26:45.041 [vert.x-eventloop-thread-0] INFO LogUtil [3009eqId] org.folio.rest.RestVerticle start http server for apis and docs started on port 8081. 01:26:45.041 [vert.x-eventloop-thread-0] INFO LogUtil [3009eqId] org.folio.rest.RestVerticle start Documentation available at: http://localhost:8081/apidocs/ 01:26:45.042 [vert.x-eventloop-thread-1] INFO ertxIsolatedDeployer [3010eqId] Succeeded in deploying verticle 01:28:55.741 [vert.x-eventloop-thread-0] INFO TenantAPI [133709eqId] sending... postTenant for diku 01:28:55.743 [vert.x-eventloop-thread-0] INFO PostgresClient [133711eqId] DB config read from environment variables 01:28:55.765 [vert.x-eventloop-thread-0] INFO PostgresClient [133733eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"folio_admin","database":"okapi_modules","password":"..."} 01:28:56.213 [vert.x-eventloop-thread-0] INFO PostgresClient [134181eqId] Executing multiple statements with id -1245821522 01:28:56.275 [vert.x-worker-thread-1] INFO PostgresClient [134243eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 01:28:56.278 [vert.x-worker-thread-1] INFO PostgresClient [134246eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 01:28:56.278 [vert.x-worker-thread-1] INFO PostgresClient [134246eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 01:28:56.278 [vert.x-worker-thread-1] INFO PostgresClient [134246eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 01:28:56.279 [vert.x-worker-thread-1] INFO PostgresClient [134247eqId] trying to execute: CREATE ROLE diku_mod_source_record_storage PASSWORD 'diku' NOSUPERUSER NOCREATEDB INHERIT LOGIN 01:28:56.279 [vert.x-worker-thread-1] INFO PostgresClient [134247eqId] Successfully executed: CREATE ROLE diku_mod_source_record_storage PASSWORD 'diku' NOSUPERUSER NOCREATEDB INHERIT LOGIN 01:28:56.279 [vert.x-worker-thread-1] INFO PostgresClient [134247eqId] trying to execute: GRANT diku_mod_source_record_storage TO CURRENT_USER 01:28:56.280 [vert.x-worker-thread-1] INFO PostgresClient [134248eqId] Successfully executed: GRANT diku_mod_source_record_storage TO CURRENT_USER 01:28:56.280 [vert.x-worker-thread-1] INFO PostgresClient [134248eqId] trying to execute: CREATE SCHEMA diku_mod_source_record_storage AUTHORIZATION diku_mod_source_record_storage 01:28:56.281 [vert.x-worker-thread-1] INFO PostgresClient [134249eqId] Successfully executed: CREATE SCHEMA diku_mod_source_record_storage AUTHORIZATION diku_mod_source_record_storage 01:28:56.281 [vert.x-worker-thread-1] INFO PostgresClient [134249eqId] trying to execute: ALTER ROLE diku_mod_source_record_storage SET search_path = "$user" 01:28:56.281 [vert.x-worker-thread-1] INFO PostgresClient [134249eqId] Successfully executed: ALTER ROLE diku_mod_source_record_storage SET search_path = "$user" 01:28:56.281 [vert.x-worker-thread-1] INFO PostgresClient [134249eqId] trying to execute: SET search_path TO diku_mod_source_record_storage 01:28:56.282 [vert.x-worker-thread-1] INFO PostgresClient [134250eqId] Successfully executed: SET search_path TO diku_mod_source_record_storage 01:28:56.282 [vert.x-worker-thread-1] INFO PostgresClient [134250eqId] trying to execute: CREATE TABLE IF NOT EXISTS diku_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 01:28:56.290 [vert.x-worker-thread-1] INFO PostgresClient [134258eqId] Successfully executed: CREATE TABLE IF NOT EXISTS diku_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 01:28:56.290 [vert.x-worker-thread-1] INFO PostgresClient [134258eqId] trying to execute: insert into diku_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 01:28:56.292 [vert.x-worker-thread-1] INFO PostgresClient [134260eqId] Successfully executed: insert into diku_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 01:28:56.292 [vert.x-worker-thread-1] INFO PostgresClient [134260eqId] trying to execute: CREATE TABLE IF NOT EXISTS diku_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 01:28:56.297 [vert.x-worker-thread-1] INFO PostgresClient [134265eqId] Successfully executed: CREATE TABLE IF NOT EXISTS diku_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 01:28:56.298 [vert.x-worker-thread-1] INFO PostgresClient [134266eqId] trying to execute: UPDATE diku_mod_source_record_storage.rmb_internal_index SET remove = TRUE 01:28:56.298 [vert.x-worker-thread-1] INFO PostgresClient [134266eqId] Successfully executed: UPDATE diku_mod_source_record_storage.rmb_internal_index SET remove = TRUE 01:28:56.298 [vert.x-worker-thread-1] INFO PostgresClient [134266eqId] trying to execute: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 01:28:56.301 [vert.x-worker-thread-1] INFO PostgresClient [134269eqId] Successfully executed: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 01:28:56.302 [vert.x-worker-thread-1] INFO PostgresClient [134270eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 01:28:56.303 [vert.x-worker-thread-1] INFO PostgresClient [134271eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 01:28:56.303 [vert.x-worker-thread-1] INFO PostgresClient [134271eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 01:28:56.304 [vert.x-worker-thread-1] INFO PostgresClient [134272eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 01:28:56.304 [vert.x-worker-thread-1] INFO PostgresClient [134272eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0'; END LOOP 01:28:56.305 [vert.x-worker-thread-1] INFO PostgresClient [134273eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit 01:28:56.305 [vert.x-worker-thread-1] INFO PostgresClient [134273eqId] trying to execute: CREATE AGGREGATE diku_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = diku_mod_source_record_storage.uuid_larger, combinefunc = diku_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 01:28:56.306 [vert.x-worker-thread-1] INFO PostgresClient [134274eqId] Successfully executed: CREATE AGGREGATE diku_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = diku_mod_source_record_storage.uuid_larger, combinefunc = diku_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 01:28:56.306 [vert.x-worker-thread-1] INFO PostgresClient [134274eqId] trying to execute: CREATE AGGREGATE diku_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = diku_mod_source_record_storage.uuid_smaller, combinefunc = diku_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 01:28:56.307 [vert.x-worker-thread-1] INFO PostgresClient [134275eqId] Successfully executed: CREATE AGGREGATE diku_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = diku_mod_source_record_storage.uuid_smaller, combinefunc = diku_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 01:28:56.307 [vert.x-worker-thread-1] INFO PostgresClient [134275eqId] trying to execute: DROP FUNCTION IF EXISTS diku_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 01:28:56.308 [vert.x-worker-thread-1] INFO PostgresClient [134276eqId] Successfully executed: DROP FUNCTION IF EXISTS diku_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 01:28:56.308 [vert.x-worker-thread-1] INFO PostgresClient [134276eqId] trying to execute: CREATE FUNCTION diku_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT 01:28:56.308 [vert.x-worker-thread-1] INFO PostgresClient [134276eqId] Successfully executed: CREATE FUNCTION diku_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETU 01:28:56.309 [vert.x-worker-thread-1] INFO PostgresClient [134277eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = diku_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT 01:28:56.309 [vert.x-worker-thread-1] INFO PostgresClient [134277eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = diku_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN retur 01:28:56.310 [vert.x-worker-thread-1] INFO PostgresClient [134278eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = diku_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; IF est_count < 1000 THEN RETURN 1000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT 01:28:56.310 [vert.x-worker-thread-1] INFO PostgresClient [134278eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = diku_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; 01:28:56.311 [vert.x-worker-thread-1] INFO PostgresClient [134279eqId] trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || E'\u0330\u0331\u0332\u0333\u0334\ 01:28:56.312 [vert.x-worker-thread-1] INFO PostgresClient [134280eqId] Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SA 01:28:56.312 [vert.x-worker-thread-1] INFO PostgresClient [134280eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.313 [vert.x-worker-thread-1] INFO PostgresClient [134281eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, 01:28:56.313 [vert.x-worker-thread-1] INFO PostgresClient [134281eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.314 [vert.x-worker-thread-1] INFO PostgresClient [134282eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.314 [vert.x-worker-thread-1] INFO PostgresClient [134282eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.314 [vert.x-worker-thread-1] INFO PostgresClient [134282eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.314 [vert.x-worker-thread-1] INFO PostgresClient [134282eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.315 [vert.x-worker-thread-1] INFO PostgresClient [134283eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' 01:28:56.315 [vert.x-worker-thread-1] INFO PostgresClient [134283eqId] trying to execute: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 01:28:56.316 [vert.x-worker-thread-1] INFO PostgresClient [134284eqId] Successfully executed: CREATE OR REPLACE FUNCTION diku_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 01:28:56.316 [vert.x-worker-thread-1] INFO PostgresClient [134284eqId] trying to execute: create or replace function diku_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 01:28:56.317 [vert.x-worker-thread-1] INFO PostgresClient [134285eqId] Successfully executed: create or replace function diku_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 01:28:56.317 [vert.x-worker-thread-1] INFO PostgresClient [134285eqId] trying to execute: create or replace function diku_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.317 [vert.x-worker-thread-1] INFO PostgresClient [134285eqId] Successfully executed: create or replace function diku_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.318 [vert.x-worker-thread-1] INFO PostgresClient [134286eqId] trying to execute: create or replace function diku_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.318 [vert.x-worker-thread-1] INFO PostgresClient [134286eqId] Successfully executed: create or replace function diku_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.318 [vert.x-worker-thread-1] INFO PostgresClient [134286eqId] trying to execute: create or replace function diku_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.319 [vert.x-worker-thread-1] INFO PostgresClient [134287eqId] Successfully executed: create or replace function diku_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.319 [vert.x-worker-thread-1] INFO PostgresClient [134287eqId] trying to execute: create or replace function diku_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.320 [vert.x-worker-thread-1] INFO PostgresClient [134288eqId] Successfully executed: create or replace function diku_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 01:28:56.320 [vert.x-worker-thread-1] INFO PostgresClient [134288eqId] trying to execute: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM diku_mod_source_record_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM diku_mod_source_record_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM diku_mod_source_record_storage.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER INDEX IF EXISTS %s RENAME TO %s', namep, 01:28:56.321 [vert.x-worker-thread-1] INFO PostgresClient [134289eqId] Successfully executed: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EX 01:28:56.321 [vert.x-worker-thread-1] INFO PostgresClient [134289eqId] trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM diku_mod_source_record_storage 01:28:56.321 [vert.x-worker-thread-1] INFO PostgresClient [134289eqId] Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM diku_mod_source_record_storage 01:28:56.321 [vert.x-worker-thread-1] INFO PostgresClient [134289eqId] trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC 01:28:56.322 [vert.x-worker-thread-1] INFO PostgresClient [134290eqId] Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC 01:28:56.322 [vert.x-worker-thread-1] INFO PostgresClient [134290eqId] trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM diku_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 01:28:56.322 [vert.x-worker-thread-1] INFO PostgresClient [134290eqId] Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM diku_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 01:28:56.323 [vert.x-worker-thread-1] INFO PostgresClient [134291eqId] trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM diku_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'diku_mod_source_record_storage' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'diku_mod_source_record_storage.\1', 'g'); IF newindexdef <> i.indexdef THEN EXECUTE 'DROP INDEX ' || i.indexname; EXECUTE newindexdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; END IF; END LOOP; END $$ 01:28:56.323 [vert.x-worker-thread-1] INFO PostgresClient [134291eqId] Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM diku_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'diku_mod_source_ 01:28:56.324 [vert.x-worker-thread-1] INFO PostgresClient [134292eqId] trying to execute: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 01:28:56.324 [vert.x-worker-thread-1] INFO PostgresClient [134292eqId] Successfully executed: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 01:28:56.324 [vert.x-worker-thread-1] INFO PostgresClient [134292eqId] trying to execute: TRUNCATE rmb_internal_analyze 01:28:56.327 [vert.x-worker-thread-1] INFO PostgresClient [134295eqId] Successfully executed: TRUNCATE rmb_internal_analyze 01:28:56.327 [vert.x-worker-thread-1] INFO PostgresClient [134295eqId] trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA diku_mod_source_record_storage TO diku_mod_source_record_storage 01:28:56.328 [vert.x-worker-thread-1] INFO PostgresClient [134296eqId] Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA diku_mod_source_record_storage TO diku_mod_source_record_storage 01:28:56.328 [vert.x-worker-thread-1] INFO PostgresClient [134296eqId] trying to execute: UPDATE diku_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 01:28:56.329 [vert.x-worker-thread-1] INFO PostgresClient [134297eqId] Successfully executed: UPDATE diku_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 01:28:56.331 [vert.x-worker-thread-1] INFO PostgresClient [134299eqId] Successfully committed: -1245821522 01:28:56.374 [vert.x-worker-thread-2] INFO LiquibaseUtil [134342eqId] Initializing schema diku_mod_source_record_storage for tenant diku 01:28:56.376 [vert.x-worker-thread-2] INFO leConnectionProvider [134344eqId] Attempting to get connection for diku 01:28:56.376 [vert.x-worker-thread-2] INFO PostgresClient [134344eqId] DB config read from environment variables 01:28:56.376 [vert.x-worker-thread-2] INFO PostgresClient [134344eqId] Using schema: diku 01:28:56.377 [vert.x-worker-thread-2] INFO PostgresClient [134345eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"diku_mod_source_record_storage","database":"okapi_modules","password":"..."} 01:28:58.356 [vert.x-worker-thread-2] INFO Slf4jLogger [136324eqId] SELECT COUNT(*) FROM diku_mod_source_record_storage.databasechangeloglock 01:28:58.370 [vert.x-worker-thread-2] INFO Slf4jLogger [136338eqId] CREATE TABLE diku_mod_source_record_storage.databasechangeloglock (ID INTEGER NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITHOUT TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT DATABASECHANGELOGLOCK_PKEY PRIMARY KEY (ID)) 01:28:58.375 [vert.x-worker-thread-2] INFO Slf4jLogger [136343eqId] SELECT COUNT(*) FROM diku_mod_source_record_storage.databasechangeloglock 01:28:58.379 [vert.x-worker-thread-2] INFO Slf4jLogger [136347eqId] DELETE FROM diku_mod_source_record_storage.databasechangeloglock 01:28:58.380 [vert.x-worker-thread-2] INFO Slf4jLogger [136348eqId] INSERT INTO diku_mod_source_record_storage.databasechangeloglock (ID, LOCKED) VALUES (1, FALSE) 01:28:58.383 [vert.x-worker-thread-2] INFO Slf4jLogger [136351eqId] SELECT LOCKED FROM diku_mod_source_record_storage.databasechangeloglock WHERE ID=1 01:28:58.389 [vert.x-worker-thread-2] INFO Slf4jLogger [136357eqId] Successfully acquired change log lock 01:29:00.693 [vert.x-worker-thread-2] INFO Slf4jLogger [138661eqId] Creating database history table with name: diku_mod_source_record_storage.databasechangelog 01:29:00.694 [vert.x-worker-thread-2] INFO Slf4jLogger [138662eqId] CREATE TABLE diku_mod_source_record_storage.databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10)) 01:29:00.700 [vert.x-worker-thread-2] INFO Slf4jLogger [138668eqId] SELECT COUNT(*) FROM diku_mod_source_record_storage.databasechangelog 01:29:00.700 [vert.x-worker-thread-2] INFO Slf4jLogger [138668eqId] Reading from diku_mod_source_record_storage.databasechangelog 01:29:00.701 [vert.x-worker-thread-2] INFO Slf4jLogger [138669eqId] SELECT * FROM diku_mod_source_record_storage.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC 01:29:00.702 [vert.x-worker-thread-2] INFO Slf4jLogger [138670eqId] SELECT COUNT(*) FROM diku_mod_source_record_storage.databasechangeloglock 01:29:00.778 [vert.x-worker-thread-2] INFO Slf4jLogger [138746eqId] CREATE TYPE diku_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 01:29:00.779 [vert.x-worker-thread-2] INFO Slf4jLogger [138747eqId] Custom SQL executed 01:29:00.780 [vert.x-worker-thread-2] INFO Slf4jLogger [138748eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-00-create-job-execution-status::WilliamWelling ran successfully in 3ms 01:29:00.781 [vert.x-worker-thread-2] INFO Slf4jLogger [138749eqId] SELECT MAX(ORDEREXECUTED) FROM diku_mod_source_record_storage.databasechangelog 01:29:00.783 [vert.x-worker-thread-2] INFO Slf4jLogger [138751eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 1, '8:335e1f7e6f1a539921ef2427823acb22', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.785 [vert.x-worker-thread-2] INFO Slf4jLogger [138753eqId] CREATE TABLE diku_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status DIKU_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 01:29:00.789 [vert.x-worker-thread-2] INFO Slf4jLogger [138757eqId] Table snapshots_lb created 01:29:00.790 [vert.x-worker-thread-2] INFO Slf4jLogger [138758eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 01:29:00.791 [vert.x-worker-thread-2] INFO Slf4jLogger [138759eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 2, '8:dd77173ce4da580bbdc133f74b2a2a20', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.793 [vert.x-worker-thread-2] INFO Slf4jLogger [138761eqId] create function diku_mod_source_record_storage.update_snapshots_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 01:29:00.795 [vert.x-worker-thread-2] INFO Slf4jLogger [138763eqId] Stored procedure created 01:29:00.795 [vert.x-worker-thread-2] INFO Slf4jLogger [138763eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-02-create-update-snapshots-set-updated-date-function::WilliamWelling ran successfully in 2ms 01:29:00.796 [vert.x-worker-thread-2] INFO Slf4jLogger [138764eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-02-create-update-snapshots-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 3, '8:f3777638bf2e1d53e8cc338ba0ae2e3f', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.798 [vert.x-worker-thread-2] INFO Slf4jLogger [138766eqId] create trigger update_snapshots_set_updated_date before insert or update on diku_mod_source_record_storage.snapshots_lb for each row execute procedure diku_mod_source_record_storage.update_snapshots_set_updated_date() 01:29:00.799 [vert.x-worker-thread-2] INFO Slf4jLogger [138767eqId] Custom SQL executed 01:29:00.800 [vert.x-worker-thread-2] INFO Slf4jLogger [138768eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger::WilliamWelling ran successfully in 3ms 01:29:00.800 [vert.x-worker-thread-2] INFO Slf4jLogger [138768eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 4, '8:08a650edf5b77ca0e2ef2f5e80b2f28b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.802 [vert.x-worker-thread-2] INFO Slf4jLogger [138770eqId] create function diku_mod_source_record_storage.insert_snapshots_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 01:29:00.802 [vert.x-worker-thread-2] INFO Slf4jLogger [138770eqId] Stored procedure created 01:29:00.803 [vert.x-worker-thread-2] INFO Slf4jLogger [138771eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-04-create-insert-snapshots-set-created-date-function::WilliamWelling ran successfully in 1ms 01:29:00.804 [vert.x-worker-thread-2] INFO Slf4jLogger [138772eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-04-create-insert-snapshots-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 5, '8:9c4188b4afb63e9b66dfeaf8800b1c00', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.806 [vert.x-worker-thread-2] INFO Slf4jLogger [138774eqId] create trigger insert_snapshots_set_created_date before insert or update on diku_mod_source_record_storage.snapshots_lb for each row execute procedure diku_mod_source_record_storage.insert_snapshots_set_created_date() 01:29:00.807 [vert.x-worker-thread-2] INFO Slf4jLogger [138775eqId] Custom SQL executed 01:29:00.808 [vert.x-worker-thread-2] INFO Slf4jLogger [138776eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger::WilliamWelling ran successfully in 3ms 01:29:00.808 [vert.x-worker-thread-2] INFO Slf4jLogger [138776eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 6, '8:13150a81279d5f229f22996dff920f05', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.810 [vert.x-worker-thread-2] INFO Slf4jLogger [138778eqId] CREATE TYPE diku_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 01:29:00.810 [vert.x-worker-thread-2] INFO Slf4jLogger [138778eqId] Custom SQL executed 01:29:00.811 [vert.x-worker-thread-2] INFO Slf4jLogger [138779eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-00-create-record-type::WilliamWelling ran successfully in 1ms 01:29:00.812 [vert.x-worker-thread-2] INFO Slf4jLogger [138780eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 7, '8:f643064536c25a5663744c7132a003f1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.814 [vert.x-worker-thread-2] INFO Slf4jLogger [138782eqId] CREATE TYPE diku_mod_source_record_storage.record_state_type AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 01:29:00.814 [vert.x-worker-thread-2] INFO Slf4jLogger [138782eqId] Custom SQL executed 01:29:00.816 [vert.x-worker-thread-2] INFO Slf4jLogger [138784eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-01-create-record-type-state::WilliamWelling ran successfully in 3ms 01:29:00.816 [vert.x-worker-thread-2] INFO Slf4jLogger [138784eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 8, '8:5cef45e399a0bafcbe5f22ead4092600', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.819 [vert.x-worker-thread-2] INFO Slf4jLogger [138787eqId] CREATE TABLE diku_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshotid UUID NOT NULL, matchedid UUID NOT NULL, generation INTEGER NOT NULL, recordtype DIKU_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instanceid UUID, state DIKU_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE_TYPE NOT NULL, orderinfile INTEGER, suppressdiscovery BOOLEAN, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:00.822 [vert.x-worker-thread-2] INFO Slf4jLogger [138790eqId] Table records_lb created 01:29:00.824 [vert.x-worker-thread-2] INFO Slf4jLogger [138792eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-02-create-records-table::WilliamWelling ran successfully in 6ms 01:29:00.824 [vert.x-worker-thread-2] INFO Slf4jLogger [138792eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 9, '8:c46fbb2149e04873e837be4debe44a97', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.827 [vert.x-worker-thread-2] INFO Slf4jLogger [138795eqId] ALTER TABLE diku_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshotid) REFERENCES diku_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:00.829 [vert.x-worker-thread-2] INFO Slf4jLogger [138797eqId] Foreign key constraint added to records_lb (snapshotid) 01:29:00.831 [vert.x-worker-thread-2] INFO Slf4jLogger [138799eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 5ms 01:29:00.832 [vert.x-worker-thread-2] INFO Slf4jLogger [138800eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 10, '8:e2ad38d04a9f67e84725dda019348bac', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.834 [vert.x-worker-thread-2] INFO Slf4jLogger [138802eqId] ALTER TABLE diku_mod_source_record_storage.records_lb ALTER COLUMN suppressdiscovery SET DEFAULT FALSE 01:29:00.834 [vert.x-worker-thread-2] INFO Slf4jLogger [138802eqId] Default value added to records_lb.suppressdiscovery 01:29:00.835 [vert.x-worker-thread-2] INFO Slf4jLogger [138803eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-04-set-records-suppressdiscovery-default::WilliamWelling ran successfully in 2ms 01:29:00.836 [vert.x-worker-thread-2] INFO Slf4jLogger [138804eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-04-set-records-suppressdiscovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 11, '8:901cf5711b2baf19dd67fcc91dc629ce', 'addDefaultValue columnName=suppressdiscovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.838 [vert.x-worker-thread-2] INFO Slf4jLogger [138806eqId] CREATE INDEX idx_records_snapshotid ON diku_mod_source_record_storage.records_lb(snapshotid) 01:29:00.841 [vert.x-worker-thread-2] INFO Slf4jLogger [138809eqId] Index idx_records_snapshotid created 01:29:00.842 [vert.x-worker-thread-2] INFO Slf4jLogger [138810eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 5ms 01:29:00.843 [vert.x-worker-thread-2] INFO Slf4jLogger [138811eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 12, '8:776e49c0804b02d773dd51a6b84bf817', 'createIndex indexName=idx_records_snapshotid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.844 [vert.x-worker-thread-2] INFO Slf4jLogger [138812eqId] CREATE INDEX idx_records_instanceid ON diku_mod_source_record_storage.records_lb(instanceid) 01:29:00.847 [vert.x-worker-thread-2] INFO Slf4jLogger [138815eqId] Index idx_records_instanceid created 01:29:00.848 [vert.x-worker-thread-2] INFO Slf4jLogger [138816eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 01:29:00.849 [vert.x-worker-thread-2] INFO Slf4jLogger [138817eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 13, '8:077a2e9d770450e6c7f4ef16941449d1', 'createIndex indexName=idx_records_instanceid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.851 [vert.x-worker-thread-2] INFO Slf4jLogger [138819eqId] CREATE UNIQUE INDEX idx_records_matchedid_gen ON diku_mod_source_record_storage.records_lb(matchedid, generation) 01:29:00.854 [vert.x-worker-thread-2] INFO Slf4jLogger [138822eqId] Index idx_records_matchedid_gen created 01:29:00.855 [vert.x-worker-thread-2] INFO Slf4jLogger [138823eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 5ms 01:29:00.855 [vert.x-worker-thread-2] INFO Slf4jLogger [138823eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 14, '8:44ff1bcc1c6977fc335d8f431424aa24', 'createIndex indexName=idx_records_matchedid_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.857 [vert.x-worker-thread-2] INFO Slf4jLogger [138825eqId] CREATE INDEX idx_records_updateddate ON diku_mod_source_record_storage.records_lb(updateddate) 01:29:00.860 [vert.x-worker-thread-2] INFO Slf4jLogger [138828eqId] Index idx_records_updateddate created 01:29:00.861 [vert.x-worker-thread-2] INFO Slf4jLogger [138829eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-08-create-records-updateddate-index::WilliamWelling ran successfully in 4ms 01:29:00.861 [vert.x-worker-thread-2] INFO Slf4jLogger [138829eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-08-create-records-updateddate-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 15, '8:a895d3d4c538956cdcc22c539825e417', 'createIndex indexName=idx_records_updateddate, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.863 [vert.x-worker-thread-2] INFO Slf4jLogger [138831eqId] CREATE INDEX idx_records_matchedid_state ON diku_mod_source_record_storage.records_lb(matchedid, state) 01:29:00.866 [vert.x-worker-thread-2] INFO Slf4jLogger [138834eqId] Index idx_records_matchedid_state created 01:29:00.867 [vert.x-worker-thread-2] INFO Slf4jLogger [138835eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-09-create-records-matchedid-state-index::WilliamWelling ran successfully in 4ms 01:29:00.867 [vert.x-worker-thread-2] INFO Slf4jLogger [138835eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-09-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 16, '8:5e517ca9d43bbefec739a4849bd6c9ec', 'createIndex indexName=idx_records_matchedid_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.869 [vert.x-worker-thread-2] INFO Slf4jLogger [138837eqId] create function diku_mod_source_record_storage.update_records_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 01:29:00.870 [vert.x-worker-thread-2] INFO Slf4jLogger [138838eqId] Stored procedure created 01:29:00.871 [vert.x-worker-thread-2] INFO Slf4jLogger [138839eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-10-create-update-records-set-updated-date-function::WilliamWelling ran successfully in 2ms 01:29:00.872 [vert.x-worker-thread-2] INFO Slf4jLogger [138840eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-10-create-update-records-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 17, '8:178cf5501ab9ce9621338343b70dfecb', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.873 [vert.x-worker-thread-2] INFO Slf4jLogger [138841eqId] create trigger update_records_set_updated_date before insert or update on diku_mod_source_record_storage.records_lb for each row execute procedure diku_mod_source_record_storage.update_records_set_updated_date() 01:29:00.874 [vert.x-worker-thread-2] INFO Slf4jLogger [138842eqId] Custom SQL executed 01:29:00.875 [vert.x-worker-thread-2] INFO Slf4jLogger [138843eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-11-create-update-records-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 01:29:00.876 [vert.x-worker-thread-2] INFO Slf4jLogger [138844eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-11-create-update-records-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 18, '8:9f911bae24776f0cdf87b8a5b83b9cf3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.877 [vert.x-worker-thread-2] INFO Slf4jLogger [138845eqId] create function diku_mod_source_record_storage.insert_records_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 01:29:00.878 [vert.x-worker-thread-2] INFO Slf4jLogger [138846eqId] Stored procedure created 01:29:00.879 [vert.x-worker-thread-2] INFO Slf4jLogger [138847eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-12-create-insert-records-set-created-date-function::WilliamWelling ran successfully in 2ms 01:29:00.879 [vert.x-worker-thread-2] INFO Slf4jLogger [138847eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-12-create-insert-records-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 19, '8:4d59c684e0abcbcf9b2b6ef5f0bd63b1', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.881 [vert.x-worker-thread-2] INFO Slf4jLogger [138849eqId] create trigger insert_records_set_created_date before insert or update on diku_mod_source_record_storage.records_lb for each row execute procedure diku_mod_source_record_storage.insert_records_set_created_date() 01:29:00.882 [vert.x-worker-thread-2] INFO Slf4jLogger [138850eqId] Custom SQL executed 01:29:00.884 [vert.x-worker-thread-2] INFO Slf4jLogger [138852eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-13-create-insert-records-set-created-date-trigger::WilliamWelling ran successfully in 3ms 01:29:00.884 [vert.x-worker-thread-2] INFO Slf4jLogger [138852eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-13-create-insert-records-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 20, '8:4e3509ff208d761ef9dffc8eb8e0da38', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.886 [vert.x-worker-thread-2] INFO Slf4jLogger [138854eqId] CREATE TABLE diku_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:00.892 [vert.x-worker-thread-2] INFO Slf4jLogger [138860eqId] Table raw_records_lb created 01:29:00.894 [vert.x-worker-thread-2] INFO Slf4jLogger [138862eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-00-create-raw-records-table::WilliamWelling ran successfully in 8ms 01:29:00.894 [vert.x-worker-thread-2] INFO Slf4jLogger [138862eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 21, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.896 [vert.x-worker-thread-2] INFO Slf4jLogger [138864eqId] ALTER TABLE diku_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES diku_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:00.897 [vert.x-worker-thread-2] INFO Slf4jLogger [138865eqId] Foreign key constraint added to raw_records_lb (id) 01:29:00.898 [vert.x-worker-thread-2] INFO Slf4jLogger [138866eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 3ms 01:29:00.899 [vert.x-worker-thread-2] INFO Slf4jLogger [138867eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 22, '8:86bb7f7ae0ea8d69a9671fe2176ad3e8', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.901 [vert.x-worker-thread-2] INFO Slf4jLogger [138869eqId] CREATE TABLE diku_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:00.907 [vert.x-worker-thread-2] INFO Slf4jLogger [138875eqId] Table marc_records_lb created 01:29:00.908 [vert.x-worker-thread-2] INFO Slf4jLogger [138876eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-00-create-marc-records-table::WilliamWelling ran successfully in 8ms 01:29:00.909 [vert.x-worker-thread-2] INFO Slf4jLogger [138877eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 23, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.911 [vert.x-worker-thread-2] INFO Slf4jLogger [138879eqId] ALTER TABLE diku_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES diku_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:00.912 [vert.x-worker-thread-2] INFO Slf4jLogger [138880eqId] Foreign key constraint added to marc_records_lb (id) 01:29:00.913 [vert.x-worker-thread-2] INFO Slf4jLogger [138881eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 3ms 01:29:00.913 [vert.x-worker-thread-2] INFO Slf4jLogger [138881eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 24, '8:190b9b31e7728b591bcdb6e9ad5fdf76', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.915 [vert.x-worker-thread-2] INFO Slf4jLogger [138883eqId] CREATE TABLE diku_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content JSONB NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:00.922 [vert.x-worker-thread-2] INFO Slf4jLogger [138890eqId] Table error_records_lb created 01:29:00.923 [vert.x-worker-thread-2] INFO Slf4jLogger [138891eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-00-create-error-records-table::WilliamWelling ran successfully in 8ms 01:29:00.923 [vert.x-worker-thread-2] INFO Slf4jLogger [138891eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 25, '8:68a49e6c5b8e9ef40437e9fd0dac384e', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.925 [vert.x-worker-thread-2] INFO Slf4jLogger [138893eqId] ALTER TABLE diku_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES diku_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:00.926 [vert.x-worker-thread-2] INFO Slf4jLogger [138894eqId] Foreign key constraint added to error_records_lb (id) 01:29:00.927 [vert.x-worker-thread-2] INFO Slf4jLogger [138895eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 01:29:00.928 [vert.x-worker-thread-2] INFO Slf4jLogger [138896eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 26, '8:7c533c7b9d37c118f41e639cec80a917', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.929 [vert.x-worker-thread-2] INFO Slf4jLogger [138897eqId] create function diku_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from diku_mod_source_record_storage.records_lb rds where rds.matchedid = p_id and rds.state = 'ACTUAL') r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 01:29:00.930 [vert.x-worker-thread-2] INFO Slf4jLogger [138898eqId] Stored procedure created 01:29:00.932 [vert.x-worker-thread-2] INFO Slf4jLogger [138900eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-00-create-get-source-marc-record-by-id-function::WilliamWelling ran successfully in 3ms 01:29:00.932 [vert.x-worker-thread-2] INFO Slf4jLogger [138900eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-00-create-get-source-marc-record-by-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 27, '8:97541c66f9f50a31b626368be01bbd81', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.944 [vert.x-worker-thread-2] INFO Slf4jLogger [138912eqId] create function diku_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from diku_mod_source_record_storage.records_lb rds where rds.matchedid = p_id) rr where generation = max_generation) r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 01:29:00.945 [vert.x-worker-thread-2] INFO Slf4jLogger [138913eqId] Stored procedure created 01:29:00.947 [vert.x-worker-thread-2] INFO Slf4jLogger [138915eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function::WilliamWelling ran successfully in 3ms 01:29:00.948 [vert.x-worker-thread-2] INFO Slf4jLogger [138916eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 28, '8:cd0993bf3a746cc76446b5995ec32ef0', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.950 [vert.x-worker-thread-2] INFO Slf4jLogger [138918eqId] create function diku_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from diku_mod_source_record_storage.records_lb rds where rds.instanceId = p_instanceId and rds.state = 'ACTUAL') r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 01:29:00.951 [vert.x-worker-thread-2] INFO Slf4jLogger [138919eqId] Stored procedure created 01:29:00.952 [vert.x-worker-thread-2] INFO Slf4jLogger [138920eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function::WilliamWelling ran successfully in 2ms 01:29:00.952 [vert.x-worker-thread-2] INFO Slf4jLogger [138920eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 29, '8:b569925e74e4d7248b94077af2cdd07d', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.954 [vert.x-worker-thread-2] INFO Slf4jLogger [138922eqId] create function diku_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from diku_mod_source_record_storage.records_lb rds where rds.instanceid = p_instanceId) rr where generation = max_generation) r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 01:29:00.954 [vert.x-worker-thread-2] INFO Slf4jLogger [138922eqId] Stored procedure created 01:29:00.955 [vert.x-worker-thread-2] INFO Slf4jLogger [138923eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function::WilliamWelling ran successfully in 2ms 01:29:00.956 [vert.x-worker-thread-2] INFO Slf4jLogger [138924eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 30, '8:b41d014ce4af1433a50894f82fe2e374', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.957 [vert.x-worker-thread-2] INFO Slf4jLogger [138925eqId] create function diku_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select id, matchedid from diku_mod_source_record_storage.records_lb where state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 01:29:00.958 [vert.x-worker-thread-2] INFO Slf4jLogger [138926eqId] Stored procedure created 01:29:00.959 [vert.x-worker-thread-2] INFO Slf4jLogger [138927eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-04-create-get-all-source-marc-records-function::WilliamWelling ran successfully in 2ms 01:29:00.959 [vert.x-worker-thread-2] INFO Slf4jLogger [138927eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-04-create-get-all-source-marc-records-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 31, '8:bce62b3ce004339e136d362d5fdbee04', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.961 [vert.x-worker-thread-2] INFO Slf4jLogger [138929eqId] create function diku_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select matchedid, id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from diku_mod_source_record_storage.records_lb ) rr where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 01:29:00.962 [vert.x-worker-thread-2] INFO Slf4jLogger [138930eqId] Stored procedure created 01:29:00.963 [vert.x-worker-thread-2] INFO Slf4jLogger [138931eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-05-create-get-all-source-marc-records-alt-function::WilliamWelling ran successfully in 2ms 01:29:00.963 [vert.x-worker-thread-2] INFO Slf4jLogger [138931eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-05-create-get-all-source-marc-records-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 32, '8:50424a00a2dfc4484871d7eb7cc31da6', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.965 [vert.x-worker-thread-2] INFO Slf4jLogger [138933eqId] create function diku_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from diku_mod_source_record_storage.records_lb where updateddate between p_from and p_till and state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 01:29:00.966 [vert.x-worker-thread-2] INFO Slf4jLogger [138934eqId] Stored procedure created 01:29:00.967 [vert.x-worker-thread-2] INFO Slf4jLogger [138935eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-06-create-get-source-marc-records-for-period::WilliamWelling ran successfully in 3ms 01:29:00.967 [vert.x-worker-thread-2] INFO Slf4jLogger [138935eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-06-create-get-source-marc-records-for-period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 33, '8:b0abeba302623bd75f4788d78bab9139', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.969 [vert.x-worker-thread-2] INFO Slf4jLogger [138937eqId] create function diku_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from ( select id, matchedid, updateddate, generation, max(generation) over (partition by matchedid) max_generation from diku_mod_source_record_storage.records_lb where updateddate between p_from and p_till ) r where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join diku_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 01:29:00.970 [vert.x-worker-thread-2] INFO Slf4jLogger [138938eqId] Stored procedure created 01:29:00.971 [vert.x-worker-thread-2] INFO Slf4jLogger [138939eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-07-create-get-source-marc-records-for-period-alt::WilliamWelling ran successfully in 2ms 01:29:00.971 [vert.x-worker-thread-2] INFO Slf4jLogger [138939eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-07-create-get-source-marc-records-for-period-alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 34, '8:88ad39977d1deeb47cf07d14f0bd655d', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.973 [vert.x-worker-thread-2] INFO Slf4jLogger [138941eqId] CREATE FUNCTION diku_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) RETURNS integer AS $generation$ DECLARE generation integer; BEGIN SELECT COALESCE(MAX(r.generation), 0) into generation FROM diku_mod_source_record_storage.records_lb r INNER JOIN diku_mod_source_record_storage.snapshots_lb s ON r.snapshotid = s.id WHERE r.matchedid = p_matchedid AND s.status = 'COMMITTED' AND s.updateddate < ( SELECT processing_started_date FROM diku_mod_source_record_storage.snapshots_lb WHERE id = p_snapshotid )::timestamptz; RETURN generation; END; $generation$ LANGUAGE plpgsql 01:29:00.974 [vert.x-worker-thread-2] INFO Slf4jLogger [138942eqId] Stored procedure created 01:29:00.975 [vert.x-worker-thread-2] INFO Slf4jLogger [138943eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml::2020-05-18--08-00-create-get-record-generation-function::WilliamWelling ran successfully in 2ms 01:29:00.975 [vert.x-worker-thread-2] INFO Slf4jLogger [138943eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-05-18--08-00-create-get-record-generation-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml', NOW(), 35, '8:de0ec2c65f24eaf4fc2fe24735fe16c1', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.977 [vert.x-worker-thread-2] INFO Slf4jLogger [138945eqId] DROP TABLE diku_mod_source_record_storage.error_records_lb 01:29:00.978 [vert.x-worker-thread-2] INFO Slf4jLogger [138946eqId] Table error_records_lb dropped 01:29:00.979 [vert.x-worker-thread-2] INFO Slf4jLogger [138947eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-00-drop-error-records-lb-table::WilliamWelling ran successfully in 2ms 01:29:00.980 [vert.x-worker-thread-2] INFO Slf4jLogger [138948eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-00-drop-error-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 36, '8:bd786e63891c50743f375e17a2a3c96c', 'dropTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.982 [vert.x-worker-thread-2] INFO Slf4jLogger [138950eqId] DROP TABLE diku_mod_source_record_storage.marc_records_lb 01:29:00.983 [vert.x-worker-thread-2] INFO Slf4jLogger [138951eqId] Table marc_records_lb dropped 01:29:00.984 [vert.x-worker-thread-2] INFO Slf4jLogger [138952eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-01-drop-marc-records-lb-table::WilliamWelling ran successfully in 3ms 01:29:00.984 [vert.x-worker-thread-2] INFO Slf4jLogger [138952eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-01-drop-marc-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 37, '8:531a87e6fba8e2156db424d5efe18202', 'dropTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.986 [vert.x-worker-thread-2] INFO Slf4jLogger [138954eqId] DROP TABLE diku_mod_source_record_storage.raw_records_lb 01:29:00.987 [vert.x-worker-thread-2] INFO Slf4jLogger [138955eqId] Table raw_records_lb dropped 01:29:00.988 [vert.x-worker-thread-2] INFO Slf4jLogger [138956eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-02-drop-raw-records-lb-table::WilliamWelling ran successfully in 3ms 01:29:00.988 [vert.x-worker-thread-2] INFO Slf4jLogger [138956eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-02-drop-raw-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 38, '8:434e36cf2e9fc765caa57f5c3edddbbd', 'dropTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.990 [vert.x-worker-thread-2] INFO Slf4jLogger [138958eqId] DROP TABLE diku_mod_source_record_storage.records_lb 01:29:00.991 [vert.x-worker-thread-2] INFO Slf4jLogger [138959eqId] Table records_lb dropped 01:29:00.993 [vert.x-worker-thread-2] INFO Slf4jLogger [138961eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-03-drop-records-lb-table::WilliamWelling ran successfully in 3ms 01:29:00.993 [vert.x-worker-thread-2] INFO Slf4jLogger [138961eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-03-drop-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 39, '8:4520134ec10fa498ead27617e40e68e8', 'dropTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.995 [vert.x-worker-thread-2] INFO Slf4jLogger [138963eqId] DROP TYPE diku_mod_source_record_storage.record_type 01:29:00.996 [vert.x-worker-thread-2] INFO Slf4jLogger [138964eqId] Custom SQL executed 01:29:00.997 [vert.x-worker-thread-2] INFO Slf4jLogger [138965eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-04-drop-record_type::WilliamWelling ran successfully in 2ms 01:29:00.997 [vert.x-worker-thread-2] INFO Slf4jLogger [138965eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-04-drop-record_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 40, '8:d7502a58e3171f666d99ea57699da7eb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:00.999 [vert.x-worker-thread-2] INFO Slf4jLogger [138967eqId] DROP TYPE diku_mod_source_record_storage.record_state_type 01:29:01.000 [vert.x-worker-thread-2] INFO Slf4jLogger [138968eqId] Custom SQL executed 01:29:01.001 [vert.x-worker-thread-2] INFO Slf4jLogger [138969eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-05-drop-record_state_type::WilliamWelling ran successfully in 2ms 01:29:01.001 [vert.x-worker-thread-2] INFO Slf4jLogger [138969eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-05-drop-record_state_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 41, '8:b5c6c1638cbd8f170d56426ef97e97a4', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.003 [vert.x-worker-thread-2] INFO Slf4jLogger [138971eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.update_records_set_updated_date() 01:29:01.004 [vert.x-worker-thread-2] INFO Slf4jLogger [138972eqId] Custom SQL executed 01:29:01.005 [vert.x-worker-thread-2] INFO Slf4jLogger [138973eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-06-drop-update_records_set_updated_date::WilliamWelling ran successfully in 2ms 01:29:01.005 [vert.x-worker-thread-2] INFO Slf4jLogger [138973eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-06-drop-update_records_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 42, '8:9f19815a3bd72d29c6320e5f23480690', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.007 [vert.x-worker-thread-2] INFO Slf4jLogger [138975eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.insert_records_set_created_date() 01:29:01.008 [vert.x-worker-thread-2] INFO Slf4jLogger [138976eqId] Custom SQL executed 01:29:01.009 [vert.x-worker-thread-2] INFO Slf4jLogger [138977eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-07-drop-insert_records_set_created_date::WilliamWelling ran successfully in 2ms 01:29:01.009 [vert.x-worker-thread-2] INFO Slf4jLogger [138977eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-07-drop-insert_records_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 43, '8:b01c10d8590e18cd3057ad0014ce347c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.011 [vert.x-worker-thread-2] INFO Slf4jLogger [138979eqId] DROP TABLE diku_mod_source_record_storage.snapshots_lb 01:29:01.012 [vert.x-worker-thread-2] INFO Slf4jLogger [138980eqId] Table snapshots_lb dropped 01:29:01.013 [vert.x-worker-thread-2] INFO Slf4jLogger [138981eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-08-drop-snapshots-lb-table::WilliamWelling ran successfully in 2ms 01:29:01.014 [vert.x-worker-thread-2] INFO Slf4jLogger [138982eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-08-drop-snapshots-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 44, '8:e8fdb0ea7c7f0d23f04b4d2e6c275d69', 'dropTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.016 [vert.x-worker-thread-2] INFO Slf4jLogger [138984eqId] DROP TYPE diku_mod_source_record_storage.job_execution_status 01:29:01.016 [vert.x-worker-thread-2] INFO Slf4jLogger [138984eqId] Custom SQL executed 01:29:01.018 [vert.x-worker-thread-2] INFO Slf4jLogger [138986eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-09-drop-job_execution_status::WilliamWelling ran successfully in 2ms 01:29:01.018 [vert.x-worker-thread-2] INFO Slf4jLogger [138986eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-09-drop-job_execution_status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 45, '8:732331a2305589cabd04e5dd14db490e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.020 [vert.x-worker-thread-2] INFO Slf4jLogger [138988eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.update_snapshots_set_updated_date() 01:29:01.021 [vert.x-worker-thread-2] INFO Slf4jLogger [138989eqId] Custom SQL executed 01:29:01.022 [vert.x-worker-thread-2] INFO Slf4jLogger [138990eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-10-drop-update_snapshots_set_updated_date::WilliamWelling ran successfully in 2ms 01:29:01.023 [vert.x-worker-thread-2] INFO Slf4jLogger [138991eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-10-drop-update_snapshots_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 46, '8:7ef026249c6e3e33209d0281fa5f3571', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.025 [vert.x-worker-thread-2] INFO Slf4jLogger [138993eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.insert_snapshots_set_created_date() 01:29:01.025 [vert.x-worker-thread-2] INFO Slf4jLogger [138993eqId] Custom SQL executed 01:29:01.027 [vert.x-worker-thread-2] INFO Slf4jLogger [138995eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-11-drop-insert_snapshots_set_created_date::WilliamWelling ran successfully in 2ms 01:29:01.027 [vert.x-worker-thread-2] INFO Slf4jLogger [138995eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-11-drop-insert_snapshots_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 47, '8:35bc5c5d2a3daee3e47ccf25bbf5b1ac', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.029 [vert.x-worker-thread-2] INFO Slf4jLogger [138997eqId] CREATE TYPE diku_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 01:29:01.030 [vert.x-worker-thread-2] INFO Slf4jLogger [138998eqId] Custom SQL executed 01:29:01.031 [vert.x-worker-thread-2] INFO Slf4jLogger [138999eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-00-create-job-execution-status::WilliamWelling ran successfully in 3ms 01:29:01.031 [vert.x-worker-thread-2] INFO Slf4jLogger [138999eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 48, '8:335e1f7e6f1a539921ef2427823acb22', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.033 [vert.x-worker-thread-2] INFO Slf4jLogger [139001eqId] CREATE TABLE diku_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status DIKU_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 01:29:01.037 [vert.x-worker-thread-2] INFO Slf4jLogger [139005eqId] Table snapshots_lb created 01:29:01.038 [vert.x-worker-thread-2] INFO Slf4jLogger [139006eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 01:29:01.039 [vert.x-worker-thread-2] INFO Slf4jLogger [139007eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 49, '8:df40e71fd4b77f6a9b1c02d7ec09cdfd', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.041 [vert.x-worker-thread-2] INFO Slf4jLogger [139009eqId] create function diku_mod_source_record_storage.insert_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 01:29:01.041 [vert.x-worker-thread-2] INFO Slf4jLogger [139009eqId] Stored procedure created 01:29:01.043 [vert.x-worker-thread-2] INFO Slf4jLogger [139011eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-02-create-insert-snapshots-set-dates-function::WilliamWelling ran successfully in 2ms 01:29:01.043 [vert.x-worker-thread-2] INFO Slf4jLogger [139011eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-02-create-insert-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 50, '8:0f7107a490e3ed1bbfa589666717c2cd', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.045 [vert.x-worker-thread-2] INFO Slf4jLogger [139013eqId] create trigger insert_snapshots_set_dates before insert on diku_mod_source_record_storage.snapshots_lb for each row execute procedure diku_mod_source_record_storage.insert_snapshots_set_dates() 01:29:01.046 [vert.x-worker-thread-2] INFO Slf4jLogger [139014eqId] Custom SQL executed 01:29:01.047 [vert.x-worker-thread-2] INFO Slf4jLogger [139015eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-03-create-insert-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 01:29:01.047 [vert.x-worker-thread-2] INFO Slf4jLogger [139015eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-03-create-insert-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 51, '8:a736ba498fd20696b7991e5156133d22', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.049 [vert.x-worker-thread-2] INFO Slf4jLogger [139017eqId] create function diku_mod_source_record_storage.update_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 01:29:01.050 [vert.x-worker-thread-2] INFO Slf4jLogger [139018eqId] Stored procedure created 01:29:01.051 [vert.x-worker-thread-2] INFO Slf4jLogger [139019eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-04-create-update-snapshots-set-dates-function::WilliamWelling ran successfully in 2ms 01:29:01.051 [vert.x-worker-thread-2] INFO Slf4jLogger [139019eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-04-create-update-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 52, '8:d0145e16a4729f6b0ef111744f3219eb', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.053 [vert.x-worker-thread-2] INFO Slf4jLogger [139021eqId] create trigger update_snapshots_set_dates before update on diku_mod_source_record_storage.snapshots_lb for each row execute procedure diku_mod_source_record_storage.update_snapshots_set_dates() 01:29:01.054 [vert.x-worker-thread-2] INFO Slf4jLogger [139022eqId] Custom SQL executed 01:29:01.055 [vert.x-worker-thread-2] INFO Slf4jLogger [139023eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-05-create-update-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 01:29:01.055 [vert.x-worker-thread-2] INFO Slf4jLogger [139023eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-05-create-update-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 53, '8:a8f5e2b28c20739ea90319f9ed1834be', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.057 [vert.x-worker-thread-2] INFO Slf4jLogger [139025eqId] CREATE TYPE diku_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 01:29:01.057 [vert.x-worker-thread-2] INFO Slf4jLogger [139025eqId] Custom SQL executed 01:29:01.058 [vert.x-worker-thread-2] INFO Slf4jLogger [139026eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-00-create-record-type::WilliamWelling ran successfully in 1ms 01:29:01.059 [vert.x-worker-thread-2] INFO Slf4jLogger [139027eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 54, '8:f643064536c25a5663744c7132a003f1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.061 [vert.x-worker-thread-2] INFO Slf4jLogger [139029eqId] CREATE TYPE diku_mod_source_record_storage.record_state AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 01:29:01.061 [vert.x-worker-thread-2] INFO Slf4jLogger [139029eqId] Custom SQL executed 01:29:01.063 [vert.x-worker-thread-2] INFO Slf4jLogger [139031eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-01-create-record-type-state::WilliamWelling ran successfully in 3ms 01:29:01.063 [vert.x-worker-thread-2] INFO Slf4jLogger [139031eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 55, '8:5daefec2b9c696aa79a393d34f70413c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.065 [vert.x-worker-thread-2] INFO Slf4jLogger [139033eqId] CREATE TABLE diku_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshot_id UUID NOT NULL, matched_id UUID NOT NULL, generation INTEGER NOT NULL, record_type DIKU_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instance_id UUID, state DIKU_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE NOT NULL, leader_record_status CHAR(1), "order" INTEGER, suppress_discovery BOOLEAN, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:01.068 [vert.x-worker-thread-2] INFO Slf4jLogger [139036eqId] Table records_lb created 01:29:01.069 [vert.x-worker-thread-2] INFO Slf4jLogger [139037eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-02-create-records-table::WilliamWelling ran successfully in 5ms 01:29:01.070 [vert.x-worker-thread-2] INFO Slf4jLogger [139038eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 56, '8:79bb9959df1d88a668558552e9ea7938', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.072 [vert.x-worker-thread-2] INFO Slf4jLogger [139040eqId] ALTER TABLE diku_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshot_id) REFERENCES diku_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:01.073 [vert.x-worker-thread-2] INFO Slf4jLogger [139041eqId] Foreign key constraint added to records_lb (snapshot_id) 01:29:01.074 [vert.x-worker-thread-2] INFO Slf4jLogger [139042eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 3ms 01:29:01.074 [vert.x-worker-thread-2] INFO Slf4jLogger [139042eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 57, '8:22cd58b9a3eae08ba8f86a5e6c2f057f', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.080 [vert.x-worker-thread-2] INFO Slf4jLogger [139048eqId] ALTER TABLE diku_mod_source_record_storage.records_lb ALTER COLUMN suppress_discovery SET DEFAULT FALSE 01:29:01.080 [vert.x-worker-thread-2] INFO Slf4jLogger [139048eqId] Default value added to records_lb.suppress_discovery 01:29:01.081 [vert.x-worker-thread-2] INFO Slf4jLogger [139049eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-04-set-records-suppress-discovery-default::WilliamWelling ran successfully in 1ms 01:29:01.082 [vert.x-worker-thread-2] INFO Slf4jLogger [139050eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-04-set-records-suppress-discovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 58, '8:74a06e105e9da4c11ed0d8ff23f514c2', 'addDefaultValue columnName=suppress_discovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.083 [vert.x-worker-thread-2] INFO Slf4jLogger [139051eqId] CREATE INDEX idx_records_snapshot_id ON diku_mod_source_record_storage.records_lb(snapshot_id) 01:29:01.086 [vert.x-worker-thread-2] INFO Slf4jLogger [139054eqId] Index idx_records_snapshot_id created 01:29:01.087 [vert.x-worker-thread-2] INFO Slf4jLogger [139055eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 01:29:01.087 [vert.x-worker-thread-2] INFO Slf4jLogger [139055eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 59, '8:59bb526d26188bbb1fdfd3b3a4f802cf', 'createIndex indexName=idx_records_snapshot_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.089 [vert.x-worker-thread-2] INFO Slf4jLogger [139057eqId] CREATE INDEX idx_records_instance_id ON diku_mod_source_record_storage.records_lb(instance_id) 01:29:01.092 [vert.x-worker-thread-2] INFO Slf4jLogger [139060eqId] Index idx_records_instance_id created 01:29:01.093 [vert.x-worker-thread-2] INFO Slf4jLogger [139061eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 01:29:01.093 [vert.x-worker-thread-2] INFO Slf4jLogger [139061eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 60, '8:56d0d8b09ed9d2dae75a13133c2d8d0c', 'createIndex indexName=idx_records_instance_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.095 [vert.x-worker-thread-2] INFO Slf4jLogger [139063eqId] CREATE UNIQUE INDEX idx_records_matched_id_gen ON diku_mod_source_record_storage.records_lb(matched_id, generation) 01:29:01.098 [vert.x-worker-thread-2] INFO Slf4jLogger [139066eqId] Index idx_records_matched_id_gen created 01:29:01.099 [vert.x-worker-thread-2] INFO Slf4jLogger [139067eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 5ms 01:29:01.099 [vert.x-worker-thread-2] INFO Slf4jLogger [139067eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 61, '8:6499d35d4f16748143a1d509c1d0ac1f', 'createIndex indexName=idx_records_matched_id_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.101 [vert.x-worker-thread-2] INFO Slf4jLogger [139069eqId] CREATE INDEX idx_records_updated_date ON diku_mod_source_record_storage.records_lb(updated_date) 01:29:01.104 [vert.x-worker-thread-2] INFO Slf4jLogger [139072eqId] Index idx_records_updated_date created 01:29:01.104 [vert.x-worker-thread-2] INFO Slf4jLogger [139072eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-08-create-records-updated-date-index::WilliamWelling ran successfully in 3ms 01:29:01.105 [vert.x-worker-thread-2] INFO Slf4jLogger [139073eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-08-create-records-updated-date-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 62, '8:bd8bf466ae5f5a2c5a507553668db1f5', 'createIndex indexName=idx_records_updated_date, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.106 [vert.x-worker-thread-2] INFO Slf4jLogger [139074eqId] CREATE INDEX idx_records_leader_record_status ON diku_mod_source_record_storage.records_lb(leader_record_status) 01:29:01.110 [vert.x-worker-thread-2] INFO Slf4jLogger [139078eqId] Index idx_records_leader_record_status created 01:29:01.111 [vert.x-worker-thread-2] INFO Slf4jLogger [139079eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-09-create-records-leader-record-status-index::WilliamWelling ran successfully in 5ms 01:29:01.111 [vert.x-worker-thread-2] INFO Slf4jLogger [139079eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-09-create-records-leader-record-status-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 63, '8:00a35905b862fd2e912f6558a2b6db14', 'createIndex indexName=idx_records_leader_record_status, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.113 [vert.x-worker-thread-2] INFO Slf4jLogger [139081eqId] CREATE INDEX idx_records_matched_id_state ON diku_mod_source_record_storage.records_lb(matched_id, state) 01:29:01.116 [vert.x-worker-thread-2] INFO Slf4jLogger [139084eqId] Index idx_records_matched_id_state created 01:29:01.117 [vert.x-worker-thread-2] INFO Slf4jLogger [139085eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-10-create-records-matchedid-state-index::WilliamWelling ran successfully in 4ms 01:29:01.117 [vert.x-worker-thread-2] INFO Slf4jLogger [139085eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-10-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 64, '8:a7a0399d89f41698ec922184a2a98816', 'createIndex indexName=idx_records_matched_id_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.119 [vert.x-worker-thread-2] INFO Slf4jLogger [139087eqId] create function diku_mod_source_record_storage.insert_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 01:29:01.119 [vert.x-worker-thread-2] INFO Slf4jLogger [139087eqId] Stored procedure created 01:29:01.120 [vert.x-worker-thread-2] INFO Slf4jLogger [139088eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-11-create-insert-records-set-dates-function::WilliamWelling ran successfully in 2ms 01:29:01.120 [vert.x-worker-thread-2] INFO Slf4jLogger [139088eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-11-create-insert-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 65, '8:f1446328055ecde70a96142c549ba2f9', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.122 [vert.x-worker-thread-2] INFO Slf4jLogger [139090eqId] create trigger insert_records_set_dates before insert on diku_mod_source_record_storage.records_lb for each row execute procedure diku_mod_source_record_storage.insert_records_set_dates() 01:29:01.122 [vert.x-worker-thread-2] INFO Slf4jLogger [139090eqId] Custom SQL executed 01:29:01.123 [vert.x-worker-thread-2] INFO Slf4jLogger [139091eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-12-create-insert-records-set-dates-trigger::WilliamWelling ran successfully in 1ms 01:29:01.124 [vert.x-worker-thread-2] INFO Slf4jLogger [139092eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-12-create-insert-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 66, '8:9de7e295b5b1a2c6b2f581e7ca1d5990', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.125 [vert.x-worker-thread-2] INFO Slf4jLogger [139093eqId] create function diku_mod_source_record_storage.update_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 01:29:01.125 [vert.x-worker-thread-2] INFO Slf4jLogger [139093eqId] Stored procedure created 01:29:01.126 [vert.x-worker-thread-2] INFO Slf4jLogger [139094eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-13-create-update-records-set-dates-function::WilliamWelling ran successfully in 1ms 01:29:01.127 [vert.x-worker-thread-2] INFO Slf4jLogger [139095eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-13-create-update-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 67, '8:c3010409e24c9eab7c0688a48f4481f8', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.128 [vert.x-worker-thread-2] INFO Slf4jLogger [139096eqId] create trigger update_records_set_dates before update on diku_mod_source_record_storage.records_lb for each row execute procedure diku_mod_source_record_storage.update_records_set_dates() 01:29:01.129 [vert.x-worker-thread-2] INFO Slf4jLogger [139097eqId] Custom SQL executed 01:29:01.130 [vert.x-worker-thread-2] INFO Slf4jLogger [139098eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-14-create-update-records-set-dates-trigger::WilliamWelling ran successfully in 2ms 01:29:01.130 [vert.x-worker-thread-2] INFO Slf4jLogger [139098eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-14-create-update-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 68, '8:97456a921c6536d11fbb9e924cb8f65e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.132 [vert.x-worker-thread-2] INFO Slf4jLogger [139100eqId] CREATE TABLE diku_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:01.137 [vert.x-worker-thread-2] INFO Slf4jLogger [139105eqId] Table raw_records_lb created 01:29:01.138 [vert.x-worker-thread-2] INFO Slf4jLogger [139106eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-00-create-raw-records-table::WilliamWelling ran successfully in 6ms 01:29:01.139 [vert.x-worker-thread-2] INFO Slf4jLogger [139107eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 69, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.140 [vert.x-worker-thread-2] INFO Slf4jLogger [139108eqId] ALTER TABLE diku_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES diku_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:01.142 [vert.x-worker-thread-2] INFO Slf4jLogger [139110eqId] Foreign key constraint added to raw_records_lb (id) 01:29:01.142 [vert.x-worker-thread-2] INFO Slf4jLogger [139110eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 2ms 01:29:01.143 [vert.x-worker-thread-2] INFO Slf4jLogger [139111eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 70, '8:86bb7f7ae0ea8d69a9671fe2176ad3e8', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.144 [vert.x-worker-thread-2] INFO Slf4jLogger [139112eqId] CREATE TABLE diku_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:01.150 [vert.x-worker-thread-2] INFO Slf4jLogger [139118eqId] Table marc_records_lb created 01:29:01.151 [vert.x-worker-thread-2] INFO Slf4jLogger [139119eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 01:29:01.151 [vert.x-worker-thread-2] INFO Slf4jLogger [139119eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 71, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.153 [vert.x-worker-thread-2] INFO Slf4jLogger [139121eqId] ALTER TABLE diku_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES diku_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:01.154 [vert.x-worker-thread-2] INFO Slf4jLogger [139122eqId] Foreign key constraint added to marc_records_lb (id) 01:29:01.155 [vert.x-worker-thread-2] INFO Slf4jLogger [139123eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 01:29:01.156 [vert.x-worker-thread-2] INFO Slf4jLogger [139124eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 72, '8:190b9b31e7728b591bcdb6e9ad5fdf76', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.157 [vert.x-worker-thread-2] INFO Slf4jLogger [139125eqId] create function diku_mod_source_record_storage.update_records_set_leader_record_status() returns trigger language plpgsql as $$ BEGIN IF (TG_OP = 'DELETE') THEN UPDATE diku_mod_source_record_storage.records_lb SET leader_record_status = NULL WHERE id = OLD.id; RETURN OLD; ELSE UPDATE diku_mod_source_record_storage.records_lb SET leader_record_status = substring(NEW.content->>'leader' from 6 for 1)::char(1) WHERE id = NEW.id; RETURN NEW; END IF; END; $$ 01:29:01.158 [vert.x-worker-thread-2] INFO Slf4jLogger [139126eqId] Stored procedure created 01:29:01.158 [vert.x-worker-thread-2] INFO Slf4jLogger [139126eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-02-create-update-records-set-leader-record-status-function::WilliamWelling ran successfully in 1ms 01:29:01.159 [vert.x-worker-thread-2] INFO Slf4jLogger [139127eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-02-create-update-records-set-leader-record-status-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 73, '8:53bcd351f21e2bfd900613ff34cb39c1', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.160 [vert.x-worker-thread-2] INFO Slf4jLogger [139128eqId] create trigger update_records_set_leader_record_status after insert or update or delete on diku_mod_source_record_storage.marc_records_lb for each row execute procedure diku_mod_source_record_storage.update_records_set_leader_record_status() 01:29:01.161 [vert.x-worker-thread-2] INFO Slf4jLogger [139129eqId] Custom SQL executed 01:29:01.162 [vert.x-worker-thread-2] INFO Slf4jLogger [139130eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-03-create-update-records-set-leader-record-status-trigger::WilliamWelling ran successfully in 2ms 01:29:01.162 [vert.x-worker-thread-2] INFO Slf4jLogger [139130eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-03-create-update-records-set-leader-record-status-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 74, '8:f4babddd97c61faac2bf73e9e4119c8d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.164 [vert.x-worker-thread-2] INFO Slf4jLogger [139132eqId] CREATE TABLE diku_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content TEXT NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 01:29:01.169 [vert.x-worker-thread-2] INFO Slf4jLogger [139137eqId] Table error_records_lb created 01:29:01.170 [vert.x-worker-thread-2] INFO Slf4jLogger [139138eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 01:29:01.170 [vert.x-worker-thread-2] INFO Slf4jLogger [139138eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 75, '8:b821b96e42bf16cf15ef75ea935ba4fe', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.172 [vert.x-worker-thread-2] INFO Slf4jLogger [139140eqId] ALTER TABLE diku_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES diku_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 01:29:01.173 [vert.x-worker-thread-2] INFO Slf4jLogger [139141eqId] Foreign key constraint added to error_records_lb (id) 01:29:01.174 [vert.x-worker-thread-2] INFO Slf4jLogger [139142eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 01:29:01.174 [vert.x-worker-thread-2] INFO Slf4jLogger [139142eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 76, '8:7c533c7b9d37c118f41e639cec80a917', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.190 [vert.x-worker-thread-2] INFO Slf4jLogger [139158eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-00-disable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.snapshots does not exist 01:29:01.190 [vert.x-worker-thread-2] INFO Slf4jLogger [139158eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-00-disable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 77, '8:0013be74efdf2ecbda8b1cf68286f8da', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.219 [vert.x-worker-thread-2] INFO Slf4jLogger [139187eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-01-migrate-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.snapshots does not exist 01:29:01.219 [vert.x-worker-thread-2] INFO Slf4jLogger [139187eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-01-migrate-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 78, '8:cea01180a1ae29929bc3da66f2da464a', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.230 [vert.x-worker-thread-2] INFO Slf4jLogger [139198eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-02-enable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.snapshots does not exist 01:29:01.231 [vert.x-worker-thread-2] INFO Slf4jLogger [139199eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-02-enable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 79, '8:f1fb0959d1e3fb6a9c27ff3c76bfab37', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.240 [vert.x-worker-thread-2] INFO Slf4jLogger [139208eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-03-create-missing-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.snapshots does not exist 01:29:01.241 [vert.x-worker-thread-2] INFO Slf4jLogger [139209eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-03-create-missing-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 80, '8:a931f5b3a665f10968868938ac56656e', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.250 [vert.x-worker-thread-2] INFO Slf4jLogger [139218eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-00-disable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.251 [vert.x-worker-thread-2] INFO Slf4jLogger [139219eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-00-disable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 81, '8:c6058cf33855237312f850c9ac009591', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.259 [vert.x-worker-thread-2] INFO Slf4jLogger [139227eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-01-migrate-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.260 [vert.x-worker-thread-2] INFO Slf4jLogger [139228eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-01-migrate-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 82, '8:beec6a0cbacb93d944e790934e73cd88', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.268 [vert.x-worker-thread-2] INFO Slf4jLogger [139236eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-02-enable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.269 [vert.x-worker-thread-2] INFO Slf4jLogger [139237eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-02-enable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 83, '8:70a7cdaf964b098c1523d429e49a107a', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.277 [vert.x-worker-thread-2] INFO Slf4jLogger [139245eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml::2020-06-12--14-00-migrate-raw-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.278 [vert.x-worker-thread-2] INFO Slf4jLogger [139246eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--14-00-migrate-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml', NOW(), 84, '8:ee239d432bb8dc305dd02e35d3ca7951', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.286 [vert.x-worker-thread-2] INFO Slf4jLogger [139254eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-00-disable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.286 [vert.x-worker-thread-2] INFO Slf4jLogger [139254eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-00-disable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 85, '8:76df9f2ec0ab6bf64d62732374425b2e', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.294 [vert.x-worker-thread-2] INFO Slf4jLogger [139262eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-01-migrate-marc-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.295 [vert.x-worker-thread-2] INFO Slf4jLogger [139263eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-01-migrate-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 86, '8:3d9abfe5d5b9ad12f1caa97c57f0e972', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.303 [vert.x-worker-thread-2] INFO Slf4jLogger [139271eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-02-enable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.304 [vert.x-worker-thread-2] INFO Slf4jLogger [139272eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-02-enable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 87, '8:969788a88d16a621ac265c862222500d', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.311 [vert.x-worker-thread-2] INFO Slf4jLogger [139279eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml::2020-06-12--16-00-migrate-error-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table diku_mod_source_record_storage.records does not exist 01:29:01.312 [vert.x-worker-thread-2] INFO Slf4jLogger [139280eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--16-00-migrate-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml', NOW(), 88, '8:41b7a81b521e70e0216efaadb935e0af', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3134940703') 01:29:01.313 [vert.x-worker-thread-2] INFO Slf4jLogger [139281eqId] DROP TABLE IF EXISTS diku_mod_source_record_storage.error_records 01:29:01.314 [vert.x-worker-thread-2] INFO Slf4jLogger [139282eqId] Custom SQL executed 01:29:01.314 [vert.x-worker-thread-2] INFO Slf4jLogger [139282eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml::2020-06-13--12-00-drop-error-records::WilliamWelling ran successfully in 1ms 01:29:01.314 [vert.x-worker-thread-2] INFO Slf4jLogger [139282eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--12-00-drop-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml', NOW(), 89, '8:b8aeb8396061e09f089f50c465949352', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.316 [vert.x-worker-thread-2] INFO Slf4jLogger [139284eqId] DROP TABLE IF EXISTS diku_mod_source_record_storage.marc_records 01:29:01.316 [vert.x-worker-thread-2] INFO Slf4jLogger [139284eqId] Custom SQL executed 01:29:01.316 [vert.x-worker-thread-2] INFO Slf4jLogger [139284eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml::2020-06-13--13-00-drop-marc-records::WilliamWelling ran successfully in 0ms 01:29:01.317 [vert.x-worker-thread-2] INFO Slf4jLogger [139285eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--13-00-drop-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml', NOW(), 90, '8:538f5994935a68ae4587feda99ebae31', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.318 [vert.x-worker-thread-2] INFO Slf4jLogger [139286eqId] DROP TABLE IF EXISTS diku_mod_source_record_storage.raw_records 01:29:01.319 [vert.x-worker-thread-2] INFO Slf4jLogger [139287eqId] Custom SQL executed 01:29:01.319 [vert.x-worker-thread-2] INFO Slf4jLogger [139287eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml::2020-06-13--14-00-drop-raw-records::WilliamWelling ran successfully in 1ms 01:29:01.319 [vert.x-worker-thread-2] INFO Slf4jLogger [139287eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--14-00-drop-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml', NOW(), 91, '8:f34689ed909479c9c5d3ff53c0a62876', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.321 [vert.x-worker-thread-2] INFO Slf4jLogger [139289eqId] DROP TABLE IF EXISTS diku_mod_source_record_storage.records 01:29:01.321 [vert.x-worker-thread-2] INFO Slf4jLogger [139289eqId] Custom SQL executed 01:29:01.321 [vert.x-worker-thread-2] INFO Slf4jLogger [139289eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml::2020-06-13--15-00-drop-records::WilliamWelling ran successfully in 0ms 01:29:01.322 [vert.x-worker-thread-2] INFO Slf4jLogger [139290eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--15-00-drop-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml', NOW(), 92, '8:b3a199543c6e79b1ae904e63bfeebee1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.323 [vert.x-worker-thread-2] INFO Slf4jLogger [139291eqId] DROP TABLE IF EXISTS diku_mod_source_record_storage.snapshots 01:29:01.324 [vert.x-worker-thread-2] INFO Slf4jLogger [139292eqId] Custom SQL executed 01:29:01.324 [vert.x-worker-thread-2] INFO Slf4jLogger [139292eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml::2020-06-13--16-00-drop-snapshots::WilliamWelling ran successfully in 1ms 01:29:01.324 [vert.x-worker-thread-2] INFO Slf4jLogger [139292eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--16-00-drop-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml', NOW(), 93, '8:9d9cec0cd91473083d5fe57717bb0e4f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.326 [vert.x-worker-thread-2] INFO Slf4jLogger [139294eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_record_by_external_id(externalId uuid, idFieldName text) 01:29:01.326 [vert.x-worker-thread-2] INFO Slf4jLogger [139294eqId] Custom SQL executed 01:29:01.326 [vert.x-worker-thread-2] INFO Slf4jLogger [139294eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-00-drop-get_record_by_external_id::WilliamWelling ran successfully in 0ms 01:29:01.327 [vert.x-worker-thread-2] INFO Slf4jLogger [139295eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-00-drop-get_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 94, '8:d1f7634c461063c012efc55e5c868e98', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.328 [vert.x-worker-thread-2] INFO Slf4jLogger [139296eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_record_by_matched_id(record_id uuid) 01:29:01.329 [vert.x-worker-thread-2] INFO Slf4jLogger [139297eqId] Custom SQL executed 01:29:01.329 [vert.x-worker-thread-2] INFO Slf4jLogger [139297eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-01-drop-get_record_by_matched_id::WilliamWelling ran successfully in 1ms 01:29:01.329 [vert.x-worker-thread-2] INFO Slf4jLogger [139297eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-01-drop-get_record_by_matched_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 95, '8:e015c6eab5294b3f57e208648b42849c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.331 [vert.x-worker-thread-2] INFO Slf4jLogger [139299eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_record_by_id(record_id uuid) 01:29:01.331 [vert.x-worker-thread-2] INFO Slf4jLogger [139299eqId] Custom SQL executed 01:29:01.332 [vert.x-worker-thread-2] INFO Slf4jLogger [139300eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-02-drop-get_source_record_by_id::WilliamWelling ran successfully in 1ms 01:29:01.332 [vert.x-worker-thread-2] INFO Slf4jLogger [139300eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-02-drop-get_source_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 96, '8:2c2795930ddd5116bbff30d98bc802ad', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.333 [vert.x-worker-thread-2] INFO Slf4jLogger [139301eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_record_by_external_id(externalId uuid, idFieldName text) 01:29:01.334 [vert.x-worker-thread-2] INFO Slf4jLogger [139302eqId] Custom SQL executed 01:29:01.334 [vert.x-worker-thread-2] INFO Slf4jLogger [139302eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-03-drop-get_source_record_by_external_id::WilliamWelling ran successfully in 1ms 01:29:01.335 [vert.x-worker-thread-2] INFO Slf4jLogger [139303eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-03-drop-get_source_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 97, '8:bafa90502da45b5aa91996749e06716c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.336 [vert.x-worker-thread-2] INFO Slf4jLogger [139304eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_records(where_clause text, order_by text, limitVal int, offsetVal int, schema_name text) 01:29:01.337 [vert.x-worker-thread-2] INFO Slf4jLogger [139305eqId] Custom SQL executed 01:29:01.337 [vert.x-worker-thread-2] INFO Slf4jLogger [139305eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-04-drop-get_records::WilliamWelling ran successfully in 1ms 01:29:01.338 [vert.x-worker-thread-2] INFO Slf4jLogger [139306eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-04-drop-get_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 98, '8:e584a98a96f8b149ba3f6ebaa482029a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.339 [vert.x-worker-thread-2] INFO Slf4jLogger [139307eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_records(query_filter text, order_by text, limitVal int, offsetVal int, deleted_records text, schema_name text) 01:29:01.340 [vert.x-worker-thread-2] INFO Slf4jLogger [139308eqId] Custom SQL executed 01:29:01.340 [vert.x-worker-thread-2] INFO Slf4jLogger [139308eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-05-drop-get_source_records::WilliamWelling ran successfully in 1ms 01:29:01.341 [vert.x-worker-thread-2] INFO Slf4jLogger [139309eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-05-drop-get_source_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 99, '8:ce7d662e3588e51d04ba4eea334c46bf', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.342 [vert.x-worker-thread-2] INFO Slf4jLogger [139310eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_highest_generation(matchedId uuid, snapshotId uuid) 01:29:01.343 [vert.x-worker-thread-2] INFO Slf4jLogger [139311eqId] Custom SQL executed 01:29:01.343 [vert.x-worker-thread-2] INFO Slf4jLogger [139311eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-06-drop-get_highest_generation::WilliamWelling ran successfully in 1ms 01:29:01.343 [vert.x-worker-thread-2] INFO Slf4jLogger [139311eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-06-drop-get_highest_generation', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 100, '8:3bd56241e57ac76a227f86e56ff92c44', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.345 [vert.x-worker-thread-2] INFO Slf4jLogger [139313eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.error_records_set_md() 01:29:01.345 [vert.x-worker-thread-2] INFO Slf4jLogger [139313eqId] Custom SQL executed 01:29:01.346 [vert.x-worker-thread-2] INFO Slf4jLogger [139314eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-07-drop-error_records_set_md::WilliamWelling ran successfully in 1ms 01:29:01.350 [vert.x-worker-thread-2] INFO Slf4jLogger [139318eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-07-drop-error_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 101, '8:68148586629fcd4e61c534edb8ff8c62', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.352 [vert.x-worker-thread-2] INFO Slf4jLogger [139320eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.marc_records_set_md() 01:29:01.352 [vert.x-worker-thread-2] INFO Slf4jLogger [139320eqId] Custom SQL executed 01:29:01.352 [vert.x-worker-thread-2] INFO Slf4jLogger [139320eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-08-drop-marc_records_set_md::WilliamWelling ran successfully in 0ms 01:29:01.353 [vert.x-worker-thread-2] INFO Slf4jLogger [139321eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-08-drop-marc_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 102, '8:b580fdc95ef1cd8929529539d450e251', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.355 [vert.x-worker-thread-2] INFO Slf4jLogger [139323eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.raw_records_set_md() 01:29:01.355 [vert.x-worker-thread-2] INFO Slf4jLogger [139323eqId] Custom SQL executed 01:29:01.355 [vert.x-worker-thread-2] INFO Slf4jLogger [139323eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-09-drop-raw_records_set_md::WilliamWelling ran successfully in 1ms 01:29:01.356 [vert.x-worker-thread-2] INFO Slf4jLogger [139324eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-09-drop-raw_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 103, '8:63bd3de28a8fe8e14be76704f8ffea4f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.357 [vert.x-worker-thread-2] INFO Slf4jLogger [139325eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.records_set_md() 01:29:01.358 [vert.x-worker-thread-2] INFO Slf4jLogger [139326eqId] Custom SQL executed 01:29:01.358 [vert.x-worker-thread-2] INFO Slf4jLogger [139326eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-10-drop-records_set_md::WilliamWelling ran successfully in 1ms 01:29:01.358 [vert.x-worker-thread-2] INFO Slf4jLogger [139326eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-10-drop-records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 104, '8:ab3821dba4a13f7d3c21a621366bc6cb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.360 [vert.x-worker-thread-2] INFO Slf4jLogger [139328eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.set_error_records_md_json() 01:29:01.360 [vert.x-worker-thread-2] INFO Slf4jLogger [139328eqId] Custom SQL executed 01:29:01.361 [vert.x-worker-thread-2] INFO Slf4jLogger [139329eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-11-drop-set_error_records_md_json::WilliamWelling ran successfully in 1ms 01:29:01.361 [vert.x-worker-thread-2] INFO Slf4jLogger [139329eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-11-drop-set_error_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 105, '8:a80cc6d4a16efbd84a29afed97e2d174', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.363 [vert.x-worker-thread-2] INFO Slf4jLogger [139331eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.set_id_in_jsonb() 01:29:01.363 [vert.x-worker-thread-2] INFO Slf4jLogger [139331eqId] Custom SQL executed 01:29:01.364 [vert.x-worker-thread-2] INFO Slf4jLogger [139332eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-12-drop-set_id_in_jsonb::WilliamWelling ran successfully in 2ms 01:29:01.364 [vert.x-worker-thread-2] INFO Slf4jLogger [139332eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-12-drop-set_id_in_jsonb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 106, '8:13feb667548331245bb80e6efa6e00fb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.366 [vert.x-worker-thread-2] INFO Slf4jLogger [139334eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.set_marc_records_md_json() 01:29:01.366 [vert.x-worker-thread-2] INFO Slf4jLogger [139334eqId] Custom SQL executed 01:29:01.367 [vert.x-worker-thread-2] INFO Slf4jLogger [139335eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-13-drop-set_marc_records_md_json::WilliamWelling ran successfully in 1ms 01:29:01.367 [vert.x-worker-thread-2] INFO Slf4jLogger [139335eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-13-drop-set_marc_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 107, '8:9c24865ee233cb37a09e2c0f56290183', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.369 [vert.x-worker-thread-2] INFO Slf4jLogger [139337eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.set_raw_records_md_json() 01:29:01.369 [vert.x-worker-thread-2] INFO Slf4jLogger [139337eqId] Custom SQL executed 01:29:01.369 [vert.x-worker-thread-2] INFO Slf4jLogger [139337eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-14-drop-set_raw_records_md_json::WilliamWelling ran successfully in 1ms 01:29:01.369 [vert.x-worker-thread-2] INFO Slf4jLogger [139337eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-14-drop-set_raw_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 108, '8:b2734d928bb6555af48de8c4e046f1ed', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.371 [vert.x-worker-thread-2] INFO Slf4jLogger [139339eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.set_records_md_json() 01:29:01.371 [vert.x-worker-thread-2] INFO Slf4jLogger [139339eqId] Custom SQL executed 01:29:01.372 [vert.x-worker-thread-2] INFO Slf4jLogger [139340eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-15-drop-set_records_md_json::WilliamWelling ran successfully in 1ms 01:29:01.372 [vert.x-worker-thread-2] INFO Slf4jLogger [139340eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-15-drop-set_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 109, '8:ce4d649a67ddb85b9a0147ad53eec8ee', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.373 [vert.x-worker-thread-2] INFO Slf4jLogger [139341eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.set_snapshots_md_json() 01:29:01.374 [vert.x-worker-thread-2] INFO Slf4jLogger [139342eqId] Custom SQL executed 01:29:01.374 [vert.x-worker-thread-2] INFO Slf4jLogger [139342eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-16-drop-set_snapshots_md_json::WilliamWelling ran successfully in 1ms 01:29:01.374 [vert.x-worker-thread-2] INFO Slf4jLogger [139342eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-16-drop-set_snapshots_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 110, '8:ccb89ddfe837932d8f5cd3fc002793fa', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.376 [vert.x-worker-thread-2] INFO Slf4jLogger [139344eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.snapshots_set_md() 01:29:01.377 [vert.x-worker-thread-2] INFO Slf4jLogger [139345eqId] Custom SQL executed 01:29:01.377 [vert.x-worker-thread-2] INFO Slf4jLogger [139345eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-17-drop-snapshots_set_md::WilliamWelling ran successfully in 1ms 01:29:01.377 [vert.x-worker-thread-2] INFO Slf4jLogger [139345eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-17-drop-snapshots_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 111, '8:1b375bd82836a18f9c16254febeb01fb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.379 [vert.x-worker-thread-2] INFO Slf4jLogger [139347eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.update_records_references() 01:29:01.379 [vert.x-worker-thread-2] INFO Slf4jLogger [139347eqId] Custom SQL executed 01:29:01.379 [vert.x-worker-thread-2] INFO Slf4jLogger [139347eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-18-drop-update_records_references::WilliamWelling ran successfully in 0ms 01:29:01.380 [vert.x-worker-thread-2] INFO Slf4jLogger [139348eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-18-drop-update_records_references', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 112, '8:6f9542d3a89eb04a813263995a0c1091', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.381 [vert.x-worker-thread-2] INFO Slf4jLogger [139349eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) 01:29:01.382 [vert.x-worker-thread-2] INFO Slf4jLogger [139350eqId] Custom SQL executed 01:29:01.383 [vert.x-worker-thread-2] INFO Slf4jLogger [139351eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-19-drop-get_source_marc_record_by_id::WilliamWelling ran successfully in 2ms 01:29:01.383 [vert.x-worker-thread-2] INFO Slf4jLogger [139351eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-19-drop-get_source_marc_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 113, '8:6f4763165b520209b6acca2394b46fd1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.384 [vert.x-worker-thread-2] INFO Slf4jLogger [139352eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) 01:29:01.385 [vert.x-worker-thread-2] INFO Slf4jLogger [139353eqId] Custom SQL executed 01:29:01.386 [vert.x-worker-thread-2] INFO Slf4jLogger [139354eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-20-drop-get_source_marc_record_by_id_alt::WilliamWelling ran successfully in 2ms 01:29:01.386 [vert.x-worker-thread-2] INFO Slf4jLogger [139354eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-20-drop-get_source_marc_record_by_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 114, '8:c2c76ed7630fad6e455ded6cb68ac032', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.388 [vert.x-worker-thread-2] INFO Slf4jLogger [139356eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) 01:29:01.388 [vert.x-worker-thread-2] INFO Slf4jLogger [139356eqId] Custom SQL executed 01:29:01.389 [vert.x-worker-thread-2] INFO Slf4jLogger [139357eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-21-drop-get_source_marc_record_by_instance_id::WilliamWelling ran successfully in 1ms 01:29:01.389 [vert.x-worker-thread-2] INFO Slf4jLogger [139357eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-21-drop-get_source_marc_record_by_instance_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 115, '8:e5c9dd5724ac487ba9b815c991a719f6', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.391 [vert.x-worker-thread-2] INFO Slf4jLogger [139359eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) 01:29:01.391 [vert.x-worker-thread-2] INFO Slf4jLogger [139359eqId] Custom SQL executed 01:29:01.392 [vert.x-worker-thread-2] INFO Slf4jLogger [139360eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt::WilliamWelling ran successfully in 1ms 01:29:01.392 [vert.x-worker-thread-2] INFO Slf4jLogger [139360eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 116, '8:9c3fab259c4608fcf9ba349c465db67f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.394 [vert.x-worker-thread-2] INFO Slf4jLogger [139362eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) 01:29:01.394 [vert.x-worker-thread-2] INFO Slf4jLogger [139362eqId] Custom SQL executed 01:29:01.395 [vert.x-worker-thread-2] INFO Slf4jLogger [139363eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-23-drop-get_all_source_marc_records::WilliamWelling ran successfully in 1ms 01:29:01.396 [vert.x-worker-thread-2] INFO Slf4jLogger [139364eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-23-drop-get_all_source_marc_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 117, '8:2966563ef33c7d9ece3251fc91e4e3c2', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.397 [vert.x-worker-thread-2] INFO Slf4jLogger [139365eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) 01:29:01.397 [vert.x-worker-thread-2] INFO Slf4jLogger [139365eqId] Custom SQL executed 01:29:01.398 [vert.x-worker-thread-2] INFO Slf4jLogger [139366eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-24-drop-get_all_source_marc_records_alt::WilliamWelling ran successfully in 1ms 01:29:01.399 [vert.x-worker-thread-2] INFO Slf4jLogger [139367eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-24-drop-get_all_source_marc_records_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 118, '8:24c5d341feae2b14452ff7c5a0b4d363', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.400 [vert.x-worker-thread-2] INFO Slf4jLogger [139368eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 01:29:01.401 [vert.x-worker-thread-2] INFO Slf4jLogger [139369eqId] Custom SQL executed 01:29:01.402 [vert.x-worker-thread-2] INFO Slf4jLogger [139370eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-25-drop-get_source_marc_records_for_period::WilliamWelling ran successfully in 2ms 01:29:01.402 [vert.x-worker-thread-2] INFO Slf4jLogger [139370eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-25-drop-get_source_marc_records_for_period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 119, '8:97a3d9d3c55eb0e6ee47dd362a82fe8a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.404 [vert.x-worker-thread-2] INFO Slf4jLogger [139372eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 01:29:01.404 [vert.x-worker-thread-2] INFO Slf4jLogger [139372eqId] Custom SQL executed 01:29:01.405 [vert.x-worker-thread-2] INFO Slf4jLogger [139373eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-26-drop-get_source_marc_records_for_period_alt::WilliamWelling ran successfully in 2ms 01:29:01.405 [vert.x-worker-thread-2] INFO Slf4jLogger [139373eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-26-drop-get_source_marc_records_for_period_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 120, '8:f587ae6fe295b785135a80852cdbe120', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.407 [vert.x-worker-thread-2] INFO Slf4jLogger [139375eqId] DROP FUNCTION IF EXISTS diku_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) 01:29:01.407 [vert.x-worker-thread-2] INFO Slf4jLogger [139375eqId] Custom SQL executed 01:29:01.408 [vert.x-worker-thread-2] INFO Slf4jLogger [139376eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-27-drop-get_highest_generation_lb::WilliamWelling ran successfully in 1ms 01:29:01.408 [vert.x-worker-thread-2] INFO Slf4jLogger [139376eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-27-drop-get_highest_generation_lb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 121, '8:177396cda81a969fe3c1709329102640', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.410 [vert.x-worker-thread-2] INFO Slf4jLogger [139378eqId] DELETE FROM diku_mod_source_record_storage.records_lb WHERE id IN ('4c0ff739-3f4d-4670-a693-84dd48e31c53', '8452daf9-c130-4955-99ce-1c397a218900', 'ec53a386-9616-428b-92a9-e1f07756ea1f', '0f0fe962-d502-4a4f-9e74-7732bec94ee8', '009286d6-f89e-4881-9562-11158f02664a', '8f462542-387c-4f06-a01b-50829c7c7b13', 'e567b8e2-a45b-45f1-a85a-6b6312bdf4d8', 'a2d6893e-c6b3-4c95-bec5-8b997aa1776d', '8fb19e31-0920-49d7-9438-b573c292b1a6', '7293f287-bb51-41f5-805d-00ff18a1f791', 'be1b25ae-4a9d-4077-93e6-7f8e59efd609') 01:29:01.411 [vert.x-worker-thread-2] INFO Slf4jLogger [139379eqId] Data deleted from records_lb 01:29:01.411 [vert.x-worker-thread-2] INFO Slf4jLogger [139379eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml::2020-06-25--12-00-delete-sample-data::KaterynaSenchenko ran successfully in 1ms 01:29:01.411 [vert.x-worker-thread-2] INFO Slf4jLogger [139379eqId] INSERT INTO diku_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-25--12-00-delete-sample-data', 'KaterynaSenchenko', 'liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml', NOW(), 122, '8:cfa6017e2f8b5b42147861b15714ddac', 'delete tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3134940703') 01:29:01.414 [vert.x-worker-thread-2] INFO Slf4jLogger [139382eqId] Successfully released change log lock 01:29:01.414 [vert.x-worker-thread-2] INFO LiquibaseUtil [139382eqId] Schema is initialized for tenant diku 01:29:01.418 [vert.x-eventloop-thread-0] INFO ostgresClientFactory [139386eqId] Creating new database connection pool for tenant diku 01:29:01.769 [vert.x-eventloop-thread-0] INFO JooqLogger [139737eqId] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@ @@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@@@@ @@ @@ @@@@@@@@@@ @@@@@@@@@@ @@@@ @@ @@ @@@@@@@@@@ @@@@@@@@@@ @@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@ @@ @@@@@@@@@@ @@@@@@@@@@ @@ @@ @@@@ @@@@@@@@@@ @@@@@@@@@@ @@ @@ @@@@ @@@@@@@@@@ @@@@@@@@@@ @@ @ @ @@@@@@@@@@ @@@@@@@@@@ @@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Thank you for using jOOQ 3.13.2 01:29:01.795 [vert.x-eventloop-thread-0] INFO ModTenantAPI [139763eqId] Module is being deployed in test mode, stub snapshot will be created. Check the server log for details. 01:29:01.830 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [139798eqId] Reading MessagingDescriptor.json 01:29:01.846 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [139814eqId] Registering events for publishers 01:29:02.192 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [140160eqId] Registering module's publishers 01:29:02.504 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [140472eqId] Module's publishers were successfully registered 01:29:02.504 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [140472eqId] Registering module's subscribers 01:29:02.704 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [140672eqId] Module's subscribers were successfully registered 01:29:02.704 [vert.x-eventloop-thread-0] INFO ModTenantAPI [140672eqId] Module was successfully registered as publisher/subscriber in mod-pubsub 01:29:02.705 [vert.x-eventloop-thread-0] INFO LogUtil [140673eqId] org.folio.rest.RestVerticle start invoking postTenant 01:29:02.713 [vert.x-eventloop-thread-0] INFO LogUtil [140681eqId] 10.36.1.197:40522 POST /_/tenant null HTTP_1_1 201 3 7389 tid=diku Created 02:05:05.858 [vert.x-eventloop-thread-0] INFO LogUtil [2303826eqId] 10.36.1.197:46660 GET / null HTTP_1_1 400 28 -1 tid=null Bad Request Invalid URL path requested / 03:05:05.585 [vert.x-eventloop-thread-0] INFO LogUtil [5903553eqId] 10.36.1.197:48864 GET / null HTTP_1_1 400 28 -1 tid=null Bad Request Invalid URL path requested / 04:05:05.236 [vert.x-eventloop-thread-0] INFO LogUtil [9503204eqId] 10.36.1.197:50604 GET / null HTTP_1_1 400 28 -1 tid=null Bad Request Invalid URL path requested / 05:42:21.077 [vert.x-eventloop-thread-0] INFO LogUtil [15339045eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSnapshots 05:42:21.096 [vert.x-eventloop-thread-0] INFO LogUtil [15339064eqId] 10.36.1.197:53828 POST /source-storage/snapshots HTTP_1_1 201 336 130 tid=diku Created 05:42:22.458 [vert.x-eventloop-thread-0] INFO LogUtil [15340426eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:42:22.459 [vert.x-eventloop-thread-0] INFO LogUtil [15340427eqId] 10.36.1.197:53828 PUT /source-storage/snapshots/86e13bd9-6da3-4572-a371-21bca76e1662 HTTP_1_1 200 346 17 tid=diku OK 05:42:26.286 [vert.x-eventloop-thread-0] INFO LogUtil [15344254eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:42:26.287 [vert.x-eventloop-thread-0] INFO LogUtil [15344255eqId] 10.36.1.197:53828 PUT /source-storage/snapshots/86e13bd9-6da3-4572-a371-21bca76e1662 HTTP_1_1 200 412 6 tid=diku OK 05:42:27.664 [vert.x-eventloop-thread-0] INFO LogUtil [15345632eqId] org.folio.rest.RestVerticle start invoking postSourceStorageBatchRecords 05:42:27.698 [vert.x-eventloop-thread-0] INFO LogUtil [15345666eqId] 10.36.1.197:53828 POST /source-storage/batch/records HTTP_1_1 201 938019 1090 tid=diku Created 05:42:30.553 [vert.x-eventloop-thread-0] INFO LogUtil [15348521eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:42:30.554 [vert.x-eventloop-thread-0] INFO LogUtil [15348522eqId] 10.36.1.197:53944 PUT /source-storage/snapshots/86e13bd9-6da3-4572-a371-21bca76e1662 HTTP_1_1 200 342 33 tid=diku OK 05:42:30.556 [vert.x-eventloop-thread-0] INFO LogUtil [15348524eqId] org.folio.rest.RestVerticle start invoking putSourceStorageBatchParsedRecords 05:42:30.565 [vert.x-eventloop-thread-0] INFO LogUtil [15348533eqId] 10.36.1.197:53828 PUT /source-storage/batch/parsed-records HTTP_1_1 200 549339 177 tid=diku OK 05:42:30.586 [vert.x-eventloop-thread-0] INFO LogUtil [15348554eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:42:30.587 [vert.x-eventloop-thread-0] INFO LogUtil [15348555eqId] 10.36.1.197:53828 PUT /source-storage/snapshots/86e13bd9-6da3-4572-a371-21bca76e1662 HTTP_1_1 200 342 4 tid=diku OK 05:42:40.248 [vert.x-eventloop-thread-0] INFO LogUtil [15358216eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecords 05:42:40.290 [vert.x-eventloop-thread-0] INFO LogUtil [15358258eqId] 10.36.1.197:53828 GET /source-storage/records snapshotId=86e13bd9-6da3-4572-a371-21bca76e1662&orderBy=order&limit=1000 HTTP_1_1 200 817790 247 tid=diku OK 05:42:58.348 [vert.x-eventloop-thread-0] INFO LogUtil [15376316eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 05:42:58.351 [vert.x-eventloop-thread-0] INFO LogUtil [15376319eqId] 10.36.1.197:53828 GET /source-storage/records/141f6524-51d5-4ad4-93f9-fa274f95d6d2/formatted idType=INSTANCE HTTP_1_1 200 18119 16 tid=diku OK 05:43:02.343 [vert.x-eventloop-thread-0] INFO LogUtil [15380311eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecordsById 05:43:02.347 [vert.x-eventloop-thread-0] INFO LogUtil [15380315eqId] 10.36.1.197:53828 GET /source-storage/source-records/141f6524-51d5-4ad4-93f9-fa274f95d6d2 idType=INSTANCE& HTTP_1_1 200 15433 118 tid=diku OK 05:43:11.985 [vert.x-eventloop-thread-0] INFO LogUtil [15389953eqId] org.folio.rest.RestVerticle start invoking postSourceStorageHandlersUpdatedRecord 05:43:12.005 [vert.x-eventloop-thread-0] INFO LogUtil [15389973eqId] 10.36.1.197:53828 POST /source-storage/handlers/updated-record null HTTP_1_1 204 0 258 tid=diku No Content 05:43:12.270 [vert.x-eventloop-thread-0] INFO LogUtil [15390238eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 05:43:12.272 [vert.x-eventloop-thread-0] INFO LogUtil [15390240eqId] 10.36.1.197:53828 GET /source-storage/records/141f6524-51d5-4ad4-93f9-fa274f95d6d2/formatted idType=INSTANCE HTTP_1_1 200 18161 8 tid=diku OK 05:43:31.001 [vert.x-eventloop-thread-0] INFO LogUtil [15408969eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecordsById 05:43:31.002 [vert.x-eventloop-thread-0] INFO LogUtil [15408970eqId] 10.36.1.197:53828 GET /source-storage/source-records/141f6524-51d5-4ad4-93f9-fa274f95d6d2 idType=INSTANCE& HTTP_1_1 200 15471 5 tid=diku OK 05:43:38.970 [vert.x-eventloop-thread-0] INFO LogUtil [15416938eqId] org.folio.rest.RestVerticle start invoking postSourceStorageHandlersUpdatedRecord 05:43:38.971 [vert.x-eventloop-thread-0] INFO LogUtil [15416939eqId] 10.36.1.197:53828 POST /source-storage/handlers/updated-record null HTTP_1_1 204 0 1 tid=diku No Content 05:43:39.623 [vert.x-eventloop-thread-0] INFO LogUtil [15417591eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 05:43:39.626 [vert.x-eventloop-thread-0] INFO LogUtil [15417594eqId] 10.36.1.197:53828 GET /source-storage/records/141f6524-51d5-4ad4-93f9-fa274f95d6d2/formatted idType=INSTANCE HTTP_1_1 200 18161 9 tid=diku OK 05:43:53.727 [vert.x-eventloop-thread-0] INFO LogUtil [15431695eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecordsById 05:43:53.728 [vert.x-eventloop-thread-0] INFO LogUtil [15431696eqId] 10.36.1.197:53828 GET /source-storage/source-records/141f6524-51d5-4ad4-93f9-fa274f95d6d2 idType=INSTANCE& HTTP_1_1 200 15471 5 tid=diku OK 05:44:01.416 [vert.x-eventloop-thread-0] INFO LogUtil [15439384eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 05:44:01.418 [vert.x-eventloop-thread-0] INFO LogUtil [15439386eqId] 10.36.1.197:53828 GET /source-storage/records/141f6524-51d5-4ad4-93f9-fa274f95d6d2/formatted idType=INSTANCE HTTP_1_1 200 18161 7 tid=diku OK 05:44:10.853 [vert.x-eventloop-thread-0] INFO LogUtil [15448821eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecordsById 05:44:10.855 [vert.x-eventloop-thread-0] INFO LogUtil [15448823eqId] 10.36.1.197:53828 GET /source-storage/source-records/141f6524-51d5-4ad4-93f9-fa274f95d6d2 idType=INSTANCE& HTTP_1_1 200 15471 5 tid=diku OK 05:53:43.084 [vert.x-eventloop-thread-0] INFO LogUtil [16021052eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecords 05:53:43.120 [vert.x-eventloop-thread-0] INFO LogUtil [16021088eqId] 10.36.1.197:54536 GET /source-storage/records snapshotId=86e13bd9-6da3-4572-a371-21bca76e1662&orderBy=order&limit=1000 HTTP_1_1 200 817787 115 tid=diku OK 05:54:07.854 [vert.x-eventloop-thread-0] INFO LogUtil [16045822eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSnapshots 05:54:07.855 [vert.x-eventloop-thread-0] INFO LogUtil [16045823eqId] 10.36.1.197:54536 POST /source-storage/snapshots HTTP_1_1 201 336 5 tid=diku Created 05:54:10.488 [vert.x-eventloop-thread-0] INFO LogUtil [16048456eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:54:10.489 [vert.x-eventloop-thread-0] INFO LogUtil [16048457eqId] 10.36.1.197:54536 PUT /source-storage/snapshots/5a831a58-0b26-4643-b8c9-7f29d586ebe2 HTTP_1_1 200 346 3 tid=diku OK 05:54:14.485 [vert.x-eventloop-thread-0] INFO LogUtil [16052453eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:54:14.486 [vert.x-eventloop-thread-0] INFO LogUtil [16052454eqId] 10.36.1.197:54536 PUT /source-storage/snapshots/5a831a58-0b26-4643-b8c9-7f29d586ebe2 HTTP_1_1 200 412 3 tid=diku OK 05:54:14.824 [vert.x-eventloop-thread-0] INFO LogUtil [16052792eqId] org.folio.rest.RestVerticle start invoking postSourceStorageBatchRecords 05:54:14.840 [vert.x-eventloop-thread-0] INFO LogUtil [16052808eqId] 10.36.1.197:54536 POST /source-storage/batch/records HTTP_1_1 201 938019 207 tid=diku Created 05:54:16.527 [vert.x-eventloop-thread-0] INFO LogUtil [16054495eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:54:16.528 [vert.x-eventloop-thread-0] INFO LogUtil [16054496eqId] 10.36.1.197:54656 PUT /source-storage/snapshots/5a831a58-0b26-4643-b8c9-7f29d586ebe2 HTTP_1_1 200 342 7 tid=diku OK 05:54:16.532 [vert.x-eventloop-thread-0] INFO LogUtil [16054500eqId] org.folio.rest.RestVerticle start invoking putSourceStorageBatchParsedRecords 05:54:16.547 [vert.x-eventloop-thread-0] INFO LogUtil [16054515eqId] 10.36.1.197:54536 PUT /source-storage/batch/parsed-records HTTP_1_1 200 549339 107 tid=diku OK 05:54:16.551 [vert.x-eventloop-thread-0] INFO LogUtil [16054519eqId] org.folio.rest.RestVerticle start invoking putSourceStorageSnapshotsByJobExecutionId 05:54:16.552 [vert.x-eventloop-thread-0] INFO LogUtil [16054520eqId] 10.36.1.197:54656 PUT /source-storage/snapshots/5a831a58-0b26-4643-b8c9-7f29d586ebe2 HTTP_1_1 200 342 3 tid=diku OK 05:54:24.940 [vert.x-eventloop-thread-0] INFO LogUtil [16062908eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecords 05:54:24.963 [vert.x-eventloop-thread-0] INFO LogUtil [16062931eqId] 10.36.1.197:54656 GET /source-storage/records snapshotId=5a831a58-0b26-4643-b8c9-7f29d586ebe2&orderBy=order&limit=1000 HTTP_1_1 200 817790 94 tid=diku OK 06:20:15.665 [vert.x-eventloop-thread-0] INFO LogUtil [17613633eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:20:15.674 [vert.x-eventloop-thread-0] INFO LogUtil [17613642eqId] 10.36.1.197:55828 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 540343 48 tid=diku OK 06:20:42.636 [vert.x-eventloop-thread-0] INFO LogUtil [17640604eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:20:42.643 [vert.x-eventloop-thread-0] INFO LogUtil [17640611eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=50& HTTP_1_1 200 671434 24 tid=diku OK 06:21:21.892 [vert.x-eventloop-thread-0] INFO LogUtil [17679860eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:21:21.904 [vert.x-eventloop-thread-0] INFO LogUtil [17679872eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 32 tid=diku OK 06:21:37.292 [vert.x-eventloop-thread-0] INFO LogUtil [17695260eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:21:37.303 [vert.x-eventloop-thread-0] INFO LogUtil [17695271eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 34 tid=diku OK 06:21:58.026 [vert.x-eventloop-thread-0] INFO LogUtil [17715994eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:21:58.036 [vert.x-eventloop-thread-0] INFO LogUtil [17716004eqId] 10.36.1.197:55828 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 1014203 33 tid=diku OK 06:22:23.143 [vert.x-eventloop-thread-0] INFO LogUtil [17741111eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:22:23.146 [vert.x-eventloop-thread-0] INFO LogUtil [17741114eqId] 10.36.1.197:55828 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 241173 10 tid=diku OK 06:23:12.328 [vert.x-eventloop-thread-0] INFO LogUtil [17790296eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:23:12.339 [vert.x-eventloop-thread-0] INFO LogUtil [17790307eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 35 tid=diku OK 06:23:28.473 [vert.x-eventloop-thread-0] INFO LogUtil [17806441eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:23:28.496 [vert.x-eventloop-thread-0] INFO LogUtil [17806464eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 39 tid=diku OK 06:23:40.279 [vert.x-eventloop-thread-0] INFO LogUtil [17818247eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:23:40.305 [vert.x-eventloop-thread-0] INFO LogUtil [17818273eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 41 tid=diku OK 06:23:47.094 [vert.x-eventloop-thread-0] INFO LogUtil [17825062eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:23:47.120 [vert.x-eventloop-thread-0] INFO LogUtil [17825088eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 41 tid=diku OK 06:24:22.806 [vert.x-eventloop-thread-0] INFO LogUtil [17860774eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:24:22.830 [vert.x-eventloop-thread-0] INFO LogUtil [17860798eqId] 10.36.1.197:55828 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 39 tid=diku OK 06:26:26.075 [vert.x-eventloop-thread-0] INFO LogUtil [17984043eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:26:26.224 [vert.x-eventloop-thread-0] INFO LogUtil [17984192eqId] 10.36.1.197:56296 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 164 tid=diku OK 06:26:26.388 [vert.x-eventloop-thread-0] INFO LogUtil [17984356eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:26:26.389 [vert.x-eventloop-thread-0] INFO LogUtil [17984357eqId] 10.36.1.197:56296 GET /source-storage/source-records instanceId=0204ba02-2f8f-4508-ac7a-fbfc494352c6&recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 23795 6 tid=diku OK 06:26:26.515 [vert.x-eventloop-thread-0] INFO LogUtil [17984483eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:26:26.539 [vert.x-eventloop-thread-0] INFO LogUtil [17984507eqId] 10.36.1.197:56296 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 38 tid=diku OK 06:26:26.959 [vert.x-eventloop-thread-0] INFO LogUtil [17984927eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:26:26.960 [vert.x-eventloop-thread-0] INFO LogUtil [17984928eqId] 10.36.1.197:56296 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&updatedAfter=2020-06-26T05:42:30&updatedBefore=2020-06-26T05:42:30&offset=0&limit=100& HTTP_1_1 200 49 12 tid=diku OK 06:26:28.546 [vert.x-eventloop-thread-0] INFO LogUtil [17986514eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:26:28.547 [vert.x-eventloop-thread-0] INFO LogUtil [17986515eqId] 10.36.1.197:56296 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&updatedBefore=1969-01-01T00:00:00&offset=0&limit=100& HTTP_1_1 200 49 5 tid=diku OK 06:26:28.864 [vert.x-eventloop-thread-0] INFO LogUtil [17986832eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:26:28.891 [vert.x-eventloop-thread-0] INFO LogUtil [17986859eqId] 10.36.1.197:56296 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=100& HTTP_1_1 200 1255327 41 tid=diku OK 06:41:46.980 [vert.x-eventloop-thread-0] INFO LogUtil [18904948eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:41:46.982 [vert.x-eventloop-thread-0] INFO LogUtil [18904950eqId] 10.36.1.197:57116 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35353 10 tid=diku OK 06:41:53.488 [vert.x-eventloop-thread-0] INFO LogUtil [18911456eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:41:53.490 [vert.x-eventloop-thread-0] INFO LogUtil [18911458eqId] 10.36.1.197:57116 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35353 8 tid=diku OK 06:42:02.181 [vert.x-eventloop-thread-0] INFO LogUtil [18920149eqId] org.folio.rest.RestVerticle start invoking putSourceStorageRecordsSuppressFromDiscoveryById 06:42:02.182 [vert.x-eventloop-thread-0] INFO LogUtil [18920150eqId] 10.36.1.197:57116 PUT /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/suppress-from-discovery idType=INSTANCE&suppress=true& HTTP_1_1 200 4 12 tid=diku OK 06:42:03.907 [vert.x-eventloop-thread-0] INFO LogUtil [18921875eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:42:03.909 [vert.x-eventloop-thread-0] INFO LogUtil [18921877eqId] 10.36.1.197:57116 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35352 7 tid=diku OK 06:42:19.625 [vert.x-eventloop-thread-0] INFO LogUtil [18937593eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:42:19.634 [vert.x-eventloop-thread-0] INFO LogUtil [18937602eqId] 10.36.1.197:57116 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 1005129 31 tid=diku OK 06:42:47.542 [vert.x-eventloop-thread-0] INFO LogUtil [18965510eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:42:47.544 [vert.x-eventloop-thread-0] INFO LogUtil [18965512eqId] 10.36.1.197:57116 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35352 7 tid=diku OK 06:42:52.482 [vert.x-eventloop-thread-0] INFO LogUtil [18970450eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:42:52.484 [vert.x-eventloop-thread-0] INFO LogUtil [18970452eqId] 10.36.1.197:57116 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35352 8 tid=diku OK 06:42:56.899 [vert.x-eventloop-thread-0] INFO LogUtil [18974867eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecordsById 06:42:56.900 [vert.x-eventloop-thread-0] INFO LogUtil [18974868eqId] 10.36.1.197:57116 GET /source-storage/source-records/0204ba02-2f8f-4508-ac7a-fbfc494352c6 idType=INSTANCE& HTTP_1_1 200 29557 4 tid=diku OK 06:43:08.604 [vert.x-eventloop-thread-0] INFO LogUtil [18986572eqId] org.folio.rest.RestVerticle start invoking postSourceStorageHandlersUpdatedRecord 06:43:08.604 [vert.x-eventloop-thread-0] INFO LogUtil [18986572eqId] 10.36.1.197:57116 POST /source-storage/handlers/updated-record null HTTP_1_1 204 0 8 tid=diku No Content 06:43:10.135 [vert.x-eventloop-thread-0] INFO LogUtil [18988103eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:43:10.137 [vert.x-eventloop-thread-0] INFO LogUtil [18988105eqId] 10.36.1.197:57116 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35351 7 tid=diku OK 06:43:27.143 [vert.x-eventloop-thread-0] INFO LogUtil [19005111eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:43:27.164 [vert.x-eventloop-thread-0] INFO LogUtil [19005132eqId] 10.36.1.197:57116 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 1005129 35 tid=diku OK 06:43:52.131 [vert.x-eventloop-thread-0] INFO LogUtil [19030099eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:43:52.142 [vert.x-eventloop-thread-0] INFO LogUtil [19030110eqId] 10.36.1.197:57116 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 1231580 28 tid=diku OK 06:44:01.238 [vert.x-eventloop-thread-0] INFO LogUtil [19039206eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:44:01.249 [vert.x-eventloop-thread-0] INFO LogUtil [19039217eqId] 10.36.1.197:57116 POST /source-storage/source-records idType=INSTANCE&deleted=true& HTTP_1_1 200 1231580 30 tid=diku OK 06:45:05.922 [vert.x-eventloop-thread-0] INFO LogUtil [19103890eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:45:05.933 [vert.x-eventloop-thread-0] INFO LogUtil [19103901eqId] 10.36.1.197:57400 GET /source-storage/source-records recordType=MARC&suppressFromDiscovery=false&deleted=true&offset=0&limit=150& HTTP_1_1 200 1231580 28 tid=diku OK 06:48:04.927 [vert.x-eventloop-thread-0] INFO LogUtil [19282895eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:48:04.930 [vert.x-eventloop-thread-0] INFO LogUtil [19282898eqId] 10.36.1.197:57514 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35351 7 tid=diku OK 06:48:09.512 [vert.x-eventloop-thread-0] INFO LogUtil [19287480eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:48:09.517 [vert.x-eventloop-thread-0] INFO LogUtil [19287485eqId] 10.36.1.197:57514 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35351 10 tid=diku OK 06:48:17.251 [vert.x-eventloop-thread-0] INFO LogUtil [19295219eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:48:17.253 [vert.x-eventloop-thread-0] INFO LogUtil [19295221eqId] 10.36.1.197:57514 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35351 7 tid=diku OK 06:48:31.808 [vert.x-eventloop-thread-0] INFO LogUtil [19309776eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:48:31.813 [vert.x-eventloop-thread-0] INFO LogUtil [19309781eqId] 10.36.1.197:57514 GET /source-storage/source-records HTTP_1_1 200 151600 10 tid=diku OK 06:48:54.048 [vert.x-eventloop-thread-0] INFO LogUtil [19332016eqId] org.folio.rest.RestVerticle start invoking getSourceStorageSourceRecords 06:48:54.089 [vert.x-eventloop-thread-0] INFO LogUtil [19332057eqId] 10.36.1.197:57514 GET /source-storage/source-records limit=100 HTTP_1_1 200 1255326 56 tid=diku OK 06:49:35.239 [vert.x-eventloop-thread-0] INFO LogUtil [19373207eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:49:35.241 [vert.x-eventloop-thread-0] INFO LogUtil [19373209eqId] 10.36.1.197:57514 POST /source-storage/source-records idType=INSTANCE HTTP_1_1 200 23794 5 tid=diku OK 06:50:04.914 [vert.x-eventloop-thread-0] INFO LogUtil [19402882eqId] org.folio.rest.RestVerticle start invoking deleteSourceStorageRecordsById 06:50:04.915 [vert.x-eventloop-thread-0] INFO LogUtil [19402883eqId] 10.36.1.197:57514 DELETE /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6 HTTP_1_1 404 67 6 tid=diku Not Found 06:50:38.047 [vert.x-eventloop-thread-0] INFO LogUtil [19436015eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:50:38.049 [vert.x-eventloop-thread-0] INFO LogUtil [19436017eqId] 10.36.1.197:57514 POST /source-storage/source-records HTTP_1_1 200 49 4 tid=diku OK 06:50:54.459 [vert.x-eventloop-thread-0] INFO LogUtil [19452427eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSourceRecords 06:50:54.461 [vert.x-eventloop-thread-0] INFO LogUtil [19452429eqId] 10.36.1.197:57514 POST /source-storage/source-records idType=INSTANCE HTTP_1_1 200 23794 5 tid=diku OK 06:51:14.499 [vert.x-eventloop-thread-0] INFO LogUtil [19472467eqId] org.folio.rest.RestVerticle start invoking deleteSourceStorageRecordsById 06:51:14.500 [vert.x-eventloop-thread-0] INFO LogUtil [19472468eqId] 10.36.1.197:57514 DELETE /source-storage/records/3051cc67-b4f2-4595-9617-6e65e5f3dce9 HTTP_1_1 404 67 3 tid=diku Not Found 06:51:30.482 [vert.x-eventloop-thread-0] INFO LogUtil [19488450eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:51:30.485 [vert.x-eventloop-thread-0] INFO LogUtil [19488453eqId] 10.36.1.197:57514 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35351 7 tid=diku OK 06:51:34.542 [vert.x-eventloop-thread-0] INFO LogUtil [19492510eqId] org.folio.rest.RestVerticle start invoking getSourceStorageRecordsFormattedById 06:51:34.545 [vert.x-eventloop-thread-0] INFO LogUtil [19492513eqId] 10.36.1.197:57514 GET /source-storage/records/0204ba02-2f8f-4508-ac7a-fbfc494352c6/formatted idType=INSTANCE HTTP_1_1 200 35351 7 tid=diku OK 06:51:47.046 [vert.x-eventloop-thread-0] INFO LogUtil [19505014eqId] org.folio.rest.RestVerticle start invoking deleteSourceStorageRecordsById 06:51:47.047 [vert.x-eventloop-thread-0] INFO LogUtil [19505015eqId] 10.36.1.197:57514 DELETE /source-storage/records/8d869935-c7b2-48c5-8cb0-921c241b9db4 HTTP_1_1 404 67 7 tid=diku Not Found 06:51:56.339 [vert.x-eventloop-thread-0] INFO LogUtil [19514307eqId] org.folio.rest.RestVerticle start invoking deleteSourceStorageRecordsById 06:51:56.340 [vert.x-eventloop-thread-0] INFO LogUtil [19514308eqId] 10.36.1.197:57514 DELETE /source-storage/records/8d869935-c7b2-48c5-8cb0-921c241b9db4 HTTP_1_1 404 67 6 tid=diku Not Found 06:52:08.633 [vert.x-eventloop-thread-0] INFO LogUtil [19526601eqId] org.folio.rest.RestVerticle start invoking deleteSourceStorageRecordsById 06:52:08.634 [vert.x-eventloop-thread-0] INFO LogUtil [19526602eqId] 10.36.1.197:57514 DELETE /source-storage/records/8d869935-c7b2-48c5-8cb0-921c241b9db4 HTTP_1_1 404 67 6 tid=diku Not Found 06:52:26.663 [vert.x-eventloop-thread-0] INFO LogUtil [19544631eqId] org.folio.rest.RestVerticle start invoking deleteSourceStorageRecordsById 06:52:26.664 [vert.x-eventloop-thread-0] INFO LogUtil [19544632eqId] 10.36.1.197:57514 DELETE /source-storage/records/8d869935-c7b2-48c5-8cb0-921c241b9db4 HTTP_1_1 404 67 5 tid=diku Not Found 07:05:05.620 [vert.x-eventloop-thread-0] INFO LogUtil [20303588eqId] 10.36.1.197:58160 GET / null HTTP_1_1 400 28 -1 tid=null Bad Request Invalid URL path requested / 08:27:58.650 [vert.x-eventloop-thread-0] INFO TenantAPI [25276618eqId] sending... postTenant for test_invoices31 08:27:58.690 [vert.x-eventloop-thread-0] INFO PostgresClient [25276658eqId] Executing multiple statements with id -525682612 08:27:58.695 [vert.x-worker-thread-3] INFO PostgresClient [25276663eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 08:27:58.696 [vert.x-worker-thread-3] INFO PostgresClient [25276664eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 08:27:58.696 [vert.x-worker-thread-3] INFO PostgresClient [25276664eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 08:27:58.696 [vert.x-worker-thread-3] INFO PostgresClient [25276664eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 08:27:58.696 [vert.x-worker-thread-3] INFO PostgresClient [25276664eqId] trying to execute: CREATE ROLE test_invoices31_mod_source_record_storage PASSWORD 'test_invoices31' NOSUPERUSER NOCREATEDB INHERIT LOGIN 08:27:58.697 [vert.x-worker-thread-3] INFO PostgresClient [25276665eqId] Successfully executed: CREATE ROLE test_invoices31_mod_source_record_storage PASSWORD 'test_invoices31' NOSUPERUSER NOCREATEDB INHERIT LOGIN 08:27:58.697 [vert.x-worker-thread-3] INFO PostgresClient [25276665eqId] trying to execute: GRANT test_invoices31_mod_source_record_storage TO CURRENT_USER 08:27:58.697 [vert.x-worker-thread-3] INFO PostgresClient [25276665eqId] Successfully executed: GRANT test_invoices31_mod_source_record_storage TO CURRENT_USER 08:27:58.698 [vert.x-worker-thread-3] INFO PostgresClient [25276666eqId] trying to execute: CREATE SCHEMA test_invoices31_mod_source_record_storage AUTHORIZATION test_invoices31_mod_source_record_storage 08:27:58.698 [vert.x-worker-thread-3] INFO PostgresClient [25276666eqId] Successfully executed: CREATE SCHEMA test_invoices31_mod_source_record_storage AUTHORIZATION test_invoices31_mod_source_record_storage 08:27:58.698 [vert.x-worker-thread-3] INFO PostgresClient [25276666eqId] trying to execute: ALTER ROLE test_invoices31_mod_source_record_storage SET search_path = "$user" 08:27:58.699 [vert.x-worker-thread-3] INFO PostgresClient [25276667eqId] Successfully executed: ALTER ROLE test_invoices31_mod_source_record_storage SET search_path = "$user" 08:27:58.699 [vert.x-worker-thread-3] INFO PostgresClient [25276667eqId] trying to execute: SET search_path TO test_invoices31_mod_source_record_storage 08:27:58.699 [vert.x-worker-thread-3] INFO PostgresClient [25276667eqId] Successfully executed: SET search_path TO test_invoices31_mod_source_record_storage 08:27:58.699 [vert.x-worker-thread-3] INFO PostgresClient [25276667eqId] trying to execute: CREATE TABLE IF NOT EXISTS test_invoices31_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 08:27:58.707 [vert.x-worker-thread-3] INFO PostgresClient [25276675eqId] Successfully executed: CREATE TABLE IF NOT EXISTS test_invoices31_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 08:27:58.707 [vert.x-worker-thread-3] INFO PostgresClient [25276675eqId] trying to execute: insert into test_invoices31_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 08:27:58.708 [vert.x-worker-thread-3] INFO PostgresClient [25276676eqId] Successfully executed: insert into test_invoices31_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 08:27:58.708 [vert.x-worker-thread-3] INFO PostgresClient [25276676eqId] trying to execute: CREATE TABLE IF NOT EXISTS test_invoices31_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 08:27:58.714 [vert.x-worker-thread-3] INFO PostgresClient [25276682eqId] Successfully executed: CREATE TABLE IF NOT EXISTS test_invoices31_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 08:27:58.714 [vert.x-worker-thread-3] INFO PostgresClient [25276682eqId] trying to execute: UPDATE test_invoices31_mod_source_record_storage.rmb_internal_index SET remove = TRUE 08:27:58.714 [vert.x-worker-thread-3] INFO PostgresClient [25276682eqId] Successfully executed: UPDATE test_invoices31_mod_source_record_storage.rmb_internal_index SET remove = TRUE 08:27:58.714 [vert.x-worker-thread-3] INFO PostgresClient [25276682eqId] trying to execute: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 08:27:58.717 [vert.x-worker-thread-3] INFO PostgresClient [25276685eqId] Successfully executed: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 08:27:58.717 [vert.x-worker-thread-3] INFO PostgresClient [25276685eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:27:58.719 [vert.x-worker-thread-3] INFO PostgresClient [25276687eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:27:58.719 [vert.x-worker-thread-3] INFO PostgresClient [25276687eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:27:58.720 [vert.x-worker-thread-3] INFO PostgresClient [25276688eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:27:58.720 [vert.x-worker-thread-3] INFO PostgresClient [25276688eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0'; 08:27:58.721 [vert.x-worker-thread-3] INFO PostgresClient [25276689eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' 08:27:58.721 [vert.x-worker-thread-3] INFO PostgresClient [25276689eqId] trying to execute: CREATE AGGREGATE test_invoices31_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = test_invoices31_mod_source_record_storage.uuid_larger, combinefunc = test_invoices31_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 08:27:58.722 [vert.x-worker-thread-3] INFO PostgresClient [25276690eqId] Successfully executed: CREATE AGGREGATE test_invoices31_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = test_invoices31_mod_source_record_storage.uuid_larger, combinefunc = test_invoices31_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 08:27:58.722 [vert.x-worker-thread-3] INFO PostgresClient [25276690eqId] trying to execute: CREATE AGGREGATE test_invoices31_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = test_invoices31_mod_source_record_storage.uuid_smaller, combinefunc = test_invoices31_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 08:27:58.722 [vert.x-worker-thread-3] INFO PostgresClient [25276690eqId] Successfully executed: CREATE AGGREGATE test_invoices31_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = test_invoices31_mod_source_record_storage.uuid_smaller, combinefunc = test_invoices31_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 08:27:58.723 [vert.x-worker-thread-3] INFO PostgresClient [25276691eqId] trying to execute: DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 08:27:58.723 [vert.x-worker-thread-3] INFO PostgresClient [25276691eqId] Successfully executed: DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 08:27:58.723 [vert.x-worker-thread-3] INFO PostgresClient [25276691eqId] trying to execute: CREATE FUNCTION test_invoices31_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT 08:27:58.724 [vert.x-worker-thread-3] INFO PostgresClient [25276692eqId] Successfully executed: CREATE FUNCTION test_invoices31_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END 08:27:58.724 [vert.x-worker-thread-3] INFO PostgresClient [25276692eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = test_invoices31_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT 08:27:58.724 [vert.x-worker-thread-3] INFO PostgresClient [25276692eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = test_invoices31_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows 08:27:58.724 [vert.x-worker-thread-3] INFO PostgresClient [25276692eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_invoices31_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; IF est_count < 1000 THEN RETURN 1000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT 08:27:58.725 [vert.x-worker-thread-3] INFO PostgresClient [25276693eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_invoices31_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 08:27:58.725 [vert.x-worker-thread-3] INFO PostgresClient [25276693eqId] trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || E'\u0330\u0 08:27:58.726 [vert.x-worker-thread-3] INFO PostgresClient [25276694eqId] Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE 08:27:58.726 [vert.x-worker-thread-3] INFO PostgresClient [25276694eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.727 [vert.x-worker-thread-3] INFO PostgresClient [25276695eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, 08:27:58.727 [vert.x-worker-thread-3] INFO PostgresClient [25276695eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_invoices31_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.728 [vert.x-worker-thread-3] INFO PostgresClient [25276696eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_invoices31_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.728 [vert.x-worker-thread-3] INFO PostgresClient [25276696eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_invoices31_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.728 [vert.x-worker-thread-3] INFO PostgresClient [25276696eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_invoices31_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.728 [vert.x-worker-thread-3] INFO PostgresClient [25276696eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.729 [vert.x-worker-thread-3] INFO PostgresClient [25276697eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' 08:27:58.729 [vert.x-worker-thread-3] INFO PostgresClient [25276697eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 08:27:58.729 [vert.x-worker-thread-3] INFO PostgresClient [25276697eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices31_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 08:27:58.730 [vert.x-worker-thread-3] INFO PostgresClient [25276698eqId] trying to execute: create or replace function test_invoices31_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 08:27:58.730 [vert.x-worker-thread-3] INFO PostgresClient [25276698eqId] Successfully executed: create or replace function test_invoices31_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 08:27:58.730 [vert.x-worker-thread-3] INFO PostgresClient [25276698eqId] trying to execute: create or replace function test_invoices31_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.731 [vert.x-worker-thread-3] INFO PostgresClient [25276699eqId] Successfully executed: create or replace function test_invoices31_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.731 [vert.x-worker-thread-3] INFO PostgresClient [25276699eqId] trying to execute: create or replace function test_invoices31_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.731 [vert.x-worker-thread-3] INFO PostgresClient [25276699eqId] Successfully executed: create or replace function test_invoices31_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.731 [vert.x-worker-thread-3] INFO PostgresClient [25276699eqId] trying to execute: create or replace function test_invoices31_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.732 [vert.x-worker-thread-3] INFO PostgresClient [25276700eqId] Successfully executed: create or replace function test_invoices31_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.732 [vert.x-worker-thread-3] INFO PostgresClient [25276700eqId] trying to execute: create or replace function test_invoices31_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.732 [vert.x-worker-thread-3] INFO PostgresClient [25276700eqId] Successfully executed: create or replace function test_invoices31_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:27:58.732 [vert.x-worker-thread-3] INFO PostgresClient [25276700eqId] trying to execute: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM test_invoices31_mod_source_record_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_invoices31_mod_source_record_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_invoices31_mod_source_record_storage.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER INDEX I 08:27:58.733 [vert.x-worker-thread-3] INFO PostgresClient [25276701eqId] Successfully executed: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EX 08:27:58.733 [vert.x-worker-thread-3] INFO PostgresClient [25276701eqId] trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_invoices31_mod_source_record_storage 08:27:58.734 [vert.x-worker-thread-3] INFO PostgresClient [25276702eqId] Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_invoices31_mod_source_record_storage 08:27:58.734 [vert.x-worker-thread-3] INFO PostgresClient [25276702eqId] trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC 08:27:58.734 [vert.x-worker-thread-3] INFO PostgresClient [25276702eqId] Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC 08:27:58.734 [vert.x-worker-thread-3] INFO PostgresClient [25276702eqId] trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_invoices31_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 08:27:58.735 [vert.x-worker-thread-3] INFO PostgresClient [25276703eqId] Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_invoices31_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 08:27:58.735 [vert.x-worker-thread-3] INFO PostgresClient [25276703eqId] trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_invoices31_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'test_invoices31_mod_source_record_storage' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'test_invoices31_mod_source_record_storage.\1', 'g'); IF newindexdef <> i.indexdef THEN EXECUTE 'DROP INDEX ' || i.indexname; EXECUTE newindexdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; END IF; END LOOP; END $$ 08:27:58.735 [vert.x-worker-thread-3] INFO PostgresClient [25276703eqId] Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_invoices31_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'test_ 08:27:58.736 [vert.x-worker-thread-3] INFO PostgresClient [25276704eqId] trying to execute: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 08:27:58.736 [vert.x-worker-thread-3] INFO PostgresClient [25276704eqId] Successfully executed: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 08:27:58.736 [vert.x-worker-thread-3] INFO PostgresClient [25276704eqId] trying to execute: TRUNCATE rmb_internal_analyze 08:27:58.739 [vert.x-worker-thread-3] INFO PostgresClient [25276707eqId] Successfully executed: TRUNCATE rmb_internal_analyze 08:27:58.739 [vert.x-worker-thread-3] INFO PostgresClient [25276707eqId] trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_invoices31_mod_source_record_storage TO test_invoices31_mod_source_record_storage 08:27:58.741 [vert.x-worker-thread-3] INFO PostgresClient [25276709eqId] Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_invoices31_mod_source_record_storage TO test_invoices31_mod_source_record_storage 08:27:58.741 [vert.x-worker-thread-3] INFO PostgresClient [25276709eqId] trying to execute: UPDATE test_invoices31_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 08:27:58.742 [vert.x-worker-thread-3] INFO PostgresClient [25276710eqId] Successfully executed: UPDATE test_invoices31_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 08:27:58.743 [vert.x-worker-thread-3] INFO PostgresClient [25276711eqId] Successfully committed: -525682612 08:27:58.744 [vert.x-worker-thread-4] INFO LiquibaseUtil [25276712eqId] Initializing schema test_invoices31_mod_source_record_storage for tenant test_invoices31 08:27:58.744 [vert.x-worker-thread-4] INFO leConnectionProvider [25276712eqId] Attempting to get connection for test_invoices31 08:27:58.744 [vert.x-worker-thread-4] INFO PostgresClient [25276712eqId] DB config read from environment variables 08:27:58.744 [vert.x-worker-thread-4] INFO PostgresClient [25276712eqId] Using schema: test_invoices31 08:27:58.745 [vert.x-worker-thread-4] INFO PostgresClient [25276713eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"test_invoices31_mod_source_record_storage","database":"okapi_modules","password":"..."} 08:27:58.751 [vert.x-worker-thread-4] INFO Slf4jLogger [25276719eqId] SELECT COUNT(*) FROM test_invoices31_mod_source_record_storage.databasechangeloglock 08:27:58.752 [vert.x-worker-thread-4] INFO Slf4jLogger [25276720eqId] CREATE TABLE test_invoices31_mod_source_record_storage.databasechangeloglock (ID INTEGER NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITHOUT TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT DATABASECHANGELOGLOCK_PKEY PRIMARY KEY (ID)) 08:27:58.757 [vert.x-worker-thread-4] INFO Slf4jLogger [25276725eqId] SELECT COUNT(*) FROM test_invoices31_mod_source_record_storage.databasechangeloglock 08:27:58.758 [vert.x-worker-thread-4] INFO Slf4jLogger [25276726eqId] DELETE FROM test_invoices31_mod_source_record_storage.databasechangeloglock 08:27:58.758 [vert.x-worker-thread-4] INFO Slf4jLogger [25276726eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangeloglock (ID, LOCKED) VALUES (1, FALSE) 08:27:58.759 [vert.x-worker-thread-4] INFO Slf4jLogger [25276727eqId] SELECT LOCKED FROM test_invoices31_mod_source_record_storage.databasechangeloglock WHERE ID=1 08:27:58.762 [vert.x-worker-thread-4] INFO Slf4jLogger [25276730eqId] Successfully acquired change log lock 08:27:59.796 [vert.x-worker-thread-4] INFO Slf4jLogger [25277764eqId] Creating database history table with name: test_invoices31_mod_source_record_storage.databasechangelog 08:27:59.797 [vert.x-worker-thread-4] INFO Slf4jLogger [25277765eqId] CREATE TABLE test_invoices31_mod_source_record_storage.databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10)) 08:27:59.802 [vert.x-worker-thread-4] INFO Slf4jLogger [25277770eqId] SELECT COUNT(*) FROM test_invoices31_mod_source_record_storage.databasechangelog 08:27:59.803 [vert.x-worker-thread-4] INFO Slf4jLogger [25277771eqId] Reading from test_invoices31_mod_source_record_storage.databasechangelog 08:27:59.803 [vert.x-worker-thread-4] INFO Slf4jLogger [25277771eqId] SELECT * FROM test_invoices31_mod_source_record_storage.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC 08:27:59.804 [vert.x-worker-thread-4] INFO Slf4jLogger [25277772eqId] SELECT COUNT(*) FROM test_invoices31_mod_source_record_storage.databasechangeloglock 08:27:59.851 [vert.x-worker-thread-4] INFO Slf4jLogger [25277819eqId] CREATE TYPE test_invoices31_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 08:27:59.852 [vert.x-worker-thread-4] INFO Slf4jLogger [25277820eqId] Custom SQL executed 08:27:59.853 [vert.x-worker-thread-4] INFO Slf4jLogger [25277821eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-00-create-job-execution-status::WilliamWelling ran successfully in 3ms 08:27:59.853 [vert.x-worker-thread-4] INFO Slf4jLogger [25277821eqId] SELECT MAX(ORDEREXECUTED) FROM test_invoices31_mod_source_record_storage.databasechangelog 08:27:59.854 [vert.x-worker-thread-4] INFO Slf4jLogger [25277822eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 1, '8:8e8e04b1ad5529af6eda38f90b7c9d0a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.856 [vert.x-worker-thread-4] INFO Slf4jLogger [25277824eqId] CREATE TABLE test_invoices31_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status TEST_INVOICES31_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 08:27:59.860 [vert.x-worker-thread-4] INFO Slf4jLogger [25277828eqId] Table snapshots_lb created 08:27:59.860 [vert.x-worker-thread-4] INFO Slf4jLogger [25277828eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-01-create-snapshots-table::WilliamWelling ran successfully in 4ms 08:27:59.861 [vert.x-worker-thread-4] INFO Slf4jLogger [25277829eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 2, '8:d67314b2507e00d8bddf113eed486cdb', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.862 [vert.x-worker-thread-4] INFO Slf4jLogger [25277830eqId] create function test_invoices31_mod_source_record_storage.update_snapshots_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 08:27:59.864 [vert.x-worker-thread-4] INFO Slf4jLogger [25277832eqId] Stored procedure created 08:27:59.865 [vert.x-worker-thread-4] INFO Slf4jLogger [25277833eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-02-create-update-snapshots-set-updated-date-function::WilliamWelling ran successfully in 3ms 08:27:59.865 [vert.x-worker-thread-4] INFO Slf4jLogger [25277833eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-02-create-update-snapshots-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 3, '8:7cfbdd1f8e904f87242f134270cd3553', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.867 [vert.x-worker-thread-4] INFO Slf4jLogger [25277835eqId] create trigger update_snapshots_set_updated_date before insert or update on test_invoices31_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices31_mod_source_record_storage.update_snapshots_set_updated_date() 08:27:59.867 [vert.x-worker-thread-4] INFO Slf4jLogger [25277835eqId] Custom SQL executed 08:27:59.868 [vert.x-worker-thread-4] INFO Slf4jLogger [25277836eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 08:27:59.869 [vert.x-worker-thread-4] INFO Slf4jLogger [25277837eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 4, '8:12ebe1e7b1b47f5adb909145eef0687c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.870 [vert.x-worker-thread-4] INFO Slf4jLogger [25277838eqId] create function test_invoices31_mod_source_record_storage.insert_snapshots_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 08:27:59.871 [vert.x-worker-thread-4] INFO Slf4jLogger [25277839eqId] Stored procedure created 08:27:59.871 [vert.x-worker-thread-4] INFO Slf4jLogger [25277839eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-04-create-insert-snapshots-set-created-date-function::WilliamWelling ran successfully in 1ms 08:27:59.872 [vert.x-worker-thread-4] INFO Slf4jLogger [25277840eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-04-create-insert-snapshots-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 5, '8:3cd2871f45a4d11bebf687ee288609fd', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.874 [vert.x-worker-thread-4] INFO Slf4jLogger [25277842eqId] create trigger insert_snapshots_set_created_date before insert or update on test_invoices31_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices31_mod_source_record_storage.insert_snapshots_set_created_date() 08:27:59.874 [vert.x-worker-thread-4] INFO Slf4jLogger [25277842eqId] Custom SQL executed 08:27:59.875 [vert.x-worker-thread-4] INFO Slf4jLogger [25277843eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger::WilliamWelling ran successfully in 2ms 08:27:59.876 [vert.x-worker-thread-4] INFO Slf4jLogger [25277844eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 6, '8:59b3b353e67c9d68981227f21f689910', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.877 [vert.x-worker-thread-4] INFO Slf4jLogger [25277845eqId] CREATE TYPE test_invoices31_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 08:27:59.878 [vert.x-worker-thread-4] INFO Slf4jLogger [25277846eqId] Custom SQL executed 08:27:59.879 [vert.x-worker-thread-4] INFO Slf4jLogger [25277847eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-00-create-record-type::WilliamWelling ran successfully in 2ms 08:27:59.879 [vert.x-worker-thread-4] INFO Slf4jLogger [25277847eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 7, '8:434b916bceb03187bc008b0756275d28', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.881 [vert.x-worker-thread-4] INFO Slf4jLogger [25277849eqId] CREATE TYPE test_invoices31_mod_source_record_storage.record_state_type AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 08:27:59.882 [vert.x-worker-thread-4] INFO Slf4jLogger [25277850eqId] Custom SQL executed 08:27:59.882 [vert.x-worker-thread-4] INFO Slf4jLogger [25277850eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 08:27:59.883 [vert.x-worker-thread-4] INFO Slf4jLogger [25277851eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 8, '8:35df5e5bb6839fd7eae9ed3b2a854f2e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.885 [vert.x-worker-thread-4] INFO Slf4jLogger [25277853eqId] CREATE TABLE test_invoices31_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshotid UUID NOT NULL, matchedid UUID NOT NULL, generation INTEGER NOT NULL, recordtype TEST_INVOICES31_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instanceid UUID, state TEST_INVOICES31_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE_TYPE NOT NULL, orderinfile INTEGER, suppressdiscovery BOOLEAN, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 08:27:59.888 [vert.x-worker-thread-4] INFO Slf4jLogger [25277856eqId] Table records_lb created 08:27:59.889 [vert.x-worker-thread-4] INFO Slf4jLogger [25277857eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-02-create-records-table::WilliamWelling ran successfully in 5ms 08:27:59.889 [vert.x-worker-thread-4] INFO Slf4jLogger [25277857eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 9, '8:bfaf9af83ccb21447180b986d177ae84', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.891 [vert.x-worker-thread-4] INFO Slf4jLogger [25277859eqId] ALTER TABLE test_invoices31_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshotid) REFERENCES test_invoices31_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:27:59.892 [vert.x-worker-thread-4] INFO Slf4jLogger [25277860eqId] Foreign key constraint added to records_lb (snapshotid) 08:27:59.893 [vert.x-worker-thread-4] INFO Slf4jLogger [25277861eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 2ms 08:27:59.894 [vert.x-worker-thread-4] INFO Slf4jLogger [25277862eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 10, '8:6e9f60a07f6e6d9dd450c9e9f1ff4653', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.895 [vert.x-worker-thread-4] INFO Slf4jLogger [25277863eqId] ALTER TABLE test_invoices31_mod_source_record_storage.records_lb ALTER COLUMN suppressdiscovery SET DEFAULT FALSE 08:27:59.896 [vert.x-worker-thread-4] INFO Slf4jLogger [25277864eqId] Default value added to records_lb.suppressdiscovery 08:27:59.897 [vert.x-worker-thread-4] INFO Slf4jLogger [25277865eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-04-set-records-suppressdiscovery-default::WilliamWelling ran successfully in 2ms 08:27:59.897 [vert.x-worker-thread-4] INFO Slf4jLogger [25277865eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-04-set-records-suppressdiscovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 11, '8:de48e5c88abf3ffd6685b630ff07b767', 'addDefaultValue columnName=suppressdiscovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.898 [vert.x-worker-thread-4] INFO Slf4jLogger [25277866eqId] CREATE INDEX idx_records_snapshotid ON test_invoices31_mod_source_record_storage.records_lb(snapshotid) 08:27:59.901 [vert.x-worker-thread-4] INFO Slf4jLogger [25277869eqId] Index idx_records_snapshotid created 08:27:59.902 [vert.x-worker-thread-4] INFO Slf4jLogger [25277870eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 08:27:59.902 [vert.x-worker-thread-4] INFO Slf4jLogger [25277870eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 12, '8:935a453c8b42207ef6e4a0358f6f1d81', 'createIndex indexName=idx_records_snapshotid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.903 [vert.x-worker-thread-4] INFO Slf4jLogger [25277871eqId] CREATE INDEX idx_records_instanceid ON test_invoices31_mod_source_record_storage.records_lb(instanceid) 08:27:59.906 [vert.x-worker-thread-4] INFO Slf4jLogger [25277874eqId] Index idx_records_instanceid created 08:27:59.907 [vert.x-worker-thread-4] INFO Slf4jLogger [25277875eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 08:27:59.907 [vert.x-worker-thread-4] INFO Slf4jLogger [25277875eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 13, '8:a388b114e66952a1e21cc4689e3ac4ec', 'createIndex indexName=idx_records_instanceid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.908 [vert.x-worker-thread-4] INFO Slf4jLogger [25277876eqId] CREATE UNIQUE INDEX idx_records_matchedid_gen ON test_invoices31_mod_source_record_storage.records_lb(matchedid, generation) 08:27:59.911 [vert.x-worker-thread-4] INFO Slf4jLogger [25277879eqId] Index idx_records_matchedid_gen created 08:27:59.912 [vert.x-worker-thread-4] INFO Slf4jLogger [25277880eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 4ms 08:27:59.912 [vert.x-worker-thread-4] INFO Slf4jLogger [25277880eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 14, '8:508934102053f76d56137b32c557d8b8', 'createIndex indexName=idx_records_matchedid_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.914 [vert.x-worker-thread-4] INFO Slf4jLogger [25277882eqId] CREATE INDEX idx_records_updateddate ON test_invoices31_mod_source_record_storage.records_lb(updateddate) 08:27:59.916 [vert.x-worker-thread-4] INFO Slf4jLogger [25277884eqId] Index idx_records_updateddate created 08:27:59.917 [vert.x-worker-thread-4] INFO Slf4jLogger [25277885eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-08-create-records-updateddate-index::WilliamWelling ran successfully in 3ms 08:27:59.918 [vert.x-worker-thread-4] INFO Slf4jLogger [25277886eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-08-create-records-updateddate-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 15, '8:3c18b0f6b32cdd0b9e55cdd1ae0c0e63', 'createIndex indexName=idx_records_updateddate, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.919 [vert.x-worker-thread-4] INFO Slf4jLogger [25277887eqId] CREATE INDEX idx_records_matchedid_state ON test_invoices31_mod_source_record_storage.records_lb(matchedid, state) 08:27:59.922 [vert.x-worker-thread-4] INFO Slf4jLogger [25277890eqId] Index idx_records_matchedid_state created 08:27:59.923 [vert.x-worker-thread-4] INFO Slf4jLogger [25277891eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-09-create-records-matchedid-state-index::WilliamWelling ran successfully in 4ms 08:27:59.927 [vert.x-worker-thread-4] INFO Slf4jLogger [25277895eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-09-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 16, '8:3ce2a294bcb2e09e8019f65fda71c2ee', 'createIndex indexName=idx_records_matchedid_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.929 [vert.x-worker-thread-4] INFO Slf4jLogger [25277897eqId] create function test_invoices31_mod_source_record_storage.update_records_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 08:27:59.929 [vert.x-worker-thread-4] INFO Slf4jLogger [25277897eqId] Stored procedure created 08:27:59.930 [vert.x-worker-thread-4] INFO Slf4jLogger [25277898eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-10-create-update-records-set-updated-date-function::WilliamWelling ran successfully in 2ms 08:27:59.930 [vert.x-worker-thread-4] INFO Slf4jLogger [25277898eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-10-create-update-records-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 17, '8:fb910211b93823d1fca36637a79e12a0', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.932 [vert.x-worker-thread-4] INFO Slf4jLogger [25277900eqId] create trigger update_records_set_updated_date before insert or update on test_invoices31_mod_source_record_storage.records_lb for each row execute procedure test_invoices31_mod_source_record_storage.update_records_set_updated_date() 08:27:59.932 [vert.x-worker-thread-4] INFO Slf4jLogger [25277900eqId] Custom SQL executed 08:27:59.934 [vert.x-worker-thread-4] INFO Slf4jLogger [25277902eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-11-create-update-records-set-updated-date-trigger::WilliamWelling ran successfully in 1ms 08:27:59.934 [vert.x-worker-thread-4] INFO Slf4jLogger [25277902eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-11-create-update-records-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 18, '8:50d11762b13d6724f6a19e50150aae8b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.935 [vert.x-worker-thread-4] INFO Slf4jLogger [25277903eqId] create function test_invoices31_mod_source_record_storage.insert_records_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 08:27:59.936 [vert.x-worker-thread-4] INFO Slf4jLogger [25277904eqId] Stored procedure created 08:27:59.937 [vert.x-worker-thread-4] INFO Slf4jLogger [25277905eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-12-create-insert-records-set-created-date-function::WilliamWelling ran successfully in 2ms 08:27:59.937 [vert.x-worker-thread-4] INFO Slf4jLogger [25277905eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-12-create-insert-records-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 19, '8:83dc572d2ca0d8cbf802c634331f40ae', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.939 [vert.x-worker-thread-4] INFO Slf4jLogger [25277907eqId] create trigger insert_records_set_created_date before insert or update on test_invoices31_mod_source_record_storage.records_lb for each row execute procedure test_invoices31_mod_source_record_storage.insert_records_set_created_date() 08:27:59.940 [vert.x-worker-thread-4] INFO Slf4jLogger [25277908eqId] Custom SQL executed 08:27:59.941 [vert.x-worker-thread-4] INFO Slf4jLogger [25277909eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-13-create-insert-records-set-created-date-trigger::WilliamWelling ran successfully in 2ms 08:27:59.941 [vert.x-worker-thread-4] INFO Slf4jLogger [25277909eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-13-create-insert-records-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 20, '8:1ebb60107fa49e9756caa76656629257', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.943 [vert.x-worker-thread-4] INFO Slf4jLogger [25277911eqId] CREATE TABLE test_invoices31_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:27:59.949 [vert.x-worker-thread-4] INFO Slf4jLogger [25277917eqId] Table raw_records_lb created 08:27:59.950 [vert.x-worker-thread-4] INFO Slf4jLogger [25277918eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-00-create-raw-records-table::WilliamWelling ran successfully in 8ms 08:27:59.950 [vert.x-worker-thread-4] INFO Slf4jLogger [25277918eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 21, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.952 [vert.x-worker-thread-4] INFO Slf4jLogger [25277920eqId] ALTER TABLE test_invoices31_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES test_invoices31_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:27:59.953 [vert.x-worker-thread-4] INFO Slf4jLogger [25277921eqId] Foreign key constraint added to raw_records_lb (id) 08:27:59.954 [vert.x-worker-thread-4] INFO Slf4jLogger [25277922eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 3ms 08:27:59.954 [vert.x-worker-thread-4] INFO Slf4jLogger [25277922eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 22, '8:f38d2da9e865be24e427c9a529342ffd', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.956 [vert.x-worker-thread-4] INFO Slf4jLogger [25277924eqId] CREATE TABLE test_invoices31_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:27:59.962 [vert.x-worker-thread-4] INFO Slf4jLogger [25277930eqId] Table marc_records_lb created 08:27:59.963 [vert.x-worker-thread-4] INFO Slf4jLogger [25277931eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 08:27:59.963 [vert.x-worker-thread-4] INFO Slf4jLogger [25277931eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 23, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.965 [vert.x-worker-thread-4] INFO Slf4jLogger [25277933eqId] ALTER TABLE test_invoices31_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES test_invoices31_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:27:59.966 [vert.x-worker-thread-4] INFO Slf4jLogger [25277934eqId] Foreign key constraint added to marc_records_lb (id) 08:27:59.967 [vert.x-worker-thread-4] INFO Slf4jLogger [25277935eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 3ms 08:27:59.967 [vert.x-worker-thread-4] INFO Slf4jLogger [25277935eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 24, '8:ef4011e02f5bdd51232d03689328f9d8', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.969 [vert.x-worker-thread-4] INFO Slf4jLogger [25277937eqId] CREATE TABLE test_invoices31_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content JSONB NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:27:59.974 [vert.x-worker-thread-4] INFO Slf4jLogger [25277942eqId] Table error_records_lb created 08:27:59.975 [vert.x-worker-thread-4] INFO Slf4jLogger [25277943eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 08:27:59.975 [vert.x-worker-thread-4] INFO Slf4jLogger [25277943eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 25, '8:68a49e6c5b8e9ef40437e9fd0dac384e', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.977 [vert.x-worker-thread-4] INFO Slf4jLogger [25277945eqId] ALTER TABLE test_invoices31_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES test_invoices31_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:27:59.978 [vert.x-worker-thread-4] INFO Slf4jLogger [25277946eqId] Foreign key constraint added to error_records_lb (id) 08:27:59.979 [vert.x-worker-thread-4] INFO Slf4jLogger [25277947eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 3ms 08:27:59.979 [vert.x-worker-thread-4] INFO Slf4jLogger [25277947eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 26, '8:baf72b37fbb210cfbabe4f782e071070', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.980 [vert.x-worker-thread-4] INFO Slf4jLogger [25277948eqId] create function test_invoices31_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from test_invoices31_mod_source_record_storage.records_lb rds where rds.matchedid = p_id and rds.state = 'ACTUAL') r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:27:59.981 [vert.x-worker-thread-4] INFO Slf4jLogger [25277949eqId] Stored procedure created 08:27:59.982 [vert.x-worker-thread-4] INFO Slf4jLogger [25277950eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-00-create-get-source-marc-record-by-id-function::WilliamWelling ran successfully in 2ms 08:27:59.983 [vert.x-worker-thread-4] INFO Slf4jLogger [25277951eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-00-create-get-source-marc-record-by-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 27, '8:ba327e97abd53919c9e6b2806d610739', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.984 [vert.x-worker-thread-4] INFO Slf4jLogger [25277952eqId] create function test_invoices31_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices31_mod_source_record_storage.records_lb rds where rds.matchedid = p_id) rr where generation = max_generation) r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:27:59.985 [vert.x-worker-thread-4] INFO Slf4jLogger [25277953eqId] Stored procedure created 08:27:59.986 [vert.x-worker-thread-4] INFO Slf4jLogger [25277954eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function::WilliamWelling ran successfully in 2ms 08:27:59.986 [vert.x-worker-thread-4] INFO Slf4jLogger [25277954eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 28, '8:02d5c170f7e029fae18711f8b42ab661', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.988 [vert.x-worker-thread-4] INFO Slf4jLogger [25277956eqId] create function test_invoices31_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from test_invoices31_mod_source_record_storage.records_lb rds where rds.instanceId = p_instanceId and rds.state = 'ACTUAL') r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:27:59.988 [vert.x-worker-thread-4] INFO Slf4jLogger [25277956eqId] Stored procedure created 08:27:59.989 [vert.x-worker-thread-4] INFO Slf4jLogger [25277957eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function::WilliamWelling ran successfully in 2ms 08:27:59.989 [vert.x-worker-thread-4] INFO Slf4jLogger [25277957eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 29, '8:41063e76bfe06014aeb577d49373edc1', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.991 [vert.x-worker-thread-4] INFO Slf4jLogger [25277959eqId] create function test_invoices31_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices31_mod_source_record_storage.records_lb rds where rds.instanceid = p_instanceId) rr where generation = max_generation) r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:27:59.992 [vert.x-worker-thread-4] INFO Slf4jLogger [25277960eqId] Stored procedure created 08:27:59.993 [vert.x-worker-thread-4] INFO Slf4jLogger [25277961eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function::WilliamWelling ran successfully in 2ms 08:27:59.993 [vert.x-worker-thread-4] INFO Slf4jLogger [25277961eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 30, '8:3d62d85eada69369965f63c3d4a115e4', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.995 [vert.x-worker-thread-4] INFO Slf4jLogger [25277963eqId] create function test_invoices31_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select id, matchedid from test_invoices31_mod_source_record_storage.records_lb where state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:27:59.996 [vert.x-worker-thread-4] INFO Slf4jLogger [25277964eqId] Stored procedure created 08:27:59.997 [vert.x-worker-thread-4] INFO Slf4jLogger [25277965eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-04-create-get-all-source-marc-records-function::WilliamWelling ran successfully in 2ms 08:27:59.997 [vert.x-worker-thread-4] INFO Slf4jLogger [25277965eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-04-create-get-all-source-marc-records-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 31, '8:ffb34dc789a87a76186d8eb5ec0cdf49', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:27:59.999 [vert.x-worker-thread-4] INFO Slf4jLogger [25277967eqId] create function test_invoices31_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select matchedid, id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices31_mod_source_record_storage.records_lb ) rr where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:27:59.999 [vert.x-worker-thread-4] INFO Slf4jLogger [25277967eqId] Stored procedure created 08:28:00.000 [vert.x-worker-thread-4] INFO Slf4jLogger [25277968eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-05-create-get-all-source-marc-records-alt-function::WilliamWelling ran successfully in 2ms 08:28:00.001 [vert.x-worker-thread-4] INFO Slf4jLogger [25277969eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-05-create-get-all-source-marc-records-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 32, '8:c2fca744d421da1f6bb4ea42086abbba', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.002 [vert.x-worker-thread-4] INFO Slf4jLogger [25277970eqId] create function test_invoices31_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from test_invoices31_mod_source_record_storage.records_lb where updateddate between p_from and p_till and state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:28:00.003 [vert.x-worker-thread-4] INFO Slf4jLogger [25277971eqId] Stored procedure created 08:28:00.004 [vert.x-worker-thread-4] INFO Slf4jLogger [25277972eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-06-create-get-source-marc-records-for-period::WilliamWelling ran successfully in 2ms 08:28:00.004 [vert.x-worker-thread-4] INFO Slf4jLogger [25277972eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-06-create-get-source-marc-records-for-period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 33, '8:c5f6009586b4e8e2d1f9188653873f50', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.006 [vert.x-worker-thread-4] INFO Slf4jLogger [25277974eqId] create function test_invoices31_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from ( select id, matchedid, updateddate, generation, max(generation) over (partition by matchedid) max_generation from test_invoices31_mod_source_record_storage.records_lb where updateddate between p_from and p_till ) r where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join test_invoices31_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:28:00.007 [vert.x-worker-thread-4] INFO Slf4jLogger [25277975eqId] Stored procedure created 08:28:00.007 [vert.x-worker-thread-4] INFO Slf4jLogger [25277975eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-07-create-get-source-marc-records-for-period-alt::WilliamWelling ran successfully in 1ms 08:28:00.008 [vert.x-worker-thread-4] INFO Slf4jLogger [25277976eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-07-create-get-source-marc-records-for-period-alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 34, '8:9ba8574b1f84d226e7ba9fbbefe56584', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.009 [vert.x-worker-thread-4] INFO Slf4jLogger [25277977eqId] CREATE FUNCTION test_invoices31_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) RETURNS integer AS $generation$ DECLARE generation integer; BEGIN SELECT COALESCE(MAX(r.generation), 0) into generation FROM test_invoices31_mod_source_record_storage.records_lb r INNER JOIN test_invoices31_mod_source_record_storage.snapshots_lb s ON r.snapshotid = s.id WHERE r.matchedid = p_matchedid AND s.status = 'COMMITTED' AND s.updateddate < ( SELECT processing_started_date FROM test_invoices31_mod_source_record_storage.snapshots_lb WHERE id = p_snapshotid )::timestamptz; RETURN generation; END; $generation$ LANGUAGE plpgsql 08:28:00.010 [vert.x-worker-thread-4] INFO Slf4jLogger [25277978eqId] Stored procedure created 08:28:00.011 [vert.x-worker-thread-4] INFO Slf4jLogger [25277979eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml::2020-05-18--08-00-create-get-record-generation-function::WilliamWelling ran successfully in 2ms 08:28:00.011 [vert.x-worker-thread-4] INFO Slf4jLogger [25277979eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-05-18--08-00-create-get-record-generation-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml', NOW(), 35, '8:2419d7dc4189e3a7a5753123fc46d497', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.013 [vert.x-worker-thread-4] INFO Slf4jLogger [25277981eqId] DROP TABLE test_invoices31_mod_source_record_storage.error_records_lb 08:28:00.014 [vert.x-worker-thread-4] INFO Slf4jLogger [25277982eqId] Table error_records_lb dropped 08:28:00.015 [vert.x-worker-thread-4] INFO Slf4jLogger [25277983eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-00-drop-error-records-lb-table::WilliamWelling ran successfully in 3ms 08:28:00.016 [vert.x-worker-thread-4] INFO Slf4jLogger [25277984eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-00-drop-error-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 36, '8:f0027547c412a39f0e8dd21e9413250b', 'dropTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.017 [vert.x-worker-thread-4] INFO Slf4jLogger [25277985eqId] DROP TABLE test_invoices31_mod_source_record_storage.marc_records_lb 08:28:00.018 [vert.x-worker-thread-4] INFO Slf4jLogger [25277986eqId] Table marc_records_lb dropped 08:28:00.019 [vert.x-worker-thread-4] INFO Slf4jLogger [25277987eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-01-drop-marc-records-lb-table::WilliamWelling ran successfully in 2ms 08:28:00.020 [vert.x-worker-thread-4] INFO Slf4jLogger [25277988eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-01-drop-marc-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 37, '8:08a00ea4ec173c5b217b3c64116f4cea', 'dropTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.021 [vert.x-worker-thread-4] INFO Slf4jLogger [25277989eqId] DROP TABLE test_invoices31_mod_source_record_storage.raw_records_lb 08:28:00.022 [vert.x-worker-thread-4] INFO Slf4jLogger [25277990eqId] Table raw_records_lb dropped 08:28:00.024 [vert.x-worker-thread-4] INFO Slf4jLogger [25277992eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-02-drop-raw-records-lb-table::WilliamWelling ran successfully in 3ms 08:28:00.024 [vert.x-worker-thread-4] INFO Slf4jLogger [25277992eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-02-drop-raw-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 38, '8:d02a19e805bf3085b48d5b941ed9229b', 'dropTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.026 [vert.x-worker-thread-4] INFO Slf4jLogger [25277994eqId] DROP TABLE test_invoices31_mod_source_record_storage.records_lb 08:28:00.027 [vert.x-worker-thread-4] INFO Slf4jLogger [25277995eqId] Table records_lb dropped 08:28:00.029 [vert.x-worker-thread-4] INFO Slf4jLogger [25277997eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-03-drop-records-lb-table::WilliamWelling ran successfully in 3ms 08:28:00.029 [vert.x-worker-thread-4] INFO Slf4jLogger [25277997eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-03-drop-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 39, '8:3f05a948feb7a858f3c5af72b9686715', 'dropTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.030 [vert.x-worker-thread-4] INFO Slf4jLogger [25277998eqId] DROP TYPE test_invoices31_mod_source_record_storage.record_type 08:28:00.031 [vert.x-worker-thread-4] INFO Slf4jLogger [25277999eqId] Custom SQL executed 08:28:00.032 [vert.x-worker-thread-4] INFO Slf4jLogger [25278000eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-04-drop-record_type::WilliamWelling ran successfully in 2ms 08:28:00.032 [vert.x-worker-thread-4] INFO Slf4jLogger [25278000eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-04-drop-record_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 40, '8:ff1a443401aff20f365f639153eb59d7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.033 [vert.x-worker-thread-4] INFO Slf4jLogger [25278001eqId] DROP TYPE test_invoices31_mod_source_record_storage.record_state_type 08:28:00.034 [vert.x-worker-thread-4] INFO Slf4jLogger [25278002eqId] Custom SQL executed 08:28:00.034 [vert.x-worker-thread-4] INFO Slf4jLogger [25278002eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-05-drop-record_state_type::WilliamWelling ran successfully in 1ms 08:28:00.035 [vert.x-worker-thread-4] INFO Slf4jLogger [25278003eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-05-drop-record_state_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 41, '8:f8519a486fa6202f8768b142175bcb09', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.036 [vert.x-worker-thread-4] INFO Slf4jLogger [25278004eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.update_records_set_updated_date() 08:28:00.037 [vert.x-worker-thread-4] INFO Slf4jLogger [25278005eqId] Custom SQL executed 08:28:00.038 [vert.x-worker-thread-4] INFO Slf4jLogger [25278006eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-06-drop-update_records_set_updated_date::WilliamWelling ran successfully in 2ms 08:28:00.038 [vert.x-worker-thread-4] INFO Slf4jLogger [25278006eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-06-drop-update_records_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 42, '8:07551951712b407362c24b1c6d54aab8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.039 [vert.x-worker-thread-4] INFO Slf4jLogger [25278007eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.insert_records_set_created_date() 08:28:00.040 [vert.x-worker-thread-4] INFO Slf4jLogger [25278008eqId] Custom SQL executed 08:28:00.041 [vert.x-worker-thread-4] INFO Slf4jLogger [25278009eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-07-drop-insert_records_set_created_date::WilliamWelling ran successfully in 2ms 08:28:00.041 [vert.x-worker-thread-4] INFO Slf4jLogger [25278009eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-07-drop-insert_records_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 43, '8:e87cc25f805bb2ace11008c890c2c84d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.042 [vert.x-worker-thread-4] INFO Slf4jLogger [25278010eqId] DROP TABLE test_invoices31_mod_source_record_storage.snapshots_lb 08:28:00.043 [vert.x-worker-thread-4] INFO Slf4jLogger [25278011eqId] Table snapshots_lb dropped 08:28:00.044 [vert.x-worker-thread-4] INFO Slf4jLogger [25278012eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-08-drop-snapshots-lb-table::WilliamWelling ran successfully in 2ms 08:28:00.045 [vert.x-worker-thread-4] INFO Slf4jLogger [25278013eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-08-drop-snapshots-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 44, '8:3d3dbcd91303eb469198344dfade088e', 'dropTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.046 [vert.x-worker-thread-4] INFO Slf4jLogger [25278014eqId] DROP TYPE test_invoices31_mod_source_record_storage.job_execution_status 08:28:00.046 [vert.x-worker-thread-4] INFO Slf4jLogger [25278014eqId] Custom SQL executed 08:28:00.047 [vert.x-worker-thread-4] INFO Slf4jLogger [25278015eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-09-drop-job_execution_status::WilliamWelling ran successfully in 1ms 08:28:00.047 [vert.x-worker-thread-4] INFO Slf4jLogger [25278015eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-09-drop-job_execution_status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 45, '8:f4e0d763c09707a441b40586cbfa6cc1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.049 [vert.x-worker-thread-4] INFO Slf4jLogger [25278017eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.update_snapshots_set_updated_date() 08:28:00.049 [vert.x-worker-thread-4] INFO Slf4jLogger [25278017eqId] Custom SQL executed 08:28:00.050 [vert.x-worker-thread-4] INFO Slf4jLogger [25278018eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-10-drop-update_snapshots_set_updated_date::WilliamWelling ran successfully in 1ms 08:28:00.050 [vert.x-worker-thread-4] INFO Slf4jLogger [25278018eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-10-drop-update_snapshots_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 46, '8:2d39f991b8af9f6217b168f3d2be4d75', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.052 [vert.x-worker-thread-4] INFO Slf4jLogger [25278020eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.insert_snapshots_set_created_date() 08:28:00.052 [vert.x-worker-thread-4] INFO Slf4jLogger [25278020eqId] Custom SQL executed 08:28:00.053 [vert.x-worker-thread-4] INFO Slf4jLogger [25278021eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-11-drop-insert_snapshots_set_created_date::WilliamWelling ran successfully in 1ms 08:28:00.053 [vert.x-worker-thread-4] INFO Slf4jLogger [25278021eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-11-drop-insert_snapshots_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 47, '8:a375ddc95ef2ec16b809c6373a76434d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.055 [vert.x-worker-thread-4] INFO Slf4jLogger [25278023eqId] CREATE TYPE test_invoices31_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 08:28:00.056 [vert.x-worker-thread-4] INFO Slf4jLogger [25278024eqId] Custom SQL executed 08:28:00.057 [vert.x-worker-thread-4] INFO Slf4jLogger [25278025eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-00-create-job-execution-status::WilliamWelling ran successfully in 2ms 08:28:00.057 [vert.x-worker-thread-4] INFO Slf4jLogger [25278025eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 48, '8:8e8e04b1ad5529af6eda38f90b7c9d0a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.059 [vert.x-worker-thread-4] INFO Slf4jLogger [25278027eqId] CREATE TABLE test_invoices31_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status TEST_INVOICES31_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 08:28:00.062 [vert.x-worker-thread-4] INFO Slf4jLogger [25278030eqId] Table snapshots_lb created 08:28:00.063 [vert.x-worker-thread-4] INFO Slf4jLogger [25278031eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 08:28:00.064 [vert.x-worker-thread-4] INFO Slf4jLogger [25278032eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 49, '8:0834b56b0fb70823f50d470925094732', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.065 [vert.x-worker-thread-4] INFO Slf4jLogger [25278033eqId] create function test_invoices31_mod_source_record_storage.insert_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 08:28:00.065 [vert.x-worker-thread-4] INFO Slf4jLogger [25278033eqId] Stored procedure created 08:28:00.066 [vert.x-worker-thread-4] INFO Slf4jLogger [25278034eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-02-create-insert-snapshots-set-dates-function::WilliamWelling ran successfully in 1ms 08:28:00.067 [vert.x-worker-thread-4] INFO Slf4jLogger [25278035eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-02-create-insert-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 50, '8:5bf3c84a93d081a6f0fb2034dfdbcffa', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.069 [vert.x-worker-thread-4] INFO Slf4jLogger [25278037eqId] create trigger insert_snapshots_set_dates before insert on test_invoices31_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices31_mod_source_record_storage.insert_snapshots_set_dates() 08:28:00.069 [vert.x-worker-thread-4] INFO Slf4jLogger [25278037eqId] Custom SQL executed 08:28:00.070 [vert.x-worker-thread-4] INFO Slf4jLogger [25278038eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-03-create-insert-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 08:28:00.070 [vert.x-worker-thread-4] INFO Slf4jLogger [25278038eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-03-create-insert-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 51, '8:3d5d78d5d1522877d9ed52f49fba7b94', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.072 [vert.x-worker-thread-4] INFO Slf4jLogger [25278040eqId] create function test_invoices31_mod_source_record_storage.update_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 08:28:00.072 [vert.x-worker-thread-4] INFO Slf4jLogger [25278040eqId] Stored procedure created 08:28:00.073 [vert.x-worker-thread-4] INFO Slf4jLogger [25278041eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-04-create-update-snapshots-set-dates-function::WilliamWelling ran successfully in 2ms 08:28:00.073 [vert.x-worker-thread-4] INFO Slf4jLogger [25278041eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-04-create-update-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 52, '8:86f5056673b1e84a078201e0c8ab7856', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.075 [vert.x-worker-thread-4] INFO Slf4jLogger [25278043eqId] create trigger update_snapshots_set_dates before update on test_invoices31_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices31_mod_source_record_storage.update_snapshots_set_dates() 08:28:00.076 [vert.x-worker-thread-4] INFO Slf4jLogger [25278044eqId] Custom SQL executed 08:28:00.077 [vert.x-worker-thread-4] INFO Slf4jLogger [25278045eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-05-create-update-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 08:28:00.077 [vert.x-worker-thread-4] INFO Slf4jLogger [25278045eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-05-create-update-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 53, '8:21d34ad7d39d0d360b0741856d6eb603', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.078 [vert.x-worker-thread-4] INFO Slf4jLogger [25278046eqId] CREATE TYPE test_invoices31_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 08:28:00.079 [vert.x-worker-thread-4] INFO Slf4jLogger [25278047eqId] Custom SQL executed 08:28:00.080 [vert.x-worker-thread-4] INFO Slf4jLogger [25278048eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-00-create-record-type::WilliamWelling ran successfully in 2ms 08:28:00.080 [vert.x-worker-thread-4] INFO Slf4jLogger [25278048eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 54, '8:434b916bceb03187bc008b0756275d28', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.082 [vert.x-worker-thread-4] INFO Slf4jLogger [25278050eqId] CREATE TYPE test_invoices31_mod_source_record_storage.record_state AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 08:28:00.082 [vert.x-worker-thread-4] INFO Slf4jLogger [25278050eqId] Custom SQL executed 08:28:00.083 [vert.x-worker-thread-4] INFO Slf4jLogger [25278051eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 08:28:00.083 [vert.x-worker-thread-4] INFO Slf4jLogger [25278051eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 55, '8:7a24eaa6a138973fd3d730ffbb7e6201', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.085 [vert.x-worker-thread-4] INFO Slf4jLogger [25278053eqId] CREATE TABLE test_invoices31_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshot_id UUID NOT NULL, matched_id UUID NOT NULL, generation INTEGER NOT NULL, record_type TEST_INVOICES31_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instance_id UUID, state TEST_INVOICES31_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE NOT NULL, leader_record_status CHAR(1), "order" INTEGER, suppress_discovery BOOLEAN, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 08:28:00.088 [vert.x-worker-thread-4] INFO Slf4jLogger [25278056eqId] Table records_lb created 08:28:00.090 [vert.x-worker-thread-4] INFO Slf4jLogger [25278058eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-02-create-records-table::WilliamWelling ran successfully in 5ms 08:28:00.090 [vert.x-worker-thread-4] INFO Slf4jLogger [25278058eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 56, '8:f2d03256e2877ee0ef19d61dee9b78f6', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.092 [vert.x-worker-thread-4] INFO Slf4jLogger [25278060eqId] ALTER TABLE test_invoices31_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshot_id) REFERENCES test_invoices31_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:28:00.093 [vert.x-worker-thread-4] INFO Slf4jLogger [25278061eqId] Foreign key constraint added to records_lb (snapshot_id) 08:28:00.094 [vert.x-worker-thread-4] INFO Slf4jLogger [25278062eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 3ms 08:28:00.094 [vert.x-worker-thread-4] INFO Slf4jLogger [25278062eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 57, '8:e1eb7e64bf85a501ee95f90d1caa3ecf', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.096 [vert.x-worker-thread-4] INFO Slf4jLogger [25278064eqId] ALTER TABLE test_invoices31_mod_source_record_storage.records_lb ALTER COLUMN suppress_discovery SET DEFAULT FALSE 08:28:00.096 [vert.x-worker-thread-4] INFO Slf4jLogger [25278064eqId] Default value added to records_lb.suppress_discovery 08:28:00.097 [vert.x-worker-thread-4] INFO Slf4jLogger [25278065eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-04-set-records-suppress-discovery-default::WilliamWelling ran successfully in 2ms 08:28:00.097 [vert.x-worker-thread-4] INFO Slf4jLogger [25278065eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-04-set-records-suppress-discovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 58, '8:47f6b8894e6a3bcf73c857accd986696', 'addDefaultValue columnName=suppress_discovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.099 [vert.x-worker-thread-4] INFO Slf4jLogger [25278067eqId] CREATE INDEX idx_records_snapshot_id ON test_invoices31_mod_source_record_storage.records_lb(snapshot_id) 08:28:00.101 [vert.x-worker-thread-4] INFO Slf4jLogger [25278069eqId] Index idx_records_snapshot_id created 08:28:00.102 [vert.x-worker-thread-4] INFO Slf4jLogger [25278070eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 08:28:00.103 [vert.x-worker-thread-4] INFO Slf4jLogger [25278071eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 59, '8:2c084033a42e6a2bd34585973c7702d6', 'createIndex indexName=idx_records_snapshot_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.104 [vert.x-worker-thread-4] INFO Slf4jLogger [25278072eqId] CREATE INDEX idx_records_instance_id ON test_invoices31_mod_source_record_storage.records_lb(instance_id) 08:28:00.107 [vert.x-worker-thread-4] INFO Slf4jLogger [25278075eqId] Index idx_records_instance_id created 08:28:00.107 [vert.x-worker-thread-4] INFO Slf4jLogger [25278075eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 3ms 08:28:00.108 [vert.x-worker-thread-4] INFO Slf4jLogger [25278076eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 60, '8:6a16b878fab02c1ac273603ffabf9ced', 'createIndex indexName=idx_records_instance_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.109 [vert.x-worker-thread-4] INFO Slf4jLogger [25278077eqId] CREATE UNIQUE INDEX idx_records_matched_id_gen ON test_invoices31_mod_source_record_storage.records_lb(matched_id, generation) 08:28:00.112 [vert.x-worker-thread-4] INFO Slf4jLogger [25278080eqId] Index idx_records_matched_id_gen created 08:28:00.113 [vert.x-worker-thread-4] INFO Slf4jLogger [25278081eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 4ms 08:28:00.113 [vert.x-worker-thread-4] INFO Slf4jLogger [25278081eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 61, '8:ec61ff2a042d8841a1df18964d2de826', 'createIndex indexName=idx_records_matched_id_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.114 [vert.x-worker-thread-4] INFO Slf4jLogger [25278082eqId] CREATE INDEX idx_records_updated_date ON test_invoices31_mod_source_record_storage.records_lb(updated_date) 08:28:00.117 [vert.x-worker-thread-4] INFO Slf4jLogger [25278085eqId] Index idx_records_updated_date created 08:28:00.117 [vert.x-worker-thread-4] INFO Slf4jLogger [25278085eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-08-create-records-updated-date-index::WilliamWelling ran successfully in 3ms 08:28:00.118 [vert.x-worker-thread-4] INFO Slf4jLogger [25278086eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-08-create-records-updated-date-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 62, '8:ef1e252b73d04aabf1ad4de153412bf4', 'createIndex indexName=idx_records_updated_date, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.119 [vert.x-worker-thread-4] INFO Slf4jLogger [25278087eqId] CREATE INDEX idx_records_leader_record_status ON test_invoices31_mod_source_record_storage.records_lb(leader_record_status) 08:28:00.122 [vert.x-worker-thread-4] INFO Slf4jLogger [25278090eqId] Index idx_records_leader_record_status created 08:28:00.123 [vert.x-worker-thread-4] INFO Slf4jLogger [25278091eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-09-create-records-leader-record-status-index::WilliamWelling ran successfully in 4ms 08:28:00.123 [vert.x-worker-thread-4] INFO Slf4jLogger [25278091eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-09-create-records-leader-record-status-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 63, '8:b7b83fdc86c2638dda93155d0bd0f92f', 'createIndex indexName=idx_records_leader_record_status, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.125 [vert.x-worker-thread-4] INFO Slf4jLogger [25278093eqId] CREATE INDEX idx_records_matched_id_state ON test_invoices31_mod_source_record_storage.records_lb(matched_id, state) 08:28:00.127 [vert.x-worker-thread-4] INFO Slf4jLogger [25278095eqId] Index idx_records_matched_id_state created 08:28:00.128 [vert.x-worker-thread-4] INFO Slf4jLogger [25278096eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-10-create-records-matchedid-state-index::WilliamWelling ran successfully in 4ms 08:28:00.129 [vert.x-worker-thread-4] INFO Slf4jLogger [25278097eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-10-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 64, '8:74b08668165c1caa312d9ee9fee54dce', 'createIndex indexName=idx_records_matched_id_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.130 [vert.x-worker-thread-4] INFO Slf4jLogger [25278098eqId] create function test_invoices31_mod_source_record_storage.insert_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 08:28:00.131 [vert.x-worker-thread-4] INFO Slf4jLogger [25278099eqId] Stored procedure created 08:28:00.131 [vert.x-worker-thread-4] INFO Slf4jLogger [25278099eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-11-create-insert-records-set-dates-function::WilliamWelling ran successfully in 1ms 08:28:00.132 [vert.x-worker-thread-4] INFO Slf4jLogger [25278100eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-11-create-insert-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 65, '8:b46309960b31eb00fbf12bd8c7bd864b', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.133 [vert.x-worker-thread-4] INFO Slf4jLogger [25278101eqId] create trigger insert_records_set_dates before insert on test_invoices31_mod_source_record_storage.records_lb for each row execute procedure test_invoices31_mod_source_record_storage.insert_records_set_dates() 08:28:00.134 [vert.x-worker-thread-4] INFO Slf4jLogger [25278102eqId] Custom SQL executed 08:28:00.134 [vert.x-worker-thread-4] INFO Slf4jLogger [25278102eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-12-create-insert-records-set-dates-trigger::WilliamWelling ran successfully in 1ms 08:28:00.135 [vert.x-worker-thread-4] INFO Slf4jLogger [25278103eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-12-create-insert-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 66, '8:c91291b0acc29d6115db8f48d815a59a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.136 [vert.x-worker-thread-4] INFO Slf4jLogger [25278104eqId] create function test_invoices31_mod_source_record_storage.update_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 08:28:00.137 [vert.x-worker-thread-4] INFO Slf4jLogger [25278105eqId] Stored procedure created 08:28:00.137 [vert.x-worker-thread-4] INFO Slf4jLogger [25278105eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-13-create-update-records-set-dates-function::WilliamWelling ran successfully in 1ms 08:28:00.138 [vert.x-worker-thread-4] INFO Slf4jLogger [25278106eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-13-create-update-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 67, '8:82a86bdae53c70efd6eca1cd70d649ac', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.139 [vert.x-worker-thread-4] INFO Slf4jLogger [25278107eqId] create trigger update_records_set_dates before update on test_invoices31_mod_source_record_storage.records_lb for each row execute procedure test_invoices31_mod_source_record_storage.update_records_set_dates() 08:28:00.140 [vert.x-worker-thread-4] INFO Slf4jLogger [25278108eqId] Custom SQL executed 08:28:00.140 [vert.x-worker-thread-4] INFO Slf4jLogger [25278108eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-14-create-update-records-set-dates-trigger::WilliamWelling ran successfully in 1ms 08:28:00.141 [vert.x-worker-thread-4] INFO Slf4jLogger [25278109eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-14-create-update-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 68, '8:ccc13d3000157f899ee7172c241ba5e3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.143 [vert.x-worker-thread-4] INFO Slf4jLogger [25278111eqId] CREATE TABLE test_invoices31_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:28:00.148 [vert.x-worker-thread-4] INFO Slf4jLogger [25278116eqId] Table raw_records_lb created 08:28:00.149 [vert.x-worker-thread-4] INFO Slf4jLogger [25278117eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-00-create-raw-records-table::WilliamWelling ran successfully in 7ms 08:28:00.149 [vert.x-worker-thread-4] INFO Slf4jLogger [25278117eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 69, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.150 [vert.x-worker-thread-4] INFO Slf4jLogger [25278118eqId] ALTER TABLE test_invoices31_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES test_invoices31_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:28:00.152 [vert.x-worker-thread-4] INFO Slf4jLogger [25278120eqId] Foreign key constraint added to raw_records_lb (id) 08:28:00.153 [vert.x-worker-thread-4] INFO Slf4jLogger [25278121eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 3ms 08:28:00.153 [vert.x-worker-thread-4] INFO Slf4jLogger [25278121eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 70, '8:f38d2da9e865be24e427c9a529342ffd', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.155 [vert.x-worker-thread-4] INFO Slf4jLogger [25278123eqId] CREATE TABLE test_invoices31_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:28:00.160 [vert.x-worker-thread-4] INFO Slf4jLogger [25278128eqId] Table marc_records_lb created 08:28:00.161 [vert.x-worker-thread-4] INFO Slf4jLogger [25278129eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 08:28:00.161 [vert.x-worker-thread-4] INFO Slf4jLogger [25278129eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 71, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.163 [vert.x-worker-thread-4] INFO Slf4jLogger [25278131eqId] ALTER TABLE test_invoices31_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES test_invoices31_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:28:00.164 [vert.x-worker-thread-4] INFO Slf4jLogger [25278132eqId] Foreign key constraint added to marc_records_lb (id) 08:28:00.165 [vert.x-worker-thread-4] INFO Slf4jLogger [25278133eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 3ms 08:28:00.165 [vert.x-worker-thread-4] INFO Slf4jLogger [25278133eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 72, '8:ef4011e02f5bdd51232d03689328f9d8', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.166 [vert.x-worker-thread-4] INFO Slf4jLogger [25278134eqId] create function test_invoices31_mod_source_record_storage.update_records_set_leader_record_status() returns trigger language plpgsql as $$ BEGIN IF (TG_OP = 'DELETE') THEN UPDATE test_invoices31_mod_source_record_storage.records_lb SET leader_record_status = NULL WHERE id = OLD.id; RETURN OLD; ELSE UPDATE test_invoices31_mod_source_record_storage.records_lb SET leader_record_status = substring(NEW.content->>'leader' from 6 for 1)::char(1) WHERE id = NEW.id; RETURN NEW; END IF; END; $$ 08:28:00.167 [vert.x-worker-thread-4] INFO Slf4jLogger [25278135eqId] Stored procedure created 08:28:00.168 [vert.x-worker-thread-4] INFO Slf4jLogger [25278136eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-02-create-update-records-set-leader-record-status-function::WilliamWelling ran successfully in 2ms 08:28:00.168 [vert.x-worker-thread-4] INFO Slf4jLogger [25278136eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-02-create-update-records-set-leader-record-status-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 73, '8:2151f4aa5b6fe776882cbcfde0d14d74', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.170 [vert.x-worker-thread-4] INFO Slf4jLogger [25278138eqId] create trigger update_records_set_leader_record_status after insert or update or delete on test_invoices31_mod_source_record_storage.marc_records_lb for each row execute procedure test_invoices31_mod_source_record_storage.update_records_set_leader_record_status() 08:28:00.170 [vert.x-worker-thread-4] INFO Slf4jLogger [25278138eqId] Custom SQL executed 08:28:00.171 [vert.x-worker-thread-4] INFO Slf4jLogger [25278139eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-03-create-update-records-set-leader-record-status-trigger::WilliamWelling ran successfully in 1ms 08:28:00.172 [vert.x-worker-thread-4] INFO Slf4jLogger [25278140eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-03-create-update-records-set-leader-record-status-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 74, '8:10dbfbc3280b8889c24b62dc8765ff53', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.173 [vert.x-worker-thread-4] INFO Slf4jLogger [25278141eqId] CREATE TABLE test_invoices31_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content TEXT NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:28:00.179 [vert.x-worker-thread-4] INFO Slf4jLogger [25278147eqId] Table error_records_lb created 08:28:00.180 [vert.x-worker-thread-4] INFO Slf4jLogger [25278148eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 08:28:00.180 [vert.x-worker-thread-4] INFO Slf4jLogger [25278148eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 75, '8:b821b96e42bf16cf15ef75ea935ba4fe', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.181 [vert.x-worker-thread-4] INFO Slf4jLogger [25278149eqId] ALTER TABLE test_invoices31_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES test_invoices31_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:28:00.182 [vert.x-worker-thread-4] INFO Slf4jLogger [25278150eqId] Foreign key constraint added to error_records_lb (id) 08:28:00.183 [vert.x-worker-thread-4] INFO Slf4jLogger [25278151eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 08:28:00.184 [vert.x-worker-thread-4] INFO Slf4jLogger [25278152eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 76, '8:baf72b37fbb210cfbabe4f782e071070', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.194 [vert.x-worker-thread-4] INFO Slf4jLogger [25278162eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-00-disable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.snapshots does not exist 08:28:00.194 [vert.x-worker-thread-4] INFO Slf4jLogger [25278162eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-00-disable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 77, '8:3f1d8b70f411a861f1caeb46dc71296c', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.203 [vert.x-worker-thread-4] INFO Slf4jLogger [25278171eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-01-migrate-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.snapshots does not exist 08:28:00.203 [vert.x-worker-thread-4] INFO Slf4jLogger [25278171eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-01-migrate-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 78, '8:ea00a0440ec4783443695946a8cabae1', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.212 [vert.x-worker-thread-4] INFO Slf4jLogger [25278180eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-02-enable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.snapshots does not exist 08:28:00.213 [vert.x-worker-thread-4] INFO Slf4jLogger [25278181eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-02-enable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 79, '8:dbeb4d00e04acbf2870fb03b714b925a', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.221 [vert.x-worker-thread-4] INFO Slf4jLogger [25278189eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-03-create-missing-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.snapshots does not exist 08:28:00.222 [vert.x-worker-thread-4] INFO Slf4jLogger [25278190eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-03-create-missing-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 80, '8:6e8bf69b2ba8496cf5ba199f00fd240f', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.231 [vert.x-worker-thread-4] INFO Slf4jLogger [25278199eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-00-disable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.231 [vert.x-worker-thread-4] INFO Slf4jLogger [25278199eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-00-disable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 81, '8:1506458e4d47721caf4d7b43906b9ab1', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.240 [vert.x-worker-thread-4] INFO Slf4jLogger [25278208eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-01-migrate-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.240 [vert.x-worker-thread-4] INFO Slf4jLogger [25278208eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-01-migrate-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 82, '8:c974c417db21f2092c0c1d1cbf54df43', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.248 [vert.x-worker-thread-4] INFO Slf4jLogger [25278216eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-02-enable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.249 [vert.x-worker-thread-4] INFO Slf4jLogger [25278217eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-02-enable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 83, '8:6eae418d95dd03e27acf18feecd1846b', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.258 [vert.x-worker-thread-4] INFO Slf4jLogger [25278226eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml::2020-06-12--14-00-migrate-raw-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.258 [vert.x-worker-thread-4] INFO Slf4jLogger [25278226eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--14-00-migrate-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml', NOW(), 84, '8:3d32b6f775646d91a3d7663e971c6698', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.267 [vert.x-worker-thread-4] INFO Slf4jLogger [25278235eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-00-disable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.267 [vert.x-worker-thread-4] INFO Slf4jLogger [25278235eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-00-disable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 85, '8:1b33a438d2cc4932938b8cbf5327bd12', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.276 [vert.x-worker-thread-4] INFO Slf4jLogger [25278244eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-01-migrate-marc-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.276 [vert.x-worker-thread-4] INFO Slf4jLogger [25278244eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-01-migrate-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 86, '8:f4817e41ae5e7ab45d6e993732f6b4f8', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.285 [vert.x-worker-thread-4] INFO Slf4jLogger [25278253eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-02-enable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.285 [vert.x-worker-thread-4] INFO Slf4jLogger [25278253eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-02-enable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 87, '8:7840d04673cea256b6429ab29c6f1014', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.299 [vert.x-worker-thread-4] INFO Slf4jLogger [25278267eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml::2020-06-12--16-00-migrate-error-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices31_mod_source_record_storage.records does not exist 08:28:00.299 [vert.x-worker-thread-4] INFO Slf4jLogger [25278267eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--16-00-migrate-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml', NOW(), 88, '8:2dc64bb89ebd97a1b083c37bbbadf8b8', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160079804') 08:28:00.301 [vert.x-worker-thread-4] INFO Slf4jLogger [25278269eqId] DROP TABLE IF EXISTS test_invoices31_mod_source_record_storage.error_records 08:28:00.301 [vert.x-worker-thread-4] INFO Slf4jLogger [25278269eqId] Custom SQL executed 08:28:00.301 [vert.x-worker-thread-4] INFO Slf4jLogger [25278269eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml::2020-06-13--12-00-drop-error-records::WilliamWelling ran successfully in 1ms 08:28:00.302 [vert.x-worker-thread-4] INFO Slf4jLogger [25278270eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--12-00-drop-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml', NOW(), 89, '8:788224aa8a24a849df9f0ceb7e3e6f9a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.303 [vert.x-worker-thread-4] INFO Slf4jLogger [25278271eqId] DROP TABLE IF EXISTS test_invoices31_mod_source_record_storage.marc_records 08:28:00.304 [vert.x-worker-thread-4] INFO Slf4jLogger [25278272eqId] Custom SQL executed 08:28:00.304 [vert.x-worker-thread-4] INFO Slf4jLogger [25278272eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml::2020-06-13--13-00-drop-marc-records::WilliamWelling ran successfully in 1ms 08:28:00.304 [vert.x-worker-thread-4] INFO Slf4jLogger [25278272eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--13-00-drop-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml', NOW(), 90, '8:0841cfce946a39556d93d7b23f003a56', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.306 [vert.x-worker-thread-4] INFO Slf4jLogger [25278274eqId] DROP TABLE IF EXISTS test_invoices31_mod_source_record_storage.raw_records 08:28:00.306 [vert.x-worker-thread-4] INFO Slf4jLogger [25278274eqId] Custom SQL executed 08:28:00.306 [vert.x-worker-thread-4] INFO Slf4jLogger [25278274eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml::2020-06-13--14-00-drop-raw-records::WilliamWelling ran successfully in 1ms 08:28:00.307 [vert.x-worker-thread-4] INFO Slf4jLogger [25278275eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--14-00-drop-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml', NOW(), 91, '8:c4960c6a756388fa53dcaa8ddb7409d0', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.308 [vert.x-worker-thread-4] INFO Slf4jLogger [25278276eqId] DROP TABLE IF EXISTS test_invoices31_mod_source_record_storage.records 08:28:00.308 [vert.x-worker-thread-4] INFO Slf4jLogger [25278276eqId] Custom SQL executed 08:28:00.309 [vert.x-worker-thread-4] INFO Slf4jLogger [25278277eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml::2020-06-13--15-00-drop-records::WilliamWelling ran successfully in 1ms 08:28:00.309 [vert.x-worker-thread-4] INFO Slf4jLogger [25278277eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--15-00-drop-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml', NOW(), 92, '8:da11a95a351ed4a16bd4cddc425d365f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.310 [vert.x-worker-thread-4] INFO Slf4jLogger [25278278eqId] DROP TABLE IF EXISTS test_invoices31_mod_source_record_storage.snapshots 08:28:00.311 [vert.x-worker-thread-4] INFO Slf4jLogger [25278279eqId] Custom SQL executed 08:28:00.311 [vert.x-worker-thread-4] INFO Slf4jLogger [25278279eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml::2020-06-13--16-00-drop-snapshots::WilliamWelling ran successfully in 1ms 08:28:00.311 [vert.x-worker-thread-4] INFO Slf4jLogger [25278279eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--16-00-drop-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml', NOW(), 93, '8:a3e8b229923e40f7c09cd9a41b380417', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.313 [vert.x-worker-thread-4] INFO Slf4jLogger [25278281eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_record_by_external_id(externalId uuid, idFieldName text) 08:28:00.313 [vert.x-worker-thread-4] INFO Slf4jLogger [25278281eqId] Custom SQL executed 08:28:00.313 [vert.x-worker-thread-4] INFO Slf4jLogger [25278281eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-00-drop-get_record_by_external_id::WilliamWelling ran successfully in 1ms 08:28:00.314 [vert.x-worker-thread-4] INFO Slf4jLogger [25278282eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-00-drop-get_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 94, '8:acde7b40461040ffd424fb4f3ce0d92c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.315 [vert.x-worker-thread-4] INFO Slf4jLogger [25278283eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_record_by_matched_id(record_id uuid) 08:28:00.315 [vert.x-worker-thread-4] INFO Slf4jLogger [25278283eqId] Custom SQL executed 08:28:00.316 [vert.x-worker-thread-4] INFO Slf4jLogger [25278284eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-01-drop-get_record_by_matched_id::WilliamWelling ran successfully in 1ms 08:28:00.316 [vert.x-worker-thread-4] INFO Slf4jLogger [25278284eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-01-drop-get_record_by_matched_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 95, '8:c20cf6d1d1b852d486a6760d7eb9dcb7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.317 [vert.x-worker-thread-4] INFO Slf4jLogger [25278285eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_record_by_id(record_id uuid) 08:28:00.318 [vert.x-worker-thread-4] INFO Slf4jLogger [25278286eqId] Custom SQL executed 08:28:00.318 [vert.x-worker-thread-4] INFO Slf4jLogger [25278286eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-02-drop-get_source_record_by_id::WilliamWelling ran successfully in 1ms 08:28:00.318 [vert.x-worker-thread-4] INFO Slf4jLogger [25278286eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-02-drop-get_source_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 96, '8:2cd37cbaa4b9c78ac5ad602962ce690a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.320 [vert.x-worker-thread-4] INFO Slf4jLogger [25278288eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_record_by_external_id(externalId uuid, idFieldName text) 08:28:00.320 [vert.x-worker-thread-4] INFO Slf4jLogger [25278288eqId] Custom SQL executed 08:28:00.320 [vert.x-worker-thread-4] INFO Slf4jLogger [25278288eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-03-drop-get_source_record_by_external_id::WilliamWelling ran successfully in 1ms 08:28:00.321 [vert.x-worker-thread-4] INFO Slf4jLogger [25278289eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-03-drop-get_source_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 97, '8:342df6b68980340311cffc4da81f1c89', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.322 [vert.x-worker-thread-4] INFO Slf4jLogger [25278290eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_records(where_clause text, order_by text, limitVal int, offsetVal int, schema_name text) 08:28:00.323 [vert.x-worker-thread-4] INFO Slf4jLogger [25278291eqId] Custom SQL executed 08:28:00.323 [vert.x-worker-thread-4] INFO Slf4jLogger [25278291eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-04-drop-get_records::WilliamWelling ran successfully in 1ms 08:28:00.323 [vert.x-worker-thread-4] INFO Slf4jLogger [25278291eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-04-drop-get_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 98, '8:7e152be0bb28205c232c6de38e8a8f89', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.325 [vert.x-worker-thread-4] INFO Slf4jLogger [25278293eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_records(query_filter text, order_by text, limitVal int, offsetVal int, deleted_records text, schema_name text) 08:28:00.326 [vert.x-worker-thread-4] INFO Slf4jLogger [25278294eqId] Custom SQL executed 08:28:00.326 [vert.x-worker-thread-4] INFO Slf4jLogger [25278294eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-05-drop-get_source_records::WilliamWelling ran successfully in 1ms 08:28:00.326 [vert.x-worker-thread-4] INFO Slf4jLogger [25278294eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-05-drop-get_source_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 99, '8:e1f40cdb287e572e0b9d0bf43e1fc456', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.328 [vert.x-worker-thread-4] INFO Slf4jLogger [25278296eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_highest_generation(matchedId uuid, snapshotId uuid) 08:28:00.328 [vert.x-worker-thread-4] INFO Slf4jLogger [25278296eqId] Custom SQL executed 08:28:00.328 [vert.x-worker-thread-4] INFO Slf4jLogger [25278296eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-06-drop-get_highest_generation::WilliamWelling ran successfully in 1ms 08:28:00.328 [vert.x-worker-thread-4] INFO Slf4jLogger [25278296eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-06-drop-get_highest_generation', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 100, '8:b8f0bdbd522666d19c9604371d8a21c9', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.330 [vert.x-worker-thread-4] INFO Slf4jLogger [25278298eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.error_records_set_md() 08:28:00.330 [vert.x-worker-thread-4] INFO Slf4jLogger [25278298eqId] Custom SQL executed 08:28:00.330 [vert.x-worker-thread-4] INFO Slf4jLogger [25278298eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-07-drop-error_records_set_md::WilliamWelling ran successfully in 0ms 08:28:00.331 [vert.x-worker-thread-4] INFO Slf4jLogger [25278299eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-07-drop-error_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 101, '8:709aafa34267bc6c4b913544bc0984d7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.332 [vert.x-worker-thread-4] INFO Slf4jLogger [25278300eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.marc_records_set_md() 08:28:00.332 [vert.x-worker-thread-4] INFO Slf4jLogger [25278300eqId] Custom SQL executed 08:28:00.333 [vert.x-worker-thread-4] INFO Slf4jLogger [25278301eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-08-drop-marc_records_set_md::WilliamWelling ran successfully in 1ms 08:28:00.333 [vert.x-worker-thread-4] INFO Slf4jLogger [25278301eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-08-drop-marc_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 102, '8:41aaed53ae4e53f0faf817a15a88f793', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.334 [vert.x-worker-thread-4] INFO Slf4jLogger [25278302eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.raw_records_set_md() 08:28:00.335 [vert.x-worker-thread-4] INFO Slf4jLogger [25278303eqId] Custom SQL executed 08:28:00.335 [vert.x-worker-thread-4] INFO Slf4jLogger [25278303eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-09-drop-raw_records_set_md::WilliamWelling ran successfully in 1ms 08:28:00.335 [vert.x-worker-thread-4] INFO Slf4jLogger [25278303eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-09-drop-raw_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 103, '8:7be9fd874a3be7d2b5203b8b4ba9d542', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.337 [vert.x-worker-thread-4] INFO Slf4jLogger [25278305eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.records_set_md() 08:28:00.337 [vert.x-worker-thread-4] INFO Slf4jLogger [25278305eqId] Custom SQL executed 08:28:00.337 [vert.x-worker-thread-4] INFO Slf4jLogger [25278305eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-10-drop-records_set_md::WilliamWelling ran successfully in 1ms 08:28:00.337 [vert.x-worker-thread-4] INFO Slf4jLogger [25278305eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-10-drop-records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 104, '8:5148e5b09193b009b2c6bfd6a0ef5c80', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.339 [vert.x-worker-thread-4] INFO Slf4jLogger [25278307eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.set_error_records_md_json() 08:28:00.339 [vert.x-worker-thread-4] INFO Slf4jLogger [25278307eqId] Custom SQL executed 08:28:00.340 [vert.x-worker-thread-4] INFO Slf4jLogger [25278308eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-11-drop-set_error_records_md_json::WilliamWelling ran successfully in 1ms 08:28:00.340 [vert.x-worker-thread-4] INFO Slf4jLogger [25278308eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-11-drop-set_error_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 105, '8:431f73707648de05381ed4492af85fac', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.341 [vert.x-worker-thread-4] INFO Slf4jLogger [25278309eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.set_id_in_jsonb() 08:28:00.342 [vert.x-worker-thread-4] INFO Slf4jLogger [25278310eqId] Custom SQL executed 08:28:00.343 [vert.x-worker-thread-4] INFO Slf4jLogger [25278311eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-12-drop-set_id_in_jsonb::WilliamWelling ran successfully in 2ms 08:28:00.343 [vert.x-worker-thread-4] INFO Slf4jLogger [25278311eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-12-drop-set_id_in_jsonb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 106, '8:4ab96156a19cfe27acb3db05797851cc', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.344 [vert.x-worker-thread-4] INFO Slf4jLogger [25278312eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.set_marc_records_md_json() 08:28:00.345 [vert.x-worker-thread-4] INFO Slf4jLogger [25278313eqId] Custom SQL executed 08:28:00.345 [vert.x-worker-thread-4] INFO Slf4jLogger [25278313eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-13-drop-set_marc_records_md_json::WilliamWelling ran successfully in 1ms 08:28:00.345 [vert.x-worker-thread-4] INFO Slf4jLogger [25278313eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-13-drop-set_marc_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 107, '8:3f099a42f90c31e5c2659290974cd9d4', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.347 [vert.x-worker-thread-4] INFO Slf4jLogger [25278315eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.set_raw_records_md_json() 08:28:00.348 [vert.x-worker-thread-4] INFO Slf4jLogger [25278316eqId] Custom SQL executed 08:28:00.348 [vert.x-worker-thread-4] INFO Slf4jLogger [25278316eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-14-drop-set_raw_records_md_json::WilliamWelling ran successfully in 1ms 08:28:00.348 [vert.x-worker-thread-4] INFO Slf4jLogger [25278316eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-14-drop-set_raw_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 108, '8:e1de834e232fb0306c1b0bf7419c50b2', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.350 [vert.x-worker-thread-4] INFO Slf4jLogger [25278318eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.set_records_md_json() 08:28:00.350 [vert.x-worker-thread-4] INFO Slf4jLogger [25278318eqId] Custom SQL executed 08:28:00.350 [vert.x-worker-thread-4] INFO Slf4jLogger [25278318eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-15-drop-set_records_md_json::WilliamWelling ran successfully in 1ms 08:28:00.351 [vert.x-worker-thread-4] INFO Slf4jLogger [25278319eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-15-drop-set_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 109, '8:9fd89863effc1aa2d18f20ec958e4e61', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.352 [vert.x-worker-thread-4] INFO Slf4jLogger [25278320eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.set_snapshots_md_json() 08:28:00.352 [vert.x-worker-thread-4] INFO Slf4jLogger [25278320eqId] Custom SQL executed 08:28:00.352 [vert.x-worker-thread-4] INFO Slf4jLogger [25278320eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-16-drop-set_snapshots_md_json::WilliamWelling ran successfully in 0ms 08:28:00.353 [vert.x-worker-thread-4] INFO Slf4jLogger [25278321eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-16-drop-set_snapshots_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 110, '8:948d855c4e4e6ea2913ae474bfcabc12', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.354 [vert.x-worker-thread-4] INFO Slf4jLogger [25278322eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.snapshots_set_md() 08:28:00.355 [vert.x-worker-thread-4] INFO Slf4jLogger [25278323eqId] Custom SQL executed 08:28:00.355 [vert.x-worker-thread-4] INFO Slf4jLogger [25278323eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-17-drop-snapshots_set_md::WilliamWelling ran successfully in 1ms 08:28:00.355 [vert.x-worker-thread-4] INFO Slf4jLogger [25278323eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-17-drop-snapshots_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 111, '8:109c4342280642262e7d61bb70a3a03e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.356 [vert.x-worker-thread-4] INFO Slf4jLogger [25278324eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.update_records_references() 08:28:00.357 [vert.x-worker-thread-4] INFO Slf4jLogger [25278325eqId] Custom SQL executed 08:28:00.357 [vert.x-worker-thread-4] INFO Slf4jLogger [25278325eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-18-drop-update_records_references::WilliamWelling ran successfully in 1ms 08:28:00.357 [vert.x-worker-thread-4] INFO Slf4jLogger [25278325eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-18-drop-update_records_references', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 112, '8:48f4e6e0c8c1ce9fea6008a9beb2e676', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.359 [vert.x-worker-thread-4] INFO Slf4jLogger [25278327eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) 08:28:00.360 [vert.x-worker-thread-4] INFO Slf4jLogger [25278328eqId] Custom SQL executed 08:28:00.360 [vert.x-worker-thread-4] INFO Slf4jLogger [25278328eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-19-drop-get_source_marc_record_by_id::WilliamWelling ran successfully in 1ms 08:28:00.361 [vert.x-worker-thread-4] INFO Slf4jLogger [25278329eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-19-drop-get_source_marc_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 113, '8:6a1b87de18767159060792aab9edf9fb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.362 [vert.x-worker-thread-4] INFO Slf4jLogger [25278330eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) 08:28:00.363 [vert.x-worker-thread-4] INFO Slf4jLogger [25278331eqId] Custom SQL executed 08:28:00.364 [vert.x-worker-thread-4] INFO Slf4jLogger [25278332eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-20-drop-get_source_marc_record_by_id_alt::WilliamWelling ran successfully in 2ms 08:28:00.364 [vert.x-worker-thread-4] INFO Slf4jLogger [25278332eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-20-drop-get_source_marc_record_by_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 114, '8:4aa632ea959cf7fdb47487b494230454', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.365 [vert.x-worker-thread-4] INFO Slf4jLogger [25278333eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) 08:28:00.366 [vert.x-worker-thread-4] INFO Slf4jLogger [25278334eqId] Custom SQL executed 08:28:00.367 [vert.x-worker-thread-4] INFO Slf4jLogger [25278335eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-21-drop-get_source_marc_record_by_instance_id::WilliamWelling ran successfully in 2ms 08:28:00.367 [vert.x-worker-thread-4] INFO Slf4jLogger [25278335eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-21-drop-get_source_marc_record_by_instance_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 115, '8:9e90bf3da30a0036222ccbc953e25170', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.369 [vert.x-worker-thread-4] INFO Slf4jLogger [25278337eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) 08:28:00.369 [vert.x-worker-thread-4] INFO Slf4jLogger [25278337eqId] Custom SQL executed 08:28:00.370 [vert.x-worker-thread-4] INFO Slf4jLogger [25278338eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt::WilliamWelling ran successfully in 2ms 08:28:00.370 [vert.x-worker-thread-4] INFO Slf4jLogger [25278338eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 116, '8:f528f4db49dcfc1e00e7832378d3bbbb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.372 [vert.x-worker-thread-4] INFO Slf4jLogger [25278340eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) 08:28:00.372 [vert.x-worker-thread-4] INFO Slf4jLogger [25278340eqId] Custom SQL executed 08:28:00.373 [vert.x-worker-thread-4] INFO Slf4jLogger [25278341eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-23-drop-get_all_source_marc_records::WilliamWelling ran successfully in 2ms 08:28:00.373 [vert.x-worker-thread-4] INFO Slf4jLogger [25278341eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-23-drop-get_all_source_marc_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 117, '8:8fd498d0b9f038043a14f6c92a40b635', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.375 [vert.x-worker-thread-4] INFO Slf4jLogger [25278343eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) 08:28:00.375 [vert.x-worker-thread-4] INFO Slf4jLogger [25278343eqId] Custom SQL executed 08:28:00.376 [vert.x-worker-thread-4] INFO Slf4jLogger [25278344eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-24-drop-get_all_source_marc_records_alt::WilliamWelling ran successfully in 1ms 08:28:00.377 [vert.x-worker-thread-4] INFO Slf4jLogger [25278345eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-24-drop-get_all_source_marc_records_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 118, '8:0f655a30aab8f71a7561f3fe11c830eb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.378 [vert.x-worker-thread-4] INFO Slf4jLogger [25278346eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 08:28:00.379 [vert.x-worker-thread-4] INFO Slf4jLogger [25278347eqId] Custom SQL executed 08:28:00.380 [vert.x-worker-thread-4] INFO Slf4jLogger [25278348eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-25-drop-get_source_marc_records_for_period::WilliamWelling ran successfully in 2ms 08:28:00.380 [vert.x-worker-thread-4] INFO Slf4jLogger [25278348eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-25-drop-get_source_marc_records_for_period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 119, '8:ea4508ce6be476cebdbef555ac12a704', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.382 [vert.x-worker-thread-4] INFO Slf4jLogger [25278350eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 08:28:00.382 [vert.x-worker-thread-4] INFO Slf4jLogger [25278350eqId] Custom SQL executed 08:28:00.383 [vert.x-worker-thread-4] INFO Slf4jLogger [25278351eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-26-drop-get_source_marc_records_for_period_alt::WilliamWelling ran successfully in 1ms 08:28:00.384 [vert.x-worker-thread-4] INFO Slf4jLogger [25278352eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-26-drop-get_source_marc_records_for_period_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 120, '8:944f3e46f88d22262383544d5c380877', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.385 [vert.x-worker-thread-4] INFO Slf4jLogger [25278353eqId] DROP FUNCTION IF EXISTS test_invoices31_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) 08:28:00.386 [vert.x-worker-thread-4] INFO Slf4jLogger [25278354eqId] Custom SQL executed 08:28:00.387 [vert.x-worker-thread-4] INFO Slf4jLogger [25278355eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-27-drop-get_highest_generation_lb::WilliamWelling ran successfully in 2ms 08:28:00.387 [vert.x-worker-thread-4] INFO Slf4jLogger [25278355eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-27-drop-get_highest_generation_lb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 121, '8:8db9c639fd4b03376c96afddcaf6d850', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.388 [vert.x-worker-thread-4] INFO Slf4jLogger [25278356eqId] DELETE FROM test_invoices31_mod_source_record_storage.records_lb WHERE id IN ('4c0ff739-3f4d-4670-a693-84dd48e31c53', '8452daf9-c130-4955-99ce-1c397a218900', 'ec53a386-9616-428b-92a9-e1f07756ea1f', '0f0fe962-d502-4a4f-9e74-7732bec94ee8', '009286d6-f89e-4881-9562-11158f02664a', '8f462542-387c-4f06-a01b-50829c7c7b13', 'e567b8e2-a45b-45f1-a85a-6b6312bdf4d8', 'a2d6893e-c6b3-4c95-bec5-8b997aa1776d', '8fb19e31-0920-49d7-9438-b573c292b1a6', '7293f287-bb51-41f5-805d-00ff18a1f791', 'be1b25ae-4a9d-4077-93e6-7f8e59efd609') 08:28:00.389 [vert.x-worker-thread-4] INFO Slf4jLogger [25278357eqId] Data deleted from records_lb 08:28:00.389 [vert.x-worker-thread-4] INFO Slf4jLogger [25278357eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml::2020-06-25--12-00-delete-sample-data::KaterynaSenchenko ran successfully in 1ms 08:28:00.390 [vert.x-worker-thread-4] INFO Slf4jLogger [25278358eqId] INSERT INTO test_invoices31_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-25--12-00-delete-sample-data', 'KaterynaSenchenko', 'liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml', NOW(), 122, '8:3704cf26958a53bdb03d8472d4d2f057', 'delete tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160079804') 08:28:00.392 [vert.x-worker-thread-4] INFO Slf4jLogger [25278360eqId] Successfully released change log lock 08:28:00.392 [vert.x-worker-thread-4] INFO LiquibaseUtil [25278360eqId] Schema is initialized for tenant test_invoices31 08:28:00.393 [vert.x-eventloop-thread-0] INFO ModTenantAPI [25278361eqId] Module is being deployed in production mode 08:28:00.393 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25278361eqId] Reading MessagingDescriptor.json 08:28:00.397 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25278365eqId] Registering events for publishers 08:28:00.413 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25278381eqId] Registering module's publishers 08:28:00.469 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25278437eqId] Module's publishers were successfully registered 08:28:00.469 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25278437eqId] Registering module's subscribers 08:28:00.570 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25278538eqId] Module's subscribers were successfully registered 08:28:00.570 [vert.x-eventloop-thread-0] INFO ModTenantAPI [25278538eqId] Module was successfully registered as publisher/subscriber in mod-pubsub 08:28:00.571 [vert.x-eventloop-thread-0] INFO LogUtil [25278539eqId] org.folio.rest.RestVerticle start invoking postTenant 08:28:00.571 [vert.x-eventloop-thread-0] INFO LogUtil [25278539eqId] 10.36.1.197:34364 POST /_/tenant null HTTP_1_1 201 3 1947 tid=test_invoices31 Created 08:28:17.581 [vert.x-eventloop-thread-0] INFO TenantAPI [25295549eqId] sending... deleteTenant for test_invoices31 08:28:17.583 [vert.x-eventloop-thread-0] INFO TenantAPI [25295551eqId] Deleting tenant test_invoices31 08:28:17.584 [vert.x-eventloop-thread-0] INFO TenantAPI [25295552eqId] Attempting to run delete script for: test_invoices31 08:28:17.586 [vert.x-eventloop-thread-0] INFO PostgresClient [25295554eqId] Executing multiple statements with id 653024086 08:28:17.590 [vert.x-worker-thread-5] INFO PostgresClient [25295558eqId] trying to execute: REVOKE ALL PRIVILEGES ON DATABASE postgres from test_invoices31_mod_source_record_storage 08:28:17.590 [vert.x-worker-thread-5] INFO PostgresClient [25295558eqId] Successfully executed: REVOKE ALL PRIVILEGES ON DATABASE postgres from test_invoices31_mod_source_record_storage 08:28:17.591 [vert.x-worker-thread-5] INFO PostgresClient [25295559eqId] trying to execute: DROP SCHEMA IF EXISTS test_invoices31_mod_source_record_storage CASCADE 08:28:17.598 [vert.x-worker-thread-5] INFO PostgresClient [25295566eqId] Successfully executed: DROP SCHEMA IF EXISTS test_invoices31_mod_source_record_storage CASCADE 08:28:17.598 [vert.x-worker-thread-5] INFO PostgresClient [25295566eqId] trying to execute: DROP USER IF EXISTS test_invoices31_mod_source_record_storage 08:28:17.598 [vert.x-worker-thread-5] INFO PostgresClient [25295566eqId] Successfully executed: DROP USER IF EXISTS test_invoices31_mod_source_record_storage 08:28:17.601 [vert.x-worker-thread-5] INFO PostgresClient [25295569eqId] Successfully committed: 653024086 08:28:17.602 [vert.x-eventloop-thread-0] INFO LogUtil [25295570eqId] org.folio.rest.RestVerticle start invoking deleteTenant 08:28:17.602 [vert.x-eventloop-thread-0] INFO LogUtil [25295570eqId] 10.36.1.197:34364 DELETE /_/tenant null HTTP_1_1 204 0 22 tid=test_invoices31 No Content 08:29:38.173 [vert.x-eventloop-thread-0] INFO TenantAPI [25376141eqId] sending... postTenant for test_invoices98 08:29:38.189 [vert.x-eventloop-thread-0] INFO PostgresClient [25376157eqId] Executing multiple statements with id 1532078924 08:29:38.193 [vert.x-worker-thread-6] INFO PostgresClient [25376161eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 08:29:38.194 [vert.x-worker-thread-6] INFO PostgresClient [25376162eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 08:29:38.194 [vert.x-worker-thread-6] INFO PostgresClient [25376162eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 08:29:38.194 [vert.x-worker-thread-6] INFO PostgresClient [25376162eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 08:29:38.194 [vert.x-worker-thread-6] INFO PostgresClient [25376162eqId] trying to execute: CREATE ROLE test_invoices98_mod_source_record_storage PASSWORD 'test_invoices98' NOSUPERUSER NOCREATEDB INHERIT LOGIN 08:29:38.195 [vert.x-worker-thread-6] INFO PostgresClient [25376163eqId] Successfully executed: CREATE ROLE test_invoices98_mod_source_record_storage PASSWORD 'test_invoices98' NOSUPERUSER NOCREATEDB INHERIT LOGIN 08:29:38.195 [vert.x-worker-thread-6] INFO PostgresClient [25376163eqId] trying to execute: GRANT test_invoices98_mod_source_record_storage TO CURRENT_USER 08:29:38.195 [vert.x-worker-thread-6] INFO PostgresClient [25376163eqId] Successfully executed: GRANT test_invoices98_mod_source_record_storage TO CURRENT_USER 08:29:38.195 [vert.x-worker-thread-6] INFO PostgresClient [25376163eqId] trying to execute: CREATE SCHEMA test_invoices98_mod_source_record_storage AUTHORIZATION test_invoices98_mod_source_record_storage 08:29:38.196 [vert.x-worker-thread-6] INFO PostgresClient [25376164eqId] Successfully executed: CREATE SCHEMA test_invoices98_mod_source_record_storage AUTHORIZATION test_invoices98_mod_source_record_storage 08:29:38.196 [vert.x-worker-thread-6] INFO PostgresClient [25376164eqId] trying to execute: ALTER ROLE test_invoices98_mod_source_record_storage SET search_path = "$user" 08:29:38.196 [vert.x-worker-thread-6] INFO PostgresClient [25376164eqId] Successfully executed: ALTER ROLE test_invoices98_mod_source_record_storage SET search_path = "$user" 08:29:38.196 [vert.x-worker-thread-6] INFO PostgresClient [25376164eqId] trying to execute: SET search_path TO test_invoices98_mod_source_record_storage 08:29:38.196 [vert.x-worker-thread-6] INFO PostgresClient [25376164eqId] Successfully executed: SET search_path TO test_invoices98_mod_source_record_storage 08:29:38.196 [vert.x-worker-thread-6] INFO PostgresClient [25376164eqId] trying to execute: CREATE TABLE IF NOT EXISTS test_invoices98_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 08:29:38.204 [vert.x-worker-thread-6] INFO PostgresClient [25376172eqId] Successfully executed: CREATE TABLE IF NOT EXISTS test_invoices98_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 08:29:38.204 [vert.x-worker-thread-6] INFO PostgresClient [25376172eqId] trying to execute: insert into test_invoices98_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 08:29:38.205 [vert.x-worker-thread-6] INFO PostgresClient [25376173eqId] Successfully executed: insert into test_invoices98_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 08:29:38.205 [vert.x-worker-thread-6] INFO PostgresClient [25376173eqId] trying to execute: CREATE TABLE IF NOT EXISTS test_invoices98_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 08:29:38.210 [vert.x-worker-thread-6] INFO PostgresClient [25376178eqId] Successfully executed: CREATE TABLE IF NOT EXISTS test_invoices98_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 08:29:38.211 [vert.x-worker-thread-6] INFO PostgresClient [25376179eqId] trying to execute: UPDATE test_invoices98_mod_source_record_storage.rmb_internal_index SET remove = TRUE 08:29:38.211 [vert.x-worker-thread-6] INFO PostgresClient [25376179eqId] Successfully executed: UPDATE test_invoices98_mod_source_record_storage.rmb_internal_index SET remove = TRUE 08:29:38.211 [vert.x-worker-thread-6] INFO PostgresClient [25376179eqId] trying to execute: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 08:29:38.214 [vert.x-worker-thread-6] INFO PostgresClient [25376182eqId] Successfully executed: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 08:29:38.214 [vert.x-worker-thread-6] INFO PostgresClient [25376182eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:29:38.216 [vert.x-worker-thread-6] INFO PostgresClient [25376184eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:29:38.216 [vert.x-worker-thread-6] INFO PostgresClient [25376184eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:29:38.216 [vert.x-worker-thread-6] INFO PostgresClient [25376184eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 08:29:38.217 [vert.x-worker-thread-6] INFO PostgresClient [25376185eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0'; 08:29:38.217 [vert.x-worker-thread-6] INFO PostgresClient [25376185eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' 08:29:38.217 [vert.x-worker-thread-6] INFO PostgresClient [25376185eqId] trying to execute: CREATE AGGREGATE test_invoices98_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = test_invoices98_mod_source_record_storage.uuid_larger, combinefunc = test_invoices98_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 08:29:38.218 [vert.x-worker-thread-6] INFO PostgresClient [25376186eqId] Successfully executed: CREATE AGGREGATE test_invoices98_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = test_invoices98_mod_source_record_storage.uuid_larger, combinefunc = test_invoices98_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 08:29:38.218 [vert.x-worker-thread-6] INFO PostgresClient [25376186eqId] trying to execute: CREATE AGGREGATE test_invoices98_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = test_invoices98_mod_source_record_storage.uuid_smaller, combinefunc = test_invoices98_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 08:29:38.218 [vert.x-worker-thread-6] INFO PostgresClient [25376186eqId] Successfully executed: CREATE AGGREGATE test_invoices98_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = test_invoices98_mod_source_record_storage.uuid_smaller, combinefunc = test_invoices98_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 08:29:38.219 [vert.x-worker-thread-6] INFO PostgresClient [25376187eqId] trying to execute: DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 08:29:38.219 [vert.x-worker-thread-6] INFO PostgresClient [25376187eqId] Successfully executed: DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 08:29:38.219 [vert.x-worker-thread-6] INFO PostgresClient [25376187eqId] trying to execute: CREATE FUNCTION test_invoices98_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT 08:29:38.220 [vert.x-worker-thread-6] INFO PostgresClient [25376188eqId] Successfully executed: CREATE FUNCTION test_invoices98_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END 08:29:38.220 [vert.x-worker-thread-6] INFO PostgresClient [25376188eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = test_invoices98_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT 08:29:38.220 [vert.x-worker-thread-6] INFO PostgresClient [25376188eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = test_invoices98_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows 08:29:38.220 [vert.x-worker-thread-6] INFO PostgresClient [25376188eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_invoices98_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; IF est_count < 1000 THEN RETURN 1000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT 08:29:38.221 [vert.x-worker-thread-6] INFO PostgresClient [25376189eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_invoices98_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 08:29:38.221 [vert.x-worker-thread-6] INFO PostgresClient [25376189eqId] trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || E'\u0330\u0 08:29:38.222 [vert.x-worker-thread-6] INFO PostgresClient [25376190eqId] Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE 08:29:38.222 [vert.x-worker-thread-6] INFO PostgresClient [25376190eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.223 [vert.x-worker-thread-6] INFO PostgresClient [25376191eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, 08:29:38.223 [vert.x-worker-thread-6] INFO PostgresClient [25376191eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_invoices98_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.223 [vert.x-worker-thread-6] INFO PostgresClient [25376191eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_invoices98_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.223 [vert.x-worker-thread-6] INFO PostgresClient [25376191eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_invoices98_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.224 [vert.x-worker-thread-6] INFO PostgresClient [25376192eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_invoices98_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.224 [vert.x-worker-thread-6] INFO PostgresClient [25376192eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.224 [vert.x-worker-thread-6] INFO PostgresClient [25376192eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' 08:29:38.225 [vert.x-worker-thread-6] INFO PostgresClient [25376193eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 08:29:38.225 [vert.x-worker-thread-6] INFO PostgresClient [25376193eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices98_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 08:29:38.225 [vert.x-worker-thread-6] INFO PostgresClient [25376193eqId] trying to execute: create or replace function test_invoices98_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 08:29:38.225 [vert.x-worker-thread-6] INFO PostgresClient [25376193eqId] Successfully executed: create or replace function test_invoices98_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 08:29:38.226 [vert.x-worker-thread-6] INFO PostgresClient [25376194eqId] trying to execute: create or replace function test_invoices98_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.226 [vert.x-worker-thread-6] INFO PostgresClient [25376194eqId] Successfully executed: create or replace function test_invoices98_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.226 [vert.x-worker-thread-6] INFO PostgresClient [25376194eqId] trying to execute: create or replace function test_invoices98_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.226 [vert.x-worker-thread-6] INFO PostgresClient [25376194eqId] Successfully executed: create or replace function test_invoices98_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.227 [vert.x-worker-thread-6] INFO PostgresClient [25376195eqId] trying to execute: create or replace function test_invoices98_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.227 [vert.x-worker-thread-6] INFO PostgresClient [25376195eqId] Successfully executed: create or replace function test_invoices98_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.227 [vert.x-worker-thread-6] INFO PostgresClient [25376195eqId] trying to execute: create or replace function test_invoices98_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.227 [vert.x-worker-thread-6] INFO PostgresClient [25376195eqId] Successfully executed: create or replace function test_invoices98_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 08:29:38.227 [vert.x-worker-thread-6] INFO PostgresClient [25376195eqId] trying to execute: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM test_invoices98_mod_source_record_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_invoices98_mod_source_record_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_invoices98_mod_source_record_storage.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER INDEX I 08:29:38.228 [vert.x-worker-thread-6] INFO PostgresClient [25376196eqId] Successfully executed: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EX 08:29:38.228 [vert.x-worker-thread-6] INFO PostgresClient [25376196eqId] trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_invoices98_mod_source_record_storage 08:29:38.228 [vert.x-worker-thread-6] INFO PostgresClient [25376196eqId] Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_invoices98_mod_source_record_storage 08:29:38.229 [vert.x-worker-thread-6] INFO PostgresClient [25376197eqId] trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC 08:29:38.229 [vert.x-worker-thread-6] INFO PostgresClient [25376197eqId] Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC 08:29:38.229 [vert.x-worker-thread-6] INFO PostgresClient [25376197eqId] trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_invoices98_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 08:29:38.229 [vert.x-worker-thread-6] INFO PostgresClient [25376197eqId] Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_invoices98_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 08:29:38.230 [vert.x-worker-thread-6] INFO PostgresClient [25376198eqId] trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_invoices98_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'test_invoices98_mod_source_record_storage' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'test_invoices98_mod_source_record_storage.\1', 'g'); IF newindexdef <> i.indexdef THEN EXECUTE 'DROP INDEX ' || i.indexname; EXECUTE newindexdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; END IF; END LOOP; END $$ 08:29:38.230 [vert.x-worker-thread-6] INFO PostgresClient [25376198eqId] Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_invoices98_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'test_ 08:29:38.230 [vert.x-worker-thread-6] INFO PostgresClient [25376198eqId] trying to execute: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 08:29:38.231 [vert.x-worker-thread-6] INFO PostgresClient [25376199eqId] Successfully executed: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 08:29:38.231 [vert.x-worker-thread-6] INFO PostgresClient [25376199eqId] trying to execute: TRUNCATE rmb_internal_analyze 08:29:38.233 [vert.x-worker-thread-6] INFO PostgresClient [25376201eqId] Successfully executed: TRUNCATE rmb_internal_analyze 08:29:38.234 [vert.x-worker-thread-6] INFO PostgresClient [25376202eqId] trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_invoices98_mod_source_record_storage TO test_invoices98_mod_source_record_storage 08:29:38.236 [vert.x-worker-thread-6] INFO PostgresClient [25376204eqId] Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_invoices98_mod_source_record_storage TO test_invoices98_mod_source_record_storage 08:29:38.236 [vert.x-worker-thread-6] INFO PostgresClient [25376204eqId] trying to execute: UPDATE test_invoices98_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 08:29:38.236 [vert.x-worker-thread-6] INFO PostgresClient [25376204eqId] Successfully executed: UPDATE test_invoices98_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 08:29:38.238 [vert.x-worker-thread-6] INFO PostgresClient [25376206eqId] Successfully committed: 1532078924 08:29:38.239 [vert.x-worker-thread-7] INFO LiquibaseUtil [25376207eqId] Initializing schema test_invoices98_mod_source_record_storage for tenant test_invoices98 08:29:38.239 [vert.x-worker-thread-7] INFO leConnectionProvider [25376207eqId] Attempting to get connection for test_invoices98 08:29:38.239 [vert.x-worker-thread-7] INFO PostgresClient [25376207eqId] DB config read from environment variables 08:29:38.239 [vert.x-worker-thread-7] INFO PostgresClient [25376207eqId] Using schema: test_invoices98 08:29:38.239 [vert.x-worker-thread-7] INFO PostgresClient [25376207eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"test_invoices98_mod_source_record_storage","database":"okapi_modules","password":"..."} 08:29:38.245 [vert.x-worker-thread-7] INFO Slf4jLogger [25376213eqId] SELECT COUNT(*) FROM test_invoices98_mod_source_record_storage.databasechangeloglock 08:29:38.246 [vert.x-worker-thread-7] INFO Slf4jLogger [25376214eqId] CREATE TABLE test_invoices98_mod_source_record_storage.databasechangeloglock (ID INTEGER NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITHOUT TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT DATABASECHANGELOGLOCK_PKEY PRIMARY KEY (ID)) 08:29:38.251 [vert.x-worker-thread-7] INFO Slf4jLogger [25376219eqId] SELECT COUNT(*) FROM test_invoices98_mod_source_record_storage.databasechangeloglock 08:29:38.252 [vert.x-worker-thread-7] INFO Slf4jLogger [25376220eqId] DELETE FROM test_invoices98_mod_source_record_storage.databasechangeloglock 08:29:38.252 [vert.x-worker-thread-7] INFO Slf4jLogger [25376220eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangeloglock (ID, LOCKED) VALUES (1, FALSE) 08:29:38.253 [vert.x-worker-thread-7] INFO Slf4jLogger [25376221eqId] SELECT LOCKED FROM test_invoices98_mod_source_record_storage.databasechangeloglock WHERE ID=1 08:29:38.255 [vert.x-worker-thread-7] INFO Slf4jLogger [25376223eqId] Successfully acquired change log lock 08:29:39.295 [vert.x-worker-thread-7] INFO Slf4jLogger [25377263eqId] Creating database history table with name: test_invoices98_mod_source_record_storage.databasechangelog 08:29:39.295 [vert.x-worker-thread-7] INFO Slf4jLogger [25377263eqId] CREATE TABLE test_invoices98_mod_source_record_storage.databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10)) 08:29:39.300 [vert.x-worker-thread-7] INFO Slf4jLogger [25377268eqId] SELECT COUNT(*) FROM test_invoices98_mod_source_record_storage.databasechangelog 08:29:39.301 [vert.x-worker-thread-7] INFO Slf4jLogger [25377269eqId] Reading from test_invoices98_mod_source_record_storage.databasechangelog 08:29:39.301 [vert.x-worker-thread-7] INFO Slf4jLogger [25377269eqId] SELECT * FROM test_invoices98_mod_source_record_storage.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC 08:29:39.302 [vert.x-worker-thread-7] INFO Slf4jLogger [25377270eqId] SELECT COUNT(*) FROM test_invoices98_mod_source_record_storage.databasechangeloglock 08:29:39.335 [vert.x-worker-thread-7] INFO Slf4jLogger [25377303eqId] CREATE TYPE test_invoices98_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 08:29:39.336 [vert.x-worker-thread-7] INFO Slf4jLogger [25377304eqId] Custom SQL executed 08:29:39.337 [vert.x-worker-thread-7] INFO Slf4jLogger [25377305eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-00-create-job-execution-status::WilliamWelling ran successfully in 3ms 08:29:39.337 [vert.x-worker-thread-7] INFO Slf4jLogger [25377305eqId] SELECT MAX(ORDEREXECUTED) FROM test_invoices98_mod_source_record_storage.databasechangelog 08:29:39.338 [vert.x-worker-thread-7] INFO Slf4jLogger [25377306eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 1, '8:5afd8165f5688f376a4e784f63cff8dc', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.340 [vert.x-worker-thread-7] INFO Slf4jLogger [25377308eqId] CREATE TABLE test_invoices98_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status TEST_INVOICES98_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 08:29:39.344 [vert.x-worker-thread-7] INFO Slf4jLogger [25377312eqId] Table snapshots_lb created 08:29:39.345 [vert.x-worker-thread-7] INFO Slf4jLogger [25377313eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 08:29:39.345 [vert.x-worker-thread-7] INFO Slf4jLogger [25377313eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 2, '8:064394f2cee49967182e2914b3c45d17', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.346 [vert.x-worker-thread-7] INFO Slf4jLogger [25377314eqId] create function test_invoices98_mod_source_record_storage.update_snapshots_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 08:29:39.348 [vert.x-worker-thread-7] INFO Slf4jLogger [25377316eqId] Stored procedure created 08:29:39.349 [vert.x-worker-thread-7] INFO Slf4jLogger [25377317eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-02-create-update-snapshots-set-updated-date-function::WilliamWelling ran successfully in 3ms 08:29:39.349 [vert.x-worker-thread-7] INFO Slf4jLogger [25377317eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-02-create-update-snapshots-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 3, '8:21d15ee68155cd46f7682bda8cf88cda', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.350 [vert.x-worker-thread-7] INFO Slf4jLogger [25377318eqId] create trigger update_snapshots_set_updated_date before insert or update on test_invoices98_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices98_mod_source_record_storage.update_snapshots_set_updated_date() 08:29:39.351 [vert.x-worker-thread-7] INFO Slf4jLogger [25377319eqId] Custom SQL executed 08:29:39.352 [vert.x-worker-thread-7] INFO Slf4jLogger [25377320eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 08:29:39.352 [vert.x-worker-thread-7] INFO Slf4jLogger [25377320eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 4, '8:6ade5ffc3030687dca36eda5d33ab729', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.353 [vert.x-worker-thread-7] INFO Slf4jLogger [25377321eqId] create function test_invoices98_mod_source_record_storage.insert_snapshots_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 08:29:39.354 [vert.x-worker-thread-7] INFO Slf4jLogger [25377322eqId] Stored procedure created 08:29:39.355 [vert.x-worker-thread-7] INFO Slf4jLogger [25377323eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-04-create-insert-snapshots-set-created-date-function::WilliamWelling ran successfully in 2ms 08:29:39.355 [vert.x-worker-thread-7] INFO Slf4jLogger [25377323eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-04-create-insert-snapshots-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 5, '8:711dfb59814b4cfe9f663b09d07b15ba', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.356 [vert.x-worker-thread-7] INFO Slf4jLogger [25377324eqId] create trigger insert_snapshots_set_created_date before insert or update on test_invoices98_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices98_mod_source_record_storage.insert_snapshots_set_created_date() 08:29:39.357 [vert.x-worker-thread-7] INFO Slf4jLogger [25377325eqId] Custom SQL executed 08:29:39.358 [vert.x-worker-thread-7] INFO Slf4jLogger [25377326eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger::WilliamWelling ran successfully in 2ms 08:29:39.358 [vert.x-worker-thread-7] INFO Slf4jLogger [25377326eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 6, '8:863684f300186529be1c942343effc37', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.359 [vert.x-worker-thread-7] INFO Slf4jLogger [25377327eqId] CREATE TYPE test_invoices98_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 08:29:39.360 [vert.x-worker-thread-7] INFO Slf4jLogger [25377328eqId] Custom SQL executed 08:29:39.361 [vert.x-worker-thread-7] INFO Slf4jLogger [25377329eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-00-create-record-type::WilliamWelling ran successfully in 2ms 08:29:39.361 [vert.x-worker-thread-7] INFO Slf4jLogger [25377329eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 7, '8:35068d6b3f16434fdf113ed89bb10b01', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.363 [vert.x-worker-thread-7] INFO Slf4jLogger [25377331eqId] CREATE TYPE test_invoices98_mod_source_record_storage.record_state_type AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 08:29:39.363 [vert.x-worker-thread-7] INFO Slf4jLogger [25377331eqId] Custom SQL executed 08:29:39.364 [vert.x-worker-thread-7] INFO Slf4jLogger [25377332eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 08:29:39.364 [vert.x-worker-thread-7] INFO Slf4jLogger [25377332eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 8, '8:cd5bccbe02d28e57781a0d1c99b0baf3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.366 [vert.x-worker-thread-7] INFO Slf4jLogger [25377334eqId] CREATE TABLE test_invoices98_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshotid UUID NOT NULL, matchedid UUID NOT NULL, generation INTEGER NOT NULL, recordtype TEST_INVOICES98_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instanceid UUID, state TEST_INVOICES98_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE_TYPE NOT NULL, orderinfile INTEGER, suppressdiscovery BOOLEAN, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.369 [vert.x-worker-thread-7] INFO Slf4jLogger [25377337eqId] Table records_lb created 08:29:39.370 [vert.x-worker-thread-7] INFO Slf4jLogger [25377338eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-02-create-records-table::WilliamWelling ran successfully in 5ms 08:29:39.370 [vert.x-worker-thread-7] INFO Slf4jLogger [25377338eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 9, '8:0b675fa75917bd17995f1b118b9562ad', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.371 [vert.x-worker-thread-7] INFO Slf4jLogger [25377339eqId] ALTER TABLE test_invoices98_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshotid) REFERENCES test_invoices98_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.373 [vert.x-worker-thread-7] INFO Slf4jLogger [25377341eqId] Foreign key constraint added to records_lb (snapshotid) 08:29:39.374 [vert.x-worker-thread-7] INFO Slf4jLogger [25377342eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 3ms 08:29:39.374 [vert.x-worker-thread-7] INFO Slf4jLogger [25377342eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 10, '8:5ddae4b3cfffd2c3ff6199b41a5a7023', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.376 [vert.x-worker-thread-7] INFO Slf4jLogger [25377344eqId] ALTER TABLE test_invoices98_mod_source_record_storage.records_lb ALTER COLUMN suppressdiscovery SET DEFAULT FALSE 08:29:39.376 [vert.x-worker-thread-7] INFO Slf4jLogger [25377344eqId] Default value added to records_lb.suppressdiscovery 08:29:39.377 [vert.x-worker-thread-7] INFO Slf4jLogger [25377345eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-04-set-records-suppressdiscovery-default::WilliamWelling ran successfully in 2ms 08:29:39.377 [vert.x-worker-thread-7] INFO Slf4jLogger [25377345eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-04-set-records-suppressdiscovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 11, '8:625963e304ffb23796154db7688172dc', 'addDefaultValue columnName=suppressdiscovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.379 [vert.x-worker-thread-7] INFO Slf4jLogger [25377347eqId] CREATE INDEX idx_records_snapshotid ON test_invoices98_mod_source_record_storage.records_lb(snapshotid) 08:29:39.382 [vert.x-worker-thread-7] INFO Slf4jLogger [25377350eqId] Index idx_records_snapshotid created 08:29:39.383 [vert.x-worker-thread-7] INFO Slf4jLogger [25377351eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 08:29:39.383 [vert.x-worker-thread-7] INFO Slf4jLogger [25377351eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 12, '8:8195973fcce5c477be357b9b53135ae7', 'createIndex indexName=idx_records_snapshotid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.384 [vert.x-worker-thread-7] INFO Slf4jLogger [25377352eqId] CREATE INDEX idx_records_instanceid ON test_invoices98_mod_source_record_storage.records_lb(instanceid) 08:29:39.387 [vert.x-worker-thread-7] INFO Slf4jLogger [25377355eqId] Index idx_records_instanceid created 08:29:39.388 [vert.x-worker-thread-7] INFO Slf4jLogger [25377356eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 08:29:39.388 [vert.x-worker-thread-7] INFO Slf4jLogger [25377356eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 13, '8:12333295dadf573dcc2567fe9ea0e66f', 'createIndex indexName=idx_records_instanceid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.389 [vert.x-worker-thread-7] INFO Slf4jLogger [25377357eqId] CREATE UNIQUE INDEX idx_records_matchedid_gen ON test_invoices98_mod_source_record_storage.records_lb(matchedid, generation) 08:29:39.392 [vert.x-worker-thread-7] INFO Slf4jLogger [25377360eqId] Index idx_records_matchedid_gen created 08:29:39.393 [vert.x-worker-thread-7] INFO Slf4jLogger [25377361eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 4ms 08:29:39.393 [vert.x-worker-thread-7] INFO Slf4jLogger [25377361eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 14, '8:96564ae896b520574e1e0896326deffa', 'createIndex indexName=idx_records_matchedid_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.394 [vert.x-worker-thread-7] INFO Slf4jLogger [25377362eqId] CREATE INDEX idx_records_updateddate ON test_invoices98_mod_source_record_storage.records_lb(updateddate) 08:29:39.397 [vert.x-worker-thread-7] INFO Slf4jLogger [25377365eqId] Index idx_records_updateddate created 08:29:39.398 [vert.x-worker-thread-7] INFO Slf4jLogger [25377366eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-08-create-records-updateddate-index::WilliamWelling ran successfully in 4ms 08:29:39.398 [vert.x-worker-thread-7] INFO Slf4jLogger [25377366eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-08-create-records-updateddate-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 15, '8:137de4ab9686a45c11f292b4a1552498', 'createIndex indexName=idx_records_updateddate, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.400 [vert.x-worker-thread-7] INFO Slf4jLogger [25377368eqId] CREATE INDEX idx_records_matchedid_state ON test_invoices98_mod_source_record_storage.records_lb(matchedid, state) 08:29:39.402 [vert.x-worker-thread-7] INFO Slf4jLogger [25377370eqId] Index idx_records_matchedid_state created 08:29:39.403 [vert.x-worker-thread-7] INFO Slf4jLogger [25377371eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-09-create-records-matchedid-state-index::WilliamWelling ran successfully in 4ms 08:29:39.403 [vert.x-worker-thread-7] INFO Slf4jLogger [25377371eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-09-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 16, '8:ef7b6450c40e7c43eff65e6a71bce047', 'createIndex indexName=idx_records_matchedid_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.405 [vert.x-worker-thread-7] INFO Slf4jLogger [25377373eqId] create function test_invoices98_mod_source_record_storage.update_records_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 08:29:39.405 [vert.x-worker-thread-7] INFO Slf4jLogger [25377373eqId] Stored procedure created 08:29:39.406 [vert.x-worker-thread-7] INFO Slf4jLogger [25377374eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-10-create-update-records-set-updated-date-function::WilliamWelling ran successfully in 1ms 08:29:39.406 [vert.x-worker-thread-7] INFO Slf4jLogger [25377374eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-10-create-update-records-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 17, '8:78eb6950e2acff4331c070078ead7650', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.408 [vert.x-worker-thread-7] INFO Slf4jLogger [25377376eqId] create trigger update_records_set_updated_date before insert or update on test_invoices98_mod_source_record_storage.records_lb for each row execute procedure test_invoices98_mod_source_record_storage.update_records_set_updated_date() 08:29:39.408 [vert.x-worker-thread-7] INFO Slf4jLogger [25377376eqId] Custom SQL executed 08:29:39.409 [vert.x-worker-thread-7] INFO Slf4jLogger [25377377eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-11-create-update-records-set-updated-date-trigger::WilliamWelling ran successfully in 1ms 08:29:39.410 [vert.x-worker-thread-7] INFO Slf4jLogger [25377378eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-11-create-update-records-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 18, '8:55ab1091217d7e34c16f3c3769bf8d6b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.411 [vert.x-worker-thread-7] INFO Slf4jLogger [25377379eqId] create function test_invoices98_mod_source_record_storage.insert_records_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 08:29:39.411 [vert.x-worker-thread-7] INFO Slf4jLogger [25377379eqId] Stored procedure created 08:29:39.412 [vert.x-worker-thread-7] INFO Slf4jLogger [25377380eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-12-create-insert-records-set-created-date-function::WilliamWelling ran successfully in 1ms 08:29:39.413 [vert.x-worker-thread-7] INFO Slf4jLogger [25377381eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-12-create-insert-records-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 19, '8:c813dbf7d3a2137f2313d12b13e1c8fe', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.414 [vert.x-worker-thread-7] INFO Slf4jLogger [25377382eqId] create trigger insert_records_set_created_date before insert or update on test_invoices98_mod_source_record_storage.records_lb for each row execute procedure test_invoices98_mod_source_record_storage.insert_records_set_created_date() 08:29:39.415 [vert.x-worker-thread-7] INFO Slf4jLogger [25377383eqId] Custom SQL executed 08:29:39.415 [vert.x-worker-thread-7] INFO Slf4jLogger [25377383eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-13-create-insert-records-set-created-date-trigger::WilliamWelling ran successfully in 1ms 08:29:39.416 [vert.x-worker-thread-7] INFO Slf4jLogger [25377384eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-13-create-insert-records-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 20, '8:291897e6d017be5f32aee5c7fc6948f8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.417 [vert.x-worker-thread-7] INFO Slf4jLogger [25377385eqId] CREATE TABLE test_invoices98_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.422 [vert.x-worker-thread-7] INFO Slf4jLogger [25377390eqId] Table raw_records_lb created 08:29:39.423 [vert.x-worker-thread-7] INFO Slf4jLogger [25377391eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-00-create-raw-records-table::WilliamWelling ran successfully in 6ms 08:29:39.423 [vert.x-worker-thread-7] INFO Slf4jLogger [25377391eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 21, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.425 [vert.x-worker-thread-7] INFO Slf4jLogger [25377393eqId] ALTER TABLE test_invoices98_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES test_invoices98_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.426 [vert.x-worker-thread-7] INFO Slf4jLogger [25377394eqId] Foreign key constraint added to raw_records_lb (id) 08:29:39.427 [vert.x-worker-thread-7] INFO Slf4jLogger [25377395eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 2ms 08:29:39.427 [vert.x-worker-thread-7] INFO Slf4jLogger [25377395eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 22, '8:e9df6a1185645735b74cf70888be9635', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.429 [vert.x-worker-thread-7] INFO Slf4jLogger [25377397eqId] CREATE TABLE test_invoices98_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.434 [vert.x-worker-thread-7] INFO Slf4jLogger [25377402eqId] Table marc_records_lb created 08:29:39.436 [vert.x-worker-thread-7] INFO Slf4jLogger [25377404eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 08:29:39.436 [vert.x-worker-thread-7] INFO Slf4jLogger [25377404eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 23, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.437 [vert.x-worker-thread-7] INFO Slf4jLogger [25377405eqId] ALTER TABLE test_invoices98_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES test_invoices98_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.439 [vert.x-worker-thread-7] INFO Slf4jLogger [25377407eqId] Foreign key constraint added to marc_records_lb (id) 08:29:39.439 [vert.x-worker-thread-7] INFO Slf4jLogger [25377407eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 08:29:39.440 [vert.x-worker-thread-7] INFO Slf4jLogger [25377408eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 24, '8:6edefb760cafc52ed4bed16ac33bbd15', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.442 [vert.x-worker-thread-7] INFO Slf4jLogger [25377410eqId] CREATE TABLE test_invoices98_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content JSONB NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.447 [vert.x-worker-thread-7] INFO Slf4jLogger [25377415eqId] Table error_records_lb created 08:29:39.448 [vert.x-worker-thread-7] INFO Slf4jLogger [25377416eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 08:29:39.449 [vert.x-worker-thread-7] INFO Slf4jLogger [25377417eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 25, '8:68a49e6c5b8e9ef40437e9fd0dac384e', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.450 [vert.x-worker-thread-7] INFO Slf4jLogger [25377418eqId] ALTER TABLE test_invoices98_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES test_invoices98_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.451 [vert.x-worker-thread-7] INFO Slf4jLogger [25377419eqId] Foreign key constraint added to error_records_lb (id) 08:29:39.452 [vert.x-worker-thread-7] INFO Slf4jLogger [25377420eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 08:29:39.452 [vert.x-worker-thread-7] INFO Slf4jLogger [25377420eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 26, '8:5810c6475fb17537243e7e0db149584d', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.454 [vert.x-worker-thread-7] INFO Slf4jLogger [25377422eqId] create function test_invoices98_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from test_invoices98_mod_source_record_storage.records_lb rds where rds.matchedid = p_id and rds.state = 'ACTUAL') r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:29:39.455 [vert.x-worker-thread-7] INFO Slf4jLogger [25377423eqId] Stored procedure created 08:29:39.456 [vert.x-worker-thread-7] INFO Slf4jLogger [25377424eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-00-create-get-source-marc-record-by-id-function::WilliamWelling ran successfully in 2ms 08:29:39.456 [vert.x-worker-thread-7] INFO Slf4jLogger [25377424eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-00-create-get-source-marc-record-by-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 27, '8:74d1bcabfd9e5fe60b4c0045b0a85ffb', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.458 [vert.x-worker-thread-7] INFO Slf4jLogger [25377426eqId] create function test_invoices98_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices98_mod_source_record_storage.records_lb rds where rds.matchedid = p_id) rr where generation = max_generation) r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:29:39.458 [vert.x-worker-thread-7] INFO Slf4jLogger [25377426eqId] Stored procedure created 08:29:39.459 [vert.x-worker-thread-7] INFO Slf4jLogger [25377427eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function::WilliamWelling ran successfully in 2ms 08:29:39.460 [vert.x-worker-thread-7] INFO Slf4jLogger [25377428eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 28, '8:6d3128c4ca2564d579d705f66375a531', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.461 [vert.x-worker-thread-7] INFO Slf4jLogger [25377429eqId] create function test_invoices98_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from test_invoices98_mod_source_record_storage.records_lb rds where rds.instanceId = p_instanceId and rds.state = 'ACTUAL') r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:29:39.461 [vert.x-worker-thread-7] INFO Slf4jLogger [25377429eqId] Stored procedure created 08:29:39.462 [vert.x-worker-thread-7] INFO Slf4jLogger [25377430eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function::WilliamWelling ran successfully in 1ms 08:29:39.463 [vert.x-worker-thread-7] INFO Slf4jLogger [25377431eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 29, '8:e6e717bb63c65228f91f0306ddec93f1', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.464 [vert.x-worker-thread-7] INFO Slf4jLogger [25377432eqId] create function test_invoices98_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices98_mod_source_record_storage.records_lb rds where rds.instanceid = p_instanceId) rr where generation = max_generation) r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 08:29:39.465 [vert.x-worker-thread-7] INFO Slf4jLogger [25377433eqId] Stored procedure created 08:29:39.466 [vert.x-worker-thread-7] INFO Slf4jLogger [25377434eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function::WilliamWelling ran successfully in 2ms 08:29:39.466 [vert.x-worker-thread-7] INFO Slf4jLogger [25377434eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 30, '8:7399edea45fe3ceb4c7a89c5460bdbbd', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.467 [vert.x-worker-thread-7] INFO Slf4jLogger [25377435eqId] create function test_invoices98_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select id, matchedid from test_invoices98_mod_source_record_storage.records_lb where state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:29:39.468 [vert.x-worker-thread-7] INFO Slf4jLogger [25377436eqId] Stored procedure created 08:29:39.469 [vert.x-worker-thread-7] INFO Slf4jLogger [25377437eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-04-create-get-all-source-marc-records-function::WilliamWelling ran successfully in 2ms 08:29:39.469 [vert.x-worker-thread-7] INFO Slf4jLogger [25377437eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-04-create-get-all-source-marc-records-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 31, '8:3238b8da18089be895e8d6a8c6aa8784', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.470 [vert.x-worker-thread-7] INFO Slf4jLogger [25377438eqId] create function test_invoices98_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select matchedid, id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices98_mod_source_record_storage.records_lb ) rr where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:29:39.471 [vert.x-worker-thread-7] INFO Slf4jLogger [25377439eqId] Stored procedure created 08:29:39.472 [vert.x-worker-thread-7] INFO Slf4jLogger [25377440eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-05-create-get-all-source-marc-records-alt-function::WilliamWelling ran successfully in 2ms 08:29:39.472 [vert.x-worker-thread-7] INFO Slf4jLogger [25377440eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-05-create-get-all-source-marc-records-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 32, '8:9626540f356ef68baa0b1190aed9af48', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.474 [vert.x-worker-thread-7] INFO Slf4jLogger [25377442eqId] create function test_invoices98_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from test_invoices98_mod_source_record_storage.records_lb where updateddate between p_from and p_till and state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:29:39.474 [vert.x-worker-thread-7] INFO Slf4jLogger [25377442eqId] Stored procedure created 08:29:39.475 [vert.x-worker-thread-7] INFO Slf4jLogger [25377443eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-06-create-get-source-marc-records-for-period::WilliamWelling ran successfully in 2ms 08:29:39.475 [vert.x-worker-thread-7] INFO Slf4jLogger [25377443eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-06-create-get-source-marc-records-for-period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 33, '8:a66ab2e4facc209ffac451770da1dd5d', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.477 [vert.x-worker-thread-7] INFO Slf4jLogger [25377445eqId] create function test_invoices98_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from ( select id, matchedid, updateddate, generation, max(generation) over (partition by matchedid) max_generation from test_invoices98_mod_source_record_storage.records_lb where updateddate between p_from and p_till ) r where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join test_invoices98_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 08:29:39.478 [vert.x-worker-thread-7] INFO Slf4jLogger [25377446eqId] Stored procedure created 08:29:39.478 [vert.x-worker-thread-7] INFO Slf4jLogger [25377446eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-07-create-get-source-marc-records-for-period-alt::WilliamWelling ran successfully in 1ms 08:29:39.479 [vert.x-worker-thread-7] INFO Slf4jLogger [25377447eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-07-create-get-source-marc-records-for-period-alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 34, '8:2c99f7ce5b5e775a96f7e79a25b375c3', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.480 [vert.x-worker-thread-7] INFO Slf4jLogger [25377448eqId] CREATE FUNCTION test_invoices98_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) RETURNS integer AS $generation$ DECLARE generation integer; BEGIN SELECT COALESCE(MAX(r.generation), 0) into generation FROM test_invoices98_mod_source_record_storage.records_lb r INNER JOIN test_invoices98_mod_source_record_storage.snapshots_lb s ON r.snapshotid = s.id WHERE r.matchedid = p_matchedid AND s.status = 'COMMITTED' AND s.updateddate < ( SELECT processing_started_date FROM test_invoices98_mod_source_record_storage.snapshots_lb WHERE id = p_snapshotid )::timestamptz; RETURN generation; END; $generation$ LANGUAGE plpgsql 08:29:39.481 [vert.x-worker-thread-7] INFO Slf4jLogger [25377449eqId] Stored procedure created 08:29:39.492 [vert.x-worker-thread-7] INFO Slf4jLogger [25377460eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml::2020-05-18--08-00-create-get-record-generation-function::WilliamWelling ran successfully in 12ms 08:29:39.492 [vert.x-worker-thread-7] INFO Slf4jLogger [25377460eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-05-18--08-00-create-get-record-generation-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml', NOW(), 35, '8:572e05b8fe41e5e535b6a32d9b242390', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.494 [vert.x-worker-thread-7] INFO Slf4jLogger [25377462eqId] DROP TABLE test_invoices98_mod_source_record_storage.error_records_lb 08:29:39.495 [vert.x-worker-thread-7] INFO Slf4jLogger [25377463eqId] Table error_records_lb dropped 08:29:39.496 [vert.x-worker-thread-7] INFO Slf4jLogger [25377464eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-00-drop-error-records-lb-table::WilliamWelling ran successfully in 2ms 08:29:39.496 [vert.x-worker-thread-7] INFO Slf4jLogger [25377464eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-00-drop-error-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 36, '8:f8a9162b71f000e940a6d144e1cb1e3a', 'dropTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.498 [vert.x-worker-thread-7] INFO Slf4jLogger [25377466eqId] DROP TABLE test_invoices98_mod_source_record_storage.marc_records_lb 08:29:39.499 [vert.x-worker-thread-7] INFO Slf4jLogger [25377467eqId] Table marc_records_lb dropped 08:29:39.500 [vert.x-worker-thread-7] INFO Slf4jLogger [25377468eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-01-drop-marc-records-lb-table::WilliamWelling ran successfully in 2ms 08:29:39.500 [vert.x-worker-thread-7] INFO Slf4jLogger [25377468eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-01-drop-marc-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 37, '8:fc3a9cde36ec872de24326e09ab231d1', 'dropTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.502 [vert.x-worker-thread-7] INFO Slf4jLogger [25377470eqId] DROP TABLE test_invoices98_mod_source_record_storage.raw_records_lb 08:29:39.503 [vert.x-worker-thread-7] INFO Slf4jLogger [25377471eqId] Table raw_records_lb dropped 08:29:39.504 [vert.x-worker-thread-7] INFO Slf4jLogger [25377472eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-02-drop-raw-records-lb-table::WilliamWelling ran successfully in 2ms 08:29:39.504 [vert.x-worker-thread-7] INFO Slf4jLogger [25377472eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-02-drop-raw-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 38, '8:075dca7a612ba7e4b54b721db4f5d2fc', 'dropTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.505 [vert.x-worker-thread-7] INFO Slf4jLogger [25377473eqId] DROP TABLE test_invoices98_mod_source_record_storage.records_lb 08:29:39.507 [vert.x-worker-thread-7] INFO Slf4jLogger [25377475eqId] Table records_lb dropped 08:29:39.508 [vert.x-worker-thread-7] INFO Slf4jLogger [25377476eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-03-drop-records-lb-table::WilliamWelling ran successfully in 3ms 08:29:39.508 [vert.x-worker-thread-7] INFO Slf4jLogger [25377476eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-03-drop-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 39, '8:ad614b7d8f54c0afc0132af7be99afba', 'dropTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.510 [vert.x-worker-thread-7] INFO Slf4jLogger [25377478eqId] DROP TYPE test_invoices98_mod_source_record_storage.record_type 08:29:39.510 [vert.x-worker-thread-7] INFO Slf4jLogger [25377478eqId] Custom SQL executed 08:29:39.511 [vert.x-worker-thread-7] INFO Slf4jLogger [25377479eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-04-drop-record_type::WilliamWelling ran successfully in 2ms 08:29:39.511 [vert.x-worker-thread-7] INFO Slf4jLogger [25377479eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-04-drop-record_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 40, '8:5a49dcbfee0f61f77f7039165472121c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.513 [vert.x-worker-thread-7] INFO Slf4jLogger [25377481eqId] DROP TYPE test_invoices98_mod_source_record_storage.record_state_type 08:29:39.513 [vert.x-worker-thread-7] INFO Slf4jLogger [25377481eqId] Custom SQL executed 08:29:39.514 [vert.x-worker-thread-7] INFO Slf4jLogger [25377482eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-05-drop-record_state_type::WilliamWelling ran successfully in 1ms 08:29:39.514 [vert.x-worker-thread-7] INFO Slf4jLogger [25377482eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-05-drop-record_state_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 41, '8:557a0888f69d9872654846d2985b7609', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.515 [vert.x-worker-thread-7] INFO Slf4jLogger [25377483eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.update_records_set_updated_date() 08:29:39.516 [vert.x-worker-thread-7] INFO Slf4jLogger [25377484eqId] Custom SQL executed 08:29:39.517 [vert.x-worker-thread-7] INFO Slf4jLogger [25377485eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-06-drop-update_records_set_updated_date::WilliamWelling ran successfully in 2ms 08:29:39.517 [vert.x-worker-thread-7] INFO Slf4jLogger [25377485eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-06-drop-update_records_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 42, '8:e1b6484918557c69b800f808427309f3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.518 [vert.x-worker-thread-7] INFO Slf4jLogger [25377486eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.insert_records_set_created_date() 08:29:39.519 [vert.x-worker-thread-7] INFO Slf4jLogger [25377487eqId] Custom SQL executed 08:29:39.519 [vert.x-worker-thread-7] INFO Slf4jLogger [25377487eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-07-drop-insert_records_set_created_date::WilliamWelling ran successfully in 1ms 08:29:39.520 [vert.x-worker-thread-7] INFO Slf4jLogger [25377488eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-07-drop-insert_records_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 43, '8:13782a062b58eeb6ffd455081e48ca3b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.521 [vert.x-worker-thread-7] INFO Slf4jLogger [25377489eqId] DROP TABLE test_invoices98_mod_source_record_storage.snapshots_lb 08:29:39.522 [vert.x-worker-thread-7] INFO Slf4jLogger [25377490eqId] Table snapshots_lb dropped 08:29:39.522 [vert.x-worker-thread-7] INFO Slf4jLogger [25377490eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-08-drop-snapshots-lb-table::WilliamWelling ran successfully in 1ms 08:29:39.523 [vert.x-worker-thread-7] INFO Slf4jLogger [25377491eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-08-drop-snapshots-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 44, '8:b0264cca3bb9393f7bd5d935889a044a', 'dropTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.524 [vert.x-worker-thread-7] INFO Slf4jLogger [25377492eqId] DROP TYPE test_invoices98_mod_source_record_storage.job_execution_status 08:29:39.524 [vert.x-worker-thread-7] INFO Slf4jLogger [25377492eqId] Custom SQL executed 08:29:39.525 [vert.x-worker-thread-7] INFO Slf4jLogger [25377493eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-09-drop-job_execution_status::WilliamWelling ran successfully in 1ms 08:29:39.526 [vert.x-worker-thread-7] INFO Slf4jLogger [25377494eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-09-drop-job_execution_status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 45, '8:a314b509188102f0b47d693914e27a13', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.527 [vert.x-worker-thread-7] INFO Slf4jLogger [25377495eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.update_snapshots_set_updated_date() 08:29:39.527 [vert.x-worker-thread-7] INFO Slf4jLogger [25377495eqId] Custom SQL executed 08:29:39.528 [vert.x-worker-thread-7] INFO Slf4jLogger [25377496eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-10-drop-update_snapshots_set_updated_date::WilliamWelling ran successfully in 1ms 08:29:39.528 [vert.x-worker-thread-7] INFO Slf4jLogger [25377496eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-10-drop-update_snapshots_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 46, '8:58cd53a24890b714cf87ec97ddd3b57c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.530 [vert.x-worker-thread-7] INFO Slf4jLogger [25377498eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.insert_snapshots_set_created_date() 08:29:39.530 [vert.x-worker-thread-7] INFO Slf4jLogger [25377498eqId] Custom SQL executed 08:29:39.531 [vert.x-worker-thread-7] INFO Slf4jLogger [25377499eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-11-drop-insert_snapshots_set_created_date::WilliamWelling ran successfully in 1ms 08:29:39.531 [vert.x-worker-thread-7] INFO Slf4jLogger [25377499eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-11-drop-insert_snapshots_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 47, '8:240490075119d9c33a83229cef457fb6', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.533 [vert.x-worker-thread-7] INFO Slf4jLogger [25377501eqId] CREATE TYPE test_invoices98_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 08:29:39.534 [vert.x-worker-thread-7] INFO Slf4jLogger [25377502eqId] Custom SQL executed 08:29:39.535 [vert.x-worker-thread-7] INFO Slf4jLogger [25377503eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-00-create-job-execution-status::WilliamWelling ran successfully in 2ms 08:29:39.535 [vert.x-worker-thread-7] INFO Slf4jLogger [25377503eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 48, '8:5afd8165f5688f376a4e784f63cff8dc', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.537 [vert.x-worker-thread-7] INFO Slf4jLogger [25377505eqId] CREATE TABLE test_invoices98_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status TEST_INVOICES98_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 08:29:39.541 [vert.x-worker-thread-7] INFO Slf4jLogger [25377509eqId] Table snapshots_lb created 08:29:39.543 [vert.x-worker-thread-7] INFO Slf4jLogger [25377511eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-01-create-snapshots-table::WilliamWelling ran successfully in 7ms 08:29:39.543 [vert.x-worker-thread-7] INFO Slf4jLogger [25377511eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 49, '8:66dcb577b304d817f4f44cef7cec0c48', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.545 [vert.x-worker-thread-7] INFO Slf4jLogger [25377513eqId] create function test_invoices98_mod_source_record_storage.insert_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 08:29:39.545 [vert.x-worker-thread-7] INFO Slf4jLogger [25377513eqId] Stored procedure created 08:29:39.546 [vert.x-worker-thread-7] INFO Slf4jLogger [25377514eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-02-create-insert-snapshots-set-dates-function::WilliamWelling ran successfully in 1ms 08:29:39.547 [vert.x-worker-thread-7] INFO Slf4jLogger [25377515eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-02-create-insert-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 50, '8:005bcf92c0ddd4f628bca0f69fb98e10', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.548 [vert.x-worker-thread-7] INFO Slf4jLogger [25377516eqId] create trigger insert_snapshots_set_dates before insert on test_invoices98_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices98_mod_source_record_storage.insert_snapshots_set_dates() 08:29:39.549 [vert.x-worker-thread-7] INFO Slf4jLogger [25377517eqId] Custom SQL executed 08:29:39.550 [vert.x-worker-thread-7] INFO Slf4jLogger [25377518eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-03-create-insert-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 08:29:39.550 [vert.x-worker-thread-7] INFO Slf4jLogger [25377518eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-03-create-insert-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 51, '8:0baf57bcdb5c26b149d9eae9628e4b80', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.552 [vert.x-worker-thread-7] INFO Slf4jLogger [25377520eqId] create function test_invoices98_mod_source_record_storage.update_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 08:29:39.553 [vert.x-worker-thread-7] INFO Slf4jLogger [25377521eqId] Stored procedure created 08:29:39.554 [vert.x-worker-thread-7] INFO Slf4jLogger [25377522eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-04-create-update-snapshots-set-dates-function::WilliamWelling ran successfully in 2ms 08:29:39.554 [vert.x-worker-thread-7] INFO Slf4jLogger [25377522eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-04-create-update-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 52, '8:e25a85298352edb668482c6ed236d7c8', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.555 [vert.x-worker-thread-7] INFO Slf4jLogger [25377523eqId] create trigger update_snapshots_set_dates before update on test_invoices98_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices98_mod_source_record_storage.update_snapshots_set_dates() 08:29:39.556 [vert.x-worker-thread-7] INFO Slf4jLogger [25377524eqId] Custom SQL executed 08:29:39.557 [vert.x-worker-thread-7] INFO Slf4jLogger [25377525eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-05-create-update-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 08:29:39.557 [vert.x-worker-thread-7] INFO Slf4jLogger [25377525eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-05-create-update-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 53, '8:91af99f93da76f60887208a30eb63700', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.558 [vert.x-worker-thread-7] INFO Slf4jLogger [25377526eqId] CREATE TYPE test_invoices98_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 08:29:39.559 [vert.x-worker-thread-7] INFO Slf4jLogger [25377527eqId] Custom SQL executed 08:29:39.560 [vert.x-worker-thread-7] INFO Slf4jLogger [25377528eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-00-create-record-type::WilliamWelling ran successfully in 2ms 08:29:39.560 [vert.x-worker-thread-7] INFO Slf4jLogger [25377528eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 54, '8:35068d6b3f16434fdf113ed89bb10b01', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.562 [vert.x-worker-thread-7] INFO Slf4jLogger [25377530eqId] CREATE TYPE test_invoices98_mod_source_record_storage.record_state AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 08:29:39.562 [vert.x-worker-thread-7] INFO Slf4jLogger [25377530eqId] Custom SQL executed 08:29:39.563 [vert.x-worker-thread-7] INFO Slf4jLogger [25377531eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 08:29:39.564 [vert.x-worker-thread-7] INFO Slf4jLogger [25377532eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 55, '8:5c8bafabf5f5dbcaeb401a93054b93e5', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.566 [vert.x-worker-thread-7] INFO Slf4jLogger [25377534eqId] CREATE TABLE test_invoices98_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshot_id UUID NOT NULL, matched_id UUID NOT NULL, generation INTEGER NOT NULL, record_type TEST_INVOICES98_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instance_id UUID, state TEST_INVOICES98_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE NOT NULL, leader_record_status CHAR(1), "order" INTEGER, suppress_discovery BOOLEAN, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.569 [vert.x-worker-thread-7] INFO Slf4jLogger [25377537eqId] Table records_lb created 08:29:39.570 [vert.x-worker-thread-7] INFO Slf4jLogger [25377538eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-02-create-records-table::WilliamWelling ran successfully in 5ms 08:29:39.570 [vert.x-worker-thread-7] INFO Slf4jLogger [25377538eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 56, '8:b3a655ce209ec832b06b50685acb1be1', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.572 [vert.x-worker-thread-7] INFO Slf4jLogger [25377540eqId] ALTER TABLE test_invoices98_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshot_id) REFERENCES test_invoices98_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.573 [vert.x-worker-thread-7] INFO Slf4jLogger [25377541eqId] Foreign key constraint added to records_lb (snapshot_id) 08:29:39.574 [vert.x-worker-thread-7] INFO Slf4jLogger [25377542eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 3ms 08:29:39.574 [vert.x-worker-thread-7] INFO Slf4jLogger [25377542eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 57, '8:1b7b5a5128cf47cf500e8f04cb78aa83', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.576 [vert.x-worker-thread-7] INFO Slf4jLogger [25377544eqId] ALTER TABLE test_invoices98_mod_source_record_storage.records_lb ALTER COLUMN suppress_discovery SET DEFAULT FALSE 08:29:39.576 [vert.x-worker-thread-7] INFO Slf4jLogger [25377544eqId] Default value added to records_lb.suppress_discovery 08:29:39.577 [vert.x-worker-thread-7] INFO Slf4jLogger [25377545eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-04-set-records-suppress-discovery-default::WilliamWelling ran successfully in 2ms 08:29:39.577 [vert.x-worker-thread-7] INFO Slf4jLogger [25377545eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-04-set-records-suppress-discovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 58, '8:9fd5f495defe1829a564782cb6e49e54', 'addDefaultValue columnName=suppress_discovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.579 [vert.x-worker-thread-7] INFO Slf4jLogger [25377547eqId] CREATE INDEX idx_records_snapshot_id ON test_invoices98_mod_source_record_storage.records_lb(snapshot_id) 08:29:39.582 [vert.x-worker-thread-7] INFO Slf4jLogger [25377550eqId] Index idx_records_snapshot_id created 08:29:39.582 [vert.x-worker-thread-7] INFO Slf4jLogger [25377550eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 3ms 08:29:39.583 [vert.x-worker-thread-7] INFO Slf4jLogger [25377551eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 59, '8:6bde5b4c5df708882f72dd665139e757', 'createIndex indexName=idx_records_snapshot_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.584 [vert.x-worker-thread-7] INFO Slf4jLogger [25377552eqId] CREATE INDEX idx_records_instance_id ON test_invoices98_mod_source_record_storage.records_lb(instance_id) 08:29:39.587 [vert.x-worker-thread-7] INFO Slf4jLogger [25377555eqId] Index idx_records_instance_id created 08:29:39.588 [vert.x-worker-thread-7] INFO Slf4jLogger [25377556eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 08:29:39.588 [vert.x-worker-thread-7] INFO Slf4jLogger [25377556eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 60, '8:152c78e820800a798447b29e3cba7d31', 'createIndex indexName=idx_records_instance_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.589 [vert.x-worker-thread-7] INFO Slf4jLogger [25377557eqId] CREATE UNIQUE INDEX idx_records_matched_id_gen ON test_invoices98_mod_source_record_storage.records_lb(matched_id, generation) 08:29:39.592 [vert.x-worker-thread-7] INFO Slf4jLogger [25377560eqId] Index idx_records_matched_id_gen created 08:29:39.593 [vert.x-worker-thread-7] INFO Slf4jLogger [25377561eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 4ms 08:29:39.593 [vert.x-worker-thread-7] INFO Slf4jLogger [25377561eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 61, '8:0ddcc13212992bfac6c653eb08f6c316', 'createIndex indexName=idx_records_matched_id_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.594 [vert.x-worker-thread-7] INFO Slf4jLogger [25377562eqId] CREATE INDEX idx_records_updated_date ON test_invoices98_mod_source_record_storage.records_lb(updated_date) 08:29:39.597 [vert.x-worker-thread-7] INFO Slf4jLogger [25377565eqId] Index idx_records_updated_date created 08:29:39.598 [vert.x-worker-thread-7] INFO Slf4jLogger [25377566eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-08-create-records-updated-date-index::WilliamWelling ran successfully in 4ms 08:29:39.598 [vert.x-worker-thread-7] INFO Slf4jLogger [25377566eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-08-create-records-updated-date-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 62, '8:62d4e0c45fceb7515521d818665ae78c', 'createIndex indexName=idx_records_updated_date, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.599 [vert.x-worker-thread-7] INFO Slf4jLogger [25377567eqId] CREATE INDEX idx_records_leader_record_status ON test_invoices98_mod_source_record_storage.records_lb(leader_record_status) 08:29:39.602 [vert.x-worker-thread-7] INFO Slf4jLogger [25377570eqId] Index idx_records_leader_record_status created 08:29:39.602 [vert.x-worker-thread-7] INFO Slf4jLogger [25377570eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-09-create-records-leader-record-status-index::WilliamWelling ran successfully in 3ms 08:29:39.603 [vert.x-worker-thread-7] INFO Slf4jLogger [25377571eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-09-create-records-leader-record-status-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 63, '8:68bfe2e6e294f33a0e5f02d129bd5108', 'createIndex indexName=idx_records_leader_record_status, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.604 [vert.x-worker-thread-7] INFO Slf4jLogger [25377572eqId] CREATE INDEX idx_records_matched_id_state ON test_invoices98_mod_source_record_storage.records_lb(matched_id, state) 08:29:39.607 [vert.x-worker-thread-7] INFO Slf4jLogger [25377575eqId] Index idx_records_matched_id_state created 08:29:39.608 [vert.x-worker-thread-7] INFO Slf4jLogger [25377576eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-10-create-records-matchedid-state-index::WilliamWelling ran successfully in 4ms 08:29:39.608 [vert.x-worker-thread-7] INFO Slf4jLogger [25377576eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-10-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 64, '8:20dda736ad209b8494cd87fe40a121e2', 'createIndex indexName=idx_records_matched_id_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.610 [vert.x-worker-thread-7] INFO Slf4jLogger [25377578eqId] create function test_invoices98_mod_source_record_storage.insert_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 08:29:39.610 [vert.x-worker-thread-7] INFO Slf4jLogger [25377578eqId] Stored procedure created 08:29:39.611 [vert.x-worker-thread-7] INFO Slf4jLogger [25377579eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-11-create-insert-records-set-dates-function::WilliamWelling ran successfully in 1ms 08:29:39.611 [vert.x-worker-thread-7] INFO Slf4jLogger [25377579eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-11-create-insert-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 65, '8:42aa86d153982a21edab2420abb8424f', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.613 [vert.x-worker-thread-7] INFO Slf4jLogger [25377581eqId] create trigger insert_records_set_dates before insert on test_invoices98_mod_source_record_storage.records_lb for each row execute procedure test_invoices98_mod_source_record_storage.insert_records_set_dates() 08:29:39.613 [vert.x-worker-thread-7] INFO Slf4jLogger [25377581eqId] Custom SQL executed 08:29:39.614 [vert.x-worker-thread-7] INFO Slf4jLogger [25377582eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-12-create-insert-records-set-dates-trigger::WilliamWelling ran successfully in 1ms 08:29:39.614 [vert.x-worker-thread-7] INFO Slf4jLogger [25377582eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-12-create-insert-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 66, '8:527a33c56143aa38b4d649af0148ee3d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.616 [vert.x-worker-thread-7] INFO Slf4jLogger [25377584eqId] create function test_invoices98_mod_source_record_storage.update_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 08:29:39.616 [vert.x-worker-thread-7] INFO Slf4jLogger [25377584eqId] Stored procedure created 08:29:39.617 [vert.x-worker-thread-7] INFO Slf4jLogger [25377585eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-13-create-update-records-set-dates-function::WilliamWelling ran successfully in 1ms 08:29:39.617 [vert.x-worker-thread-7] INFO Slf4jLogger [25377585eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-13-create-update-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 67, '8:dc97a46a943ad98254e63e422cf7d822', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.619 [vert.x-worker-thread-7] INFO Slf4jLogger [25377587eqId] create trigger update_records_set_dates before update on test_invoices98_mod_source_record_storage.records_lb for each row execute procedure test_invoices98_mod_source_record_storage.update_records_set_dates() 08:29:39.619 [vert.x-worker-thread-7] INFO Slf4jLogger [25377587eqId] Custom SQL executed 08:29:39.620 [vert.x-worker-thread-7] INFO Slf4jLogger [25377588eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-14-create-update-records-set-dates-trigger::WilliamWelling ran successfully in 2ms 08:29:39.620 [vert.x-worker-thread-7] INFO Slf4jLogger [25377588eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-14-create-update-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 68, '8:f9da75b6ae7f9ec941ec29597471a782', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.622 [vert.x-worker-thread-7] INFO Slf4jLogger [25377590eqId] CREATE TABLE test_invoices98_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.628 [vert.x-worker-thread-7] INFO Slf4jLogger [25377596eqId] Table raw_records_lb created 08:29:39.629 [vert.x-worker-thread-7] INFO Slf4jLogger [25377597eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-00-create-raw-records-table::WilliamWelling ran successfully in 8ms 08:29:39.629 [vert.x-worker-thread-7] INFO Slf4jLogger [25377597eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 69, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.631 [vert.x-worker-thread-7] INFO Slf4jLogger [25377599eqId] ALTER TABLE test_invoices98_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES test_invoices98_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.632 [vert.x-worker-thread-7] INFO Slf4jLogger [25377600eqId] Foreign key constraint added to raw_records_lb (id) 08:29:39.633 [vert.x-worker-thread-7] INFO Slf4jLogger [25377601eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 3ms 08:29:39.633 [vert.x-worker-thread-7] INFO Slf4jLogger [25377601eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 70, '8:e9df6a1185645735b74cf70888be9635', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.635 [vert.x-worker-thread-7] INFO Slf4jLogger [25377603eqId] CREATE TABLE test_invoices98_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.640 [vert.x-worker-thread-7] INFO Slf4jLogger [25377608eqId] Table marc_records_lb created 08:29:39.641 [vert.x-worker-thread-7] INFO Slf4jLogger [25377609eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 08:29:39.642 [vert.x-worker-thread-7] INFO Slf4jLogger [25377610eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 71, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.643 [vert.x-worker-thread-7] INFO Slf4jLogger [25377611eqId] ALTER TABLE test_invoices98_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES test_invoices98_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.644 [vert.x-worker-thread-7] INFO Slf4jLogger [25377612eqId] Foreign key constraint added to marc_records_lb (id) 08:29:39.645 [vert.x-worker-thread-7] INFO Slf4jLogger [25377613eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 08:29:39.645 [vert.x-worker-thread-7] INFO Slf4jLogger [25377613eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 72, '8:6edefb760cafc52ed4bed16ac33bbd15', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.647 [vert.x-worker-thread-7] INFO Slf4jLogger [25377615eqId] create function test_invoices98_mod_source_record_storage.update_records_set_leader_record_status() returns trigger language plpgsql as $$ BEGIN IF (TG_OP = 'DELETE') THEN UPDATE test_invoices98_mod_source_record_storage.records_lb SET leader_record_status = NULL WHERE id = OLD.id; RETURN OLD; ELSE UPDATE test_invoices98_mod_source_record_storage.records_lb SET leader_record_status = substring(NEW.content->>'leader' from 6 for 1)::char(1) WHERE id = NEW.id; RETURN NEW; END IF; END; $$ 08:29:39.647 [vert.x-worker-thread-7] INFO Slf4jLogger [25377615eqId] Stored procedure created 08:29:39.648 [vert.x-worker-thread-7] INFO Slf4jLogger [25377616eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-02-create-update-records-set-leader-record-status-function::WilliamWelling ran successfully in 1ms 08:29:39.649 [vert.x-worker-thread-7] INFO Slf4jLogger [25377617eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-02-create-update-records-set-leader-record-status-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 73, '8:2be5ea47f8b7390e2376f9bf672458ef', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.650 [vert.x-worker-thread-7] INFO Slf4jLogger [25377618eqId] create trigger update_records_set_leader_record_status after insert or update or delete on test_invoices98_mod_source_record_storage.marc_records_lb for each row execute procedure test_invoices98_mod_source_record_storage.update_records_set_leader_record_status() 08:29:39.650 [vert.x-worker-thread-7] INFO Slf4jLogger [25377618eqId] Custom SQL executed 08:29:39.651 [vert.x-worker-thread-7] INFO Slf4jLogger [25377619eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-03-create-update-records-set-leader-record-status-trigger::WilliamWelling ran successfully in 1ms 08:29:39.651 [vert.x-worker-thread-7] INFO Slf4jLogger [25377619eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-03-create-update-records-set-leader-record-status-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 74, '8:45218e17c62db984bdd82ba976bb2131', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.653 [vert.x-worker-thread-7] INFO Slf4jLogger [25377621eqId] CREATE TABLE test_invoices98_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content TEXT NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 08:29:39.658 [vert.x-worker-thread-7] INFO Slf4jLogger [25377626eqId] Table error_records_lb created 08:29:39.659 [vert.x-worker-thread-7] INFO Slf4jLogger [25377627eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-00-create-error-records-table::WilliamWelling ran successfully in 6ms 08:29:39.660 [vert.x-worker-thread-7] INFO Slf4jLogger [25377628eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 75, '8:b821b96e42bf16cf15ef75ea935ba4fe', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.661 [vert.x-worker-thread-7] INFO Slf4jLogger [25377629eqId] ALTER TABLE test_invoices98_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES test_invoices98_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 08:29:39.662 [vert.x-worker-thread-7] INFO Slf4jLogger [25377630eqId] Foreign key constraint added to error_records_lb (id) 08:29:39.666 [vert.x-worker-thread-7] INFO Slf4jLogger [25377634eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 5ms 08:29:39.666 [vert.x-worker-thread-7] INFO Slf4jLogger [25377634eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 76, '8:5810c6475fb17537243e7e0db149584d', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.676 [vert.x-worker-thread-7] INFO Slf4jLogger [25377644eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-00-disable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.snapshots does not exist 08:29:39.676 [vert.x-worker-thread-7] INFO Slf4jLogger [25377644eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-00-disable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 77, '8:0bf24f41c98cc387afeaa05bf4371972', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.685 [vert.x-worker-thread-7] INFO Slf4jLogger [25377653eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-01-migrate-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.snapshots does not exist 08:29:39.685 [vert.x-worker-thread-7] INFO Slf4jLogger [25377653eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-01-migrate-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 78, '8:dec3f9b0d8336bca98aba9ed9d5d9fe2', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.694 [vert.x-worker-thread-7] INFO Slf4jLogger [25377662eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-02-enable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.snapshots does not exist 08:29:39.695 [vert.x-worker-thread-7] INFO Slf4jLogger [25377663eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-02-enable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 79, '8:d38984dbb6fd0e9a7357766978d730a2', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.704 [vert.x-worker-thread-7] INFO Slf4jLogger [25377672eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-03-create-missing-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.snapshots does not exist 08:29:39.704 [vert.x-worker-thread-7] INFO Slf4jLogger [25377672eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-03-create-missing-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 80, '8:2799e0a1beaa8829153251303253aab9', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.713 [vert.x-worker-thread-7] INFO Slf4jLogger [25377681eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-00-disable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.714 [vert.x-worker-thread-7] INFO Slf4jLogger [25377682eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-00-disable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 81, '8:3eaca13898cc0eb4446f5872f959b21a', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.722 [vert.x-worker-thread-7] INFO Slf4jLogger [25377690eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-01-migrate-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.723 [vert.x-worker-thread-7] INFO Slf4jLogger [25377691eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-01-migrate-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 82, '8:51090888ff7c06235c2adc9f4035d3f7', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.731 [vert.x-worker-thread-7] INFO Slf4jLogger [25377699eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-02-enable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.732 [vert.x-worker-thread-7] INFO Slf4jLogger [25377700eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-02-enable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 83, '8:ef0ea784eb95ab6cd53623e5b8200885', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.745 [vert.x-worker-thread-7] INFO Slf4jLogger [25377713eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml::2020-06-12--14-00-migrate-raw-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.745 [vert.x-worker-thread-7] INFO Slf4jLogger [25377713eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--14-00-migrate-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml', NOW(), 84, '8:51060e1437290f957808657c2b536085', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.754 [vert.x-worker-thread-7] INFO Slf4jLogger [25377722eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-00-disable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.754 [vert.x-worker-thread-7] INFO Slf4jLogger [25377722eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-00-disable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 85, '8:5573d6334f3c274b31fad1c322195d86', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.763 [vert.x-worker-thread-7] INFO Slf4jLogger [25377731eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-01-migrate-marc-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.764 [vert.x-worker-thread-7] INFO Slf4jLogger [25377732eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-01-migrate-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 86, '8:c0d4ab8e6a2d829c6334ed2a0650fab5', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.773 [vert.x-worker-thread-7] INFO Slf4jLogger [25377741eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-02-enable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.773 [vert.x-worker-thread-7] INFO Slf4jLogger [25377741eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-02-enable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 87, '8:22f57fa014af291b7eba5853eb35f130', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.781 [vert.x-worker-thread-7] INFO Slf4jLogger [25377749eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml::2020-06-12--16-00-migrate-error-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table test_invoices98_mod_source_record_storage.records does not exist 08:29:39.782 [vert.x-worker-thread-7] INFO Slf4jLogger [25377750eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--16-00-migrate-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml', NOW(), 88, '8:4a900713a998d1005f3edf5490887830', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3160179302') 08:29:39.784 [vert.x-worker-thread-7] INFO Slf4jLogger [25377752eqId] DROP TABLE IF EXISTS test_invoices98_mod_source_record_storage.error_records 08:29:39.784 [vert.x-worker-thread-7] INFO Slf4jLogger [25377752eqId] Custom SQL executed 08:29:39.784 [vert.x-worker-thread-7] INFO Slf4jLogger [25377752eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml::2020-06-13--12-00-drop-error-records::WilliamWelling ran successfully in 1ms 08:29:39.784 [vert.x-worker-thread-7] INFO Slf4jLogger [25377752eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--12-00-drop-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml', NOW(), 89, '8:5cffd3e9c054e7f9c4dacba4d5083792', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.786 [vert.x-worker-thread-7] INFO Slf4jLogger [25377754eqId] DROP TABLE IF EXISTS test_invoices98_mod_source_record_storage.marc_records 08:29:39.786 [vert.x-worker-thread-7] INFO Slf4jLogger [25377754eqId] Custom SQL executed 08:29:39.787 [vert.x-worker-thread-7] INFO Slf4jLogger [25377755eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml::2020-06-13--13-00-drop-marc-records::WilliamWelling ran successfully in 1ms 08:29:39.787 [vert.x-worker-thread-7] INFO Slf4jLogger [25377755eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--13-00-drop-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml', NOW(), 90, '8:196ce57d9c6345a5534bbdb4d224acf9', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.788 [vert.x-worker-thread-7] INFO Slf4jLogger [25377756eqId] DROP TABLE IF EXISTS test_invoices98_mod_source_record_storage.raw_records 08:29:39.789 [vert.x-worker-thread-7] INFO Slf4jLogger [25377757eqId] Custom SQL executed 08:29:39.789 [vert.x-worker-thread-7] INFO Slf4jLogger [25377757eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml::2020-06-13--14-00-drop-raw-records::WilliamWelling ran successfully in 1ms 08:29:39.789 [vert.x-worker-thread-7] INFO Slf4jLogger [25377757eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--14-00-drop-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml', NOW(), 91, '8:d594c7289e01d002534a5003f5146e05', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.790 [vert.x-worker-thread-7] INFO Slf4jLogger [25377758eqId] DROP TABLE IF EXISTS test_invoices98_mod_source_record_storage.records 08:29:39.791 [vert.x-worker-thread-7] INFO Slf4jLogger [25377759eqId] Custom SQL executed 08:29:39.791 [vert.x-worker-thread-7] INFO Slf4jLogger [25377759eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml::2020-06-13--15-00-drop-records::WilliamWelling ran successfully in 1ms 08:29:39.791 [vert.x-worker-thread-7] INFO Slf4jLogger [25377759eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--15-00-drop-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml', NOW(), 92, '8:dafb80968f7f096af95fb72f33cda667', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.793 [vert.x-worker-thread-7] INFO Slf4jLogger [25377761eqId] DROP TABLE IF EXISTS test_invoices98_mod_source_record_storage.snapshots 08:29:39.793 [vert.x-worker-thread-7] INFO Slf4jLogger [25377761eqId] Custom SQL executed 08:29:39.793 [vert.x-worker-thread-7] INFO Slf4jLogger [25377761eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml::2020-06-13--16-00-drop-snapshots::WilliamWelling ran successfully in 1ms 08:29:39.793 [vert.x-worker-thread-7] INFO Slf4jLogger [25377761eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--16-00-drop-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml', NOW(), 93, '8:58148cc08a7b8e9b3ecfcd6ffaf16321', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.795 [vert.x-worker-thread-7] INFO Slf4jLogger [25377763eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_record_by_external_id(externalId uuid, idFieldName text) 08:29:39.795 [vert.x-worker-thread-7] INFO Slf4jLogger [25377763eqId] Custom SQL executed 08:29:39.796 [vert.x-worker-thread-7] INFO Slf4jLogger [25377764eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-00-drop-get_record_by_external_id::WilliamWelling ran successfully in 1ms 08:29:39.796 [vert.x-worker-thread-7] INFO Slf4jLogger [25377764eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-00-drop-get_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 94, '8:7e4eda0f6950b207faccc3fa7ca61092', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.797 [vert.x-worker-thread-7] INFO Slf4jLogger [25377765eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_record_by_matched_id(record_id uuid) 08:29:39.798 [vert.x-worker-thread-7] INFO Slf4jLogger [25377766eqId] Custom SQL executed 08:29:39.798 [vert.x-worker-thread-7] INFO Slf4jLogger [25377766eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-01-drop-get_record_by_matched_id::WilliamWelling ran successfully in 1ms 08:29:39.798 [vert.x-worker-thread-7] INFO Slf4jLogger [25377766eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-01-drop-get_record_by_matched_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 95, '8:0b38668bdf9941a9d2d57c2116b11a05', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.800 [vert.x-worker-thread-7] INFO Slf4jLogger [25377768eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_record_by_id(record_id uuid) 08:29:39.800 [vert.x-worker-thread-7] INFO Slf4jLogger [25377768eqId] Custom SQL executed 08:29:39.800 [vert.x-worker-thread-7] INFO Slf4jLogger [25377768eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-02-drop-get_source_record_by_id::WilliamWelling ran successfully in 1ms 08:29:39.801 [vert.x-worker-thread-7] INFO Slf4jLogger [25377769eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-02-drop-get_source_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 96, '8:1e06a24801448705a916b8176c0e9aeb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.802 [vert.x-worker-thread-7] INFO Slf4jLogger [25377770eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_record_by_external_id(externalId uuid, idFieldName text) 08:29:39.802 [vert.x-worker-thread-7] INFO Slf4jLogger [25377770eqId] Custom SQL executed 08:29:39.802 [vert.x-worker-thread-7] INFO Slf4jLogger [25377770eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-03-drop-get_source_record_by_external_id::WilliamWelling ran successfully in 0ms 08:29:39.803 [vert.x-worker-thread-7] INFO Slf4jLogger [25377771eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-03-drop-get_source_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 97, '8:39cf10bb75bae8633d9462d4072964b9', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.805 [vert.x-worker-thread-7] INFO Slf4jLogger [25377773eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_records(where_clause text, order_by text, limitVal int, offsetVal int, schema_name text) 08:29:39.805 [vert.x-worker-thread-7] INFO Slf4jLogger [25377773eqId] Custom SQL executed 08:29:39.805 [vert.x-worker-thread-7] INFO Slf4jLogger [25377773eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-04-drop-get_records::WilliamWelling ran successfully in 1ms 08:29:39.805 [vert.x-worker-thread-7] INFO Slf4jLogger [25377773eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-04-drop-get_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 98, '8:11a05889f6b25314b9d900d2ce31f8b5', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.807 [vert.x-worker-thread-7] INFO Slf4jLogger [25377775eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_records(query_filter text, order_by text, limitVal int, offsetVal int, deleted_records text, schema_name text) 08:29:39.807 [vert.x-worker-thread-7] INFO Slf4jLogger [25377775eqId] Custom SQL executed 08:29:39.808 [vert.x-worker-thread-7] INFO Slf4jLogger [25377776eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-05-drop-get_source_records::WilliamWelling ran successfully in 1ms 08:29:39.808 [vert.x-worker-thread-7] INFO Slf4jLogger [25377776eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-05-drop-get_source_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 99, '8:eb6d533a2ab8c2e7472758cf90ca73e6', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.809 [vert.x-worker-thread-7] INFO Slf4jLogger [25377777eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_highest_generation(matchedId uuid, snapshotId uuid) 08:29:39.810 [vert.x-worker-thread-7] INFO Slf4jLogger [25377778eqId] Custom SQL executed 08:29:39.810 [vert.x-worker-thread-7] INFO Slf4jLogger [25377778eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-06-drop-get_highest_generation::WilliamWelling ran successfully in 1ms 08:29:39.810 [vert.x-worker-thread-7] INFO Slf4jLogger [25377778eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-06-drop-get_highest_generation', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 100, '8:738fa1852d1260cd48d34cd1c184928f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.812 [vert.x-worker-thread-7] INFO Slf4jLogger [25377780eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.error_records_set_md() 08:29:39.812 [vert.x-worker-thread-7] INFO Slf4jLogger [25377780eqId] Custom SQL executed 08:29:39.812 [vert.x-worker-thread-7] INFO Slf4jLogger [25377780eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-07-drop-error_records_set_md::WilliamWelling ran successfully in 1ms 08:29:39.813 [vert.x-worker-thread-7] INFO Slf4jLogger [25377781eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-07-drop-error_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 101, '8:28240ec1a65c53d942d250fc6e30b00d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.814 [vert.x-worker-thread-7] INFO Slf4jLogger [25377782eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.marc_records_set_md() 08:29:39.814 [vert.x-worker-thread-7] INFO Slf4jLogger [25377782eqId] Custom SQL executed 08:29:39.815 [vert.x-worker-thread-7] INFO Slf4jLogger [25377783eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-08-drop-marc_records_set_md::WilliamWelling ran successfully in 1ms 08:29:39.815 [vert.x-worker-thread-7] INFO Slf4jLogger [25377783eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-08-drop-marc_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 102, '8:e68109593dcc2b9a0ba3912fc39fe56c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.816 [vert.x-worker-thread-7] INFO Slf4jLogger [25377784eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.raw_records_set_md() 08:29:39.817 [vert.x-worker-thread-7] INFO Slf4jLogger [25377785eqId] Custom SQL executed 08:29:39.817 [vert.x-worker-thread-7] INFO Slf4jLogger [25377785eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-09-drop-raw_records_set_md::WilliamWelling ran successfully in 1ms 08:29:39.817 [vert.x-worker-thread-7] INFO Slf4jLogger [25377785eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-09-drop-raw_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 103, '8:af8d49bf1f4a9de2d0431c3a4564bf3e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.819 [vert.x-worker-thread-7] INFO Slf4jLogger [25377787eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.records_set_md() 08:29:39.819 [vert.x-worker-thread-7] INFO Slf4jLogger [25377787eqId] Custom SQL executed 08:29:39.819 [vert.x-worker-thread-7] INFO Slf4jLogger [25377787eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-10-drop-records_set_md::WilliamWelling ran successfully in 0ms 08:29:39.820 [vert.x-worker-thread-7] INFO Slf4jLogger [25377788eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-10-drop-records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 104, '8:144616824f1fec26ef7ecf78b86cf0bf', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.821 [vert.x-worker-thread-7] INFO Slf4jLogger [25377789eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.set_error_records_md_json() 08:29:39.822 [vert.x-worker-thread-7] INFO Slf4jLogger [25377790eqId] Custom SQL executed 08:29:39.822 [vert.x-worker-thread-7] INFO Slf4jLogger [25377790eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-11-drop-set_error_records_md_json::WilliamWelling ran successfully in 1ms 08:29:39.822 [vert.x-worker-thread-7] INFO Slf4jLogger [25377790eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-11-drop-set_error_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 105, '8:d84b83a9d50ce6d6c3670089de19f605', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.823 [vert.x-worker-thread-7] INFO Slf4jLogger [25377791eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.set_id_in_jsonb() 08:29:39.824 [vert.x-worker-thread-7] INFO Slf4jLogger [25377792eqId] Custom SQL executed 08:29:39.825 [vert.x-worker-thread-7] INFO Slf4jLogger [25377793eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-12-drop-set_id_in_jsonb::WilliamWelling ran successfully in 2ms 08:29:39.825 [vert.x-worker-thread-7] INFO Slf4jLogger [25377793eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-12-drop-set_id_in_jsonb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 106, '8:c5dd9588b2704630630fb4f765c3776f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.826 [vert.x-worker-thread-7] INFO Slf4jLogger [25377794eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.set_marc_records_md_json() 08:29:39.827 [vert.x-worker-thread-7] INFO Slf4jLogger [25377795eqId] Custom SQL executed 08:29:39.827 [vert.x-worker-thread-7] INFO Slf4jLogger [25377795eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-13-drop-set_marc_records_md_json::WilliamWelling ran successfully in 1ms 08:29:39.827 [vert.x-worker-thread-7] INFO Slf4jLogger [25377795eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-13-drop-set_marc_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 107, '8:d92a06ce5f89554bf86edad1c222d8a8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.829 [vert.x-worker-thread-7] INFO Slf4jLogger [25377797eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.set_raw_records_md_json() 08:29:39.829 [vert.x-worker-thread-7] INFO Slf4jLogger [25377797eqId] Custom SQL executed 08:29:39.829 [vert.x-worker-thread-7] INFO Slf4jLogger [25377797eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-14-drop-set_raw_records_md_json::WilliamWelling ran successfully in 1ms 08:29:39.829 [vert.x-worker-thread-7] INFO Slf4jLogger [25377797eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-14-drop-set_raw_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 108, '8:998acf9f850b2b180187f2eead8d6df7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.831 [vert.x-worker-thread-7] INFO Slf4jLogger [25377799eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.set_records_md_json() 08:29:39.831 [vert.x-worker-thread-7] INFO Slf4jLogger [25377799eqId] Custom SQL executed 08:29:39.831 [vert.x-worker-thread-7] INFO Slf4jLogger [25377799eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-15-drop-set_records_md_json::WilliamWelling ran successfully in 0ms 08:29:39.832 [vert.x-worker-thread-7] INFO Slf4jLogger [25377800eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-15-drop-set_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 109, '8:59903297e2e11c8d089c75ffcafc8779', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.833 [vert.x-worker-thread-7] INFO Slf4jLogger [25377801eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.set_snapshots_md_json() 08:29:39.833 [vert.x-worker-thread-7] INFO Slf4jLogger [25377801eqId] Custom SQL executed 08:29:39.834 [vert.x-worker-thread-7] INFO Slf4jLogger [25377802eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-16-drop-set_snapshots_md_json::WilliamWelling ran successfully in 1ms 08:29:39.834 [vert.x-worker-thread-7] INFO Slf4jLogger [25377802eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-16-drop-set_snapshots_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 110, '8:8f936c3dbcdf1cea65d891fa928c8844', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.835 [vert.x-worker-thread-7] INFO Slf4jLogger [25377803eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.snapshots_set_md() 08:29:39.836 [vert.x-worker-thread-7] INFO Slf4jLogger [25377804eqId] Custom SQL executed 08:29:39.836 [vert.x-worker-thread-7] INFO Slf4jLogger [25377804eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-17-drop-snapshots_set_md::WilliamWelling ran successfully in 1ms 08:29:39.836 [vert.x-worker-thread-7] INFO Slf4jLogger [25377804eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-17-drop-snapshots_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 111, '8:7d8068f366c49932c68e95263227b30b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.838 [vert.x-worker-thread-7] INFO Slf4jLogger [25377806eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.update_records_references() 08:29:39.838 [vert.x-worker-thread-7] INFO Slf4jLogger [25377806eqId] Custom SQL executed 08:29:39.838 [vert.x-worker-thread-7] INFO Slf4jLogger [25377806eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-18-drop-update_records_references::WilliamWelling ran successfully in 0ms 08:29:39.839 [vert.x-worker-thread-7] INFO Slf4jLogger [25377807eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-18-drop-update_records_references', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 112, '8:957b5a2a2a1f1e44baa656708bdf439d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.840 [vert.x-worker-thread-7] INFO Slf4jLogger [25377808eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) 08:29:39.840 [vert.x-worker-thread-7] INFO Slf4jLogger [25377808eqId] Custom SQL executed 08:29:39.841 [vert.x-worker-thread-7] INFO Slf4jLogger [25377809eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-19-drop-get_source_marc_record_by_id::WilliamWelling ran successfully in 1ms 08:29:39.842 [vert.x-worker-thread-7] INFO Slf4jLogger [25377810eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-19-drop-get_source_marc_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 113, '8:06881487a60f153f5137279510ed52b5', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.843 [vert.x-worker-thread-7] INFO Slf4jLogger [25377811eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) 08:29:39.843 [vert.x-worker-thread-7] INFO Slf4jLogger [25377811eqId] Custom SQL executed 08:29:39.844 [vert.x-worker-thread-7] INFO Slf4jLogger [25377812eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-20-drop-get_source_marc_record_by_id_alt::WilliamWelling ran successfully in 1ms 08:29:39.845 [vert.x-worker-thread-7] INFO Slf4jLogger [25377813eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-20-drop-get_source_marc_record_by_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 114, '8:5205d2244a3c9eef4ee2f66a2077138a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.846 [vert.x-worker-thread-7] INFO Slf4jLogger [25377814eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) 08:29:39.846 [vert.x-worker-thread-7] INFO Slf4jLogger [25377814eqId] Custom SQL executed 08:29:39.847 [vert.x-worker-thread-7] INFO Slf4jLogger [25377815eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-21-drop-get_source_marc_record_by_instance_id::WilliamWelling ran successfully in 1ms 08:29:39.848 [vert.x-worker-thread-7] INFO Slf4jLogger [25377816eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-21-drop-get_source_marc_record_by_instance_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 115, '8:872f7234c9450e65647b259dffc97af1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.849 [vert.x-worker-thread-7] INFO Slf4jLogger [25377817eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) 08:29:39.849 [vert.x-worker-thread-7] INFO Slf4jLogger [25377817eqId] Custom SQL executed 08:29:39.850 [vert.x-worker-thread-7] INFO Slf4jLogger [25377818eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt::WilliamWelling ran successfully in 1ms 08:29:39.850 [vert.x-worker-thread-7] INFO Slf4jLogger [25377818eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 116, '8:3823d2d272bee48a1c285a6d2745c537', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.852 [vert.x-worker-thread-7] INFO Slf4jLogger [25377820eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) 08:29:39.852 [vert.x-worker-thread-7] INFO Slf4jLogger [25377820eqId] Custom SQL executed 08:29:39.853 [vert.x-worker-thread-7] INFO Slf4jLogger [25377821eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-23-drop-get_all_source_marc_records::WilliamWelling ran successfully in 1ms 08:29:39.853 [vert.x-worker-thread-7] INFO Slf4jLogger [25377821eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-23-drop-get_all_source_marc_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 117, '8:73ce02a6e38fa7e826e75562185971ff', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.855 [vert.x-worker-thread-7] INFO Slf4jLogger [25377823eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) 08:29:39.856 [vert.x-worker-thread-7] INFO Slf4jLogger [25377824eqId] Custom SQL executed 08:29:39.856 [vert.x-worker-thread-7] INFO Slf4jLogger [25377824eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-24-drop-get_all_source_marc_records_alt::WilliamWelling ran successfully in 1ms 08:29:39.857 [vert.x-worker-thread-7] INFO Slf4jLogger [25377825eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-24-drop-get_all_source_marc_records_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 118, '8:3052d3bf71768e1c99411ec843973e38', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.858 [vert.x-worker-thread-7] INFO Slf4jLogger [25377826eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 08:29:39.859 [vert.x-worker-thread-7] INFO Slf4jLogger [25377827eqId] Custom SQL executed 08:29:39.859 [vert.x-worker-thread-7] INFO Slf4jLogger [25377827eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-25-drop-get_source_marc_records_for_period::WilliamWelling ran successfully in 1ms 08:29:39.860 [vert.x-worker-thread-7] INFO Slf4jLogger [25377828eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-25-drop-get_source_marc_records_for_period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 119, '8:892697213cdeb6ebc2b8f76e8999aafb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.861 [vert.x-worker-thread-7] INFO Slf4jLogger [25377829eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 08:29:39.862 [vert.x-worker-thread-7] INFO Slf4jLogger [25377830eqId] Custom SQL executed 08:29:39.863 [vert.x-worker-thread-7] INFO Slf4jLogger [25377831eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-26-drop-get_source_marc_records_for_period_alt::WilliamWelling ran successfully in 2ms 08:29:39.863 [vert.x-worker-thread-7] INFO Slf4jLogger [25377831eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-26-drop-get_source_marc_records_for_period_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 120, '8:9d1956d7d0c5522f3b5ffd3ea11f50ca', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.864 [vert.x-worker-thread-7] INFO Slf4jLogger [25377832eqId] DROP FUNCTION IF EXISTS test_invoices98_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) 08:29:39.865 [vert.x-worker-thread-7] INFO Slf4jLogger [25377833eqId] Custom SQL executed 08:29:39.866 [vert.x-worker-thread-7] INFO Slf4jLogger [25377834eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-27-drop-get_highest_generation_lb::WilliamWelling ran successfully in 2ms 08:29:39.866 [vert.x-worker-thread-7] INFO Slf4jLogger [25377834eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-27-drop-get_highest_generation_lb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 121, '8:ae7852673016528073bfaa648f9b395b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.868 [vert.x-worker-thread-7] INFO Slf4jLogger [25377836eqId] DELETE FROM test_invoices98_mod_source_record_storage.records_lb WHERE id IN ('4c0ff739-3f4d-4670-a693-84dd48e31c53', '8452daf9-c130-4955-99ce-1c397a218900', 'ec53a386-9616-428b-92a9-e1f07756ea1f', '0f0fe962-d502-4a4f-9e74-7732bec94ee8', '009286d6-f89e-4881-9562-11158f02664a', '8f462542-387c-4f06-a01b-50829c7c7b13', 'e567b8e2-a45b-45f1-a85a-6b6312bdf4d8', 'a2d6893e-c6b3-4c95-bec5-8b997aa1776d', '8fb19e31-0920-49d7-9438-b573c292b1a6', '7293f287-bb51-41f5-805d-00ff18a1f791', 'be1b25ae-4a9d-4077-93e6-7f8e59efd609') 08:29:39.868 [vert.x-worker-thread-7] INFO Slf4jLogger [25377836eqId] Data deleted from records_lb 08:29:39.868 [vert.x-worker-thread-7] INFO Slf4jLogger [25377836eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml::2020-06-25--12-00-delete-sample-data::KaterynaSenchenko ran successfully in 1ms 08:29:39.869 [vert.x-worker-thread-7] INFO Slf4jLogger [25377837eqId] INSERT INTO test_invoices98_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-25--12-00-delete-sample-data', 'KaterynaSenchenko', 'liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml', NOW(), 122, '8:40281d297385abadbe85cfd4abe4cc1f', 'delete tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3160179302') 08:29:39.871 [vert.x-worker-thread-7] INFO Slf4jLogger [25377839eqId] Successfully released change log lock 08:29:39.871 [vert.x-worker-thread-7] INFO LiquibaseUtil [25377839eqId] Schema is initialized for tenant test_invoices98 08:29:39.872 [vert.x-eventloop-thread-0] INFO ModTenantAPI [25377840eqId] Module is being deployed in production mode 08:29:39.872 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25377840eqId] Reading MessagingDescriptor.json 08:29:39.875 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25377843eqId] Registering events for publishers 08:29:39.890 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25377858eqId] Registering module's publishers 08:29:39.938 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25377906eqId] Module's publishers were successfully registered 08:29:39.938 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25377906eqId] Registering module's subscribers 08:29:40.058 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [25378026eqId] Module's subscribers were successfully registered 08:29:40.058 [vert.x-eventloop-thread-0] INFO ModTenantAPI [25378026eqId] Module was successfully registered as publisher/subscriber in mod-pubsub 08:29:40.059 [vert.x-eventloop-thread-0] INFO LogUtil [25378027eqId] org.folio.rest.RestVerticle start invoking postTenant 08:29:40.059 [vert.x-eventloop-thread-0] INFO LogUtil [25378027eqId] 10.36.1.197:34934 POST /_/tenant null HTTP_1_1 201 3 1889 tid=test_invoices98 Created 08:30:03.210 [vert.x-eventloop-thread-0] INFO TenantAPI [25401178eqId] sending... deleteTenant for test_invoices98 08:30:03.211 [vert.x-eventloop-thread-0] INFO TenantAPI [25401179eqId] Deleting tenant test_invoices98 08:30:03.212 [vert.x-eventloop-thread-0] INFO TenantAPI [25401180eqId] Attempting to run delete script for: test_invoices98 08:30:03.213 [vert.x-eventloop-thread-0] INFO PostgresClient [25401181eqId] Executing multiple statements with id 137806101 08:30:03.217 [vert.x-worker-thread-8] INFO PostgresClient [25401185eqId] trying to execute: REVOKE ALL PRIVILEGES ON DATABASE postgres from test_invoices98_mod_source_record_storage 08:30:03.218 [vert.x-worker-thread-8] INFO PostgresClient [25401186eqId] Successfully executed: REVOKE ALL PRIVILEGES ON DATABASE postgres from test_invoices98_mod_source_record_storage 08:30:03.218 [vert.x-worker-thread-8] INFO PostgresClient [25401186eqId] trying to execute: DROP SCHEMA IF EXISTS test_invoices98_mod_source_record_storage CASCADE 08:30:03.225 [vert.x-worker-thread-8] INFO PostgresClient [25401193eqId] Successfully executed: DROP SCHEMA IF EXISTS test_invoices98_mod_source_record_storage CASCADE 08:30:03.225 [vert.x-worker-thread-8] INFO PostgresClient [25401193eqId] trying to execute: DROP USER IF EXISTS test_invoices98_mod_source_record_storage 08:30:03.226 [vert.x-worker-thread-8] INFO PostgresClient [25401194eqId] Successfully executed: DROP USER IF EXISTS test_invoices98_mod_source_record_storage 08:30:03.229 [vert.x-worker-thread-8] INFO PostgresClient [25401197eqId] Successfully committed: 137806101 08:30:03.229 [vert.x-eventloop-thread-0] INFO LogUtil [25401197eqId] org.folio.rest.RestVerticle start invoking deleteTenant 08:30:03.230 [vert.x-eventloop-thread-0] INFO LogUtil [25401198eqId] 10.36.1.197:34934 DELETE /_/tenant null HTTP_1_1 204 0 20 tid=test_invoices98 No Content 09:15:05.148 [vert.x-eventloop-thread-0] INFO TenantAPI [28103116eqId] sending... postTenant for quick_marc_api_tests 09:15:05.164 [vert.x-eventloop-thread-0] INFO PostgresClient [28103132eqId] Executing multiple statements with id 1541836396 09:15:05.169 [vert.x-worker-thread-9] INFO PostgresClient [28103137eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 09:15:05.170 [vert.x-worker-thread-9] INFO PostgresClient [28103138eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 09:15:05.170 [vert.x-worker-thread-9] INFO PostgresClient [28103138eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 09:15:05.170 [vert.x-worker-thread-9] INFO PostgresClient [28103138eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 09:15:05.171 [vert.x-worker-thread-9] INFO PostgresClient [28103139eqId] trying to execute: CREATE ROLE quick_marc_api_tests_mod_source_record_storage PASSWORD 'quick_marc_api_tests' NOSUPERUSER NOCREATEDB INHERIT LOGIN 09:15:05.171 [vert.x-worker-thread-9] INFO PostgresClient [28103139eqId] Successfully executed: CREATE ROLE quick_marc_api_tests_mod_source_record_storage PASSWORD 'quick_marc_api_tests' NOSUPERUSER NOCREATEDB INHERIT LOGIN 09:15:05.171 [vert.x-worker-thread-9] INFO PostgresClient [28103139eqId] trying to execute: GRANT quick_marc_api_tests_mod_source_record_storage TO CURRENT_USER 09:15:05.171 [vert.x-worker-thread-9] INFO PostgresClient [28103139eqId] Successfully executed: GRANT quick_marc_api_tests_mod_source_record_storage TO CURRENT_USER 09:15:05.172 [vert.x-worker-thread-9] INFO PostgresClient [28103140eqId] trying to execute: CREATE SCHEMA quick_marc_api_tests_mod_source_record_storage AUTHORIZATION quick_marc_api_tests_mod_source_record_storage 09:15:05.172 [vert.x-worker-thread-9] INFO PostgresClient [28103140eqId] Successfully executed: CREATE SCHEMA quick_marc_api_tests_mod_source_record_storage AUTHORIZATION quick_marc_api_tests_mod_source_record_storage 09:15:05.172 [vert.x-worker-thread-9] INFO PostgresClient [28103140eqId] trying to execute: ALTER ROLE quick_marc_api_tests_mod_source_record_storage SET search_path = "$user" 09:15:05.172 [vert.x-worker-thread-9] INFO PostgresClient [28103140eqId] Successfully executed: ALTER ROLE quick_marc_api_tests_mod_source_record_storage SET search_path = "$user" 09:15:05.173 [vert.x-worker-thread-9] INFO PostgresClient [28103141eqId] trying to execute: SET search_path TO quick_marc_api_tests_mod_source_record_storage 09:15:05.173 [vert.x-worker-thread-9] INFO PostgresClient [28103141eqId] Successfully executed: SET search_path TO quick_marc_api_tests_mod_source_record_storage 09:15:05.173 [vert.x-worker-thread-9] INFO PostgresClient [28103141eqId] trying to execute: CREATE TABLE IF NOT EXISTS quick_marc_api_tests_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 09:15:05.181 [vert.x-worker-thread-9] INFO PostgresClient [28103149eqId] Successfully executed: CREATE TABLE IF NOT EXISTS quick_marc_api_tests_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 09:15:05.181 [vert.x-worker-thread-9] INFO PostgresClient [28103149eqId] trying to execute: insert into quick_marc_api_tests_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 09:15:05.181 [vert.x-worker-thread-9] INFO PostgresClient [28103149eqId] Successfully executed: insert into quick_marc_api_tests_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 09:15:05.182 [vert.x-worker-thread-9] INFO PostgresClient [28103150eqId] trying to execute: CREATE TABLE IF NOT EXISTS quick_marc_api_tests_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 09:15:05.187 [vert.x-worker-thread-9] INFO PostgresClient [28103155eqId] Successfully executed: CREATE TABLE IF NOT EXISTS quick_marc_api_tests_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 09:15:05.187 [vert.x-worker-thread-9] INFO PostgresClient [28103155eqId] trying to execute: UPDATE quick_marc_api_tests_mod_source_record_storage.rmb_internal_index SET remove = TRUE 09:15:05.187 [vert.x-worker-thread-9] INFO PostgresClient [28103155eqId] Successfully executed: UPDATE quick_marc_api_tests_mod_source_record_storage.rmb_internal_index SET remove = TRUE 09:15:05.187 [vert.x-worker-thread-9] INFO PostgresClient [28103155eqId] trying to execute: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 09:15:05.191 [vert.x-worker-thread-9] INFO PostgresClient [28103159eqId] Successfully executed: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 09:15:05.191 [vert.x-worker-thread-9] INFO PostgresClient [28103159eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 09:15:05.193 [vert.x-worker-thread-9] INFO PostgresClient [28103161eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 09:15:05.193 [vert.x-worker-thread-9] INFO PostgresClient [28103161eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 09:15:05.193 [vert.x-worker-thread-9] INFO PostgresClient [28103161eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 09:15:05.193 [vert.x-worker-thread-9] INFO PostgresClient [28103161eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> 09:15:05.194 [vert.x-worker-thread-9] INFO PostgresClient [28103162eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN 09:15:05.194 [vert.x-worker-thread-9] INFO PostgresClient [28103162eqId] trying to execute: CREATE AGGREGATE quick_marc_api_tests_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = quick_marc_api_tests_mod_source_record_storage.uuid_larger, combinefunc = quick_marc_api_tests_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 09:15:05.195 [vert.x-worker-thread-9] INFO PostgresClient [28103163eqId] Successfully executed: CREATE AGGREGATE quick_marc_api_tests_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = quick_marc_api_tests_mod_source_record_storage.uuid_larger, combinefunc = quick_marc_api_tests_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 09:15:05.195 [vert.x-worker-thread-9] INFO PostgresClient [28103163eqId] trying to execute: CREATE AGGREGATE quick_marc_api_tests_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = quick_marc_api_tests_mod_source_record_storage.uuid_smaller, combinefunc = quick_marc_api_tests_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 09:15:05.195 [vert.x-worker-thread-9] INFO PostgresClient [28103163eqId] Successfully executed: CREATE AGGREGATE quick_marc_api_tests_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = quick_marc_api_tests_mod_source_record_storage.uuid_smaller, combinefunc = quick_marc_api_tests_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 09:15:05.196 [vert.x-worker-thread-9] INFO PostgresClient [28103164eqId] trying to execute: DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 09:15:05.196 [vert.x-worker-thread-9] INFO PostgresClient [28103164eqId] Successfully executed: DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 09:15:05.196 [vert.x-worker-thread-9] INFO PostgresClient [28103164eqId] trying to execute: CREATE FUNCTION quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT 09:15:05.197 [vert.x-worker-thread-9] INFO PostgresClient [28103165eqId] Successfully executed: CREATE FUNCTION quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; 09:15:05.197 [vert.x-worker-thread-9] INFO PostgresClient [28103165eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT 09:15:05.197 [vert.x-worker-thread-9] INFO PostgresClient [28103165eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); 09:15:05.197 [vert.x-worker-thread-9] INFO PostgresClient [28103165eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; IF est_count < 1000 THEN RETURN 1000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT 09:15:05.198 [vert.x-worker-thread-9] INFO PostgresClient [28103166eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = quick_marc_api_tests_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 10 09:15:05.198 [vert.x-worker-thread-9] INFO PostgresClient [28103166eqId] trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || E 09:15:05.199 [vert.x-worker-thread-9] INFO PostgresClient [28103167eqId] Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUT 09:15:05.199 [vert.x-worker-thread-9] INFO PostgresClient [28103167eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.200 [vert.x-worker-thread-9] INFO PostgresClient [28103168eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, 09:15:05.200 [vert.x-worker-thread-9] INFO PostgresClient [28103168eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(quick_marc_api_tests_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.200 [vert.x-worker-thread-9] INFO PostgresClient [28103168eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(quick_marc_api_tests_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.201 [vert.x-worker-thread-9] INFO PostgresClient [28103169eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(quick_marc_api_tests_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.201 [vert.x-worker-thread-9] INFO PostgresClient [28103169eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(quick_marc_api_tests_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.201 [vert.x-worker-thread-9] INFO PostgresClient [28103169eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.202 [vert.x-worker-thread-9] INFO PostgresClient [28103170eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' 09:15:05.202 [vert.x-worker-thread-9] INFO PostgresClient [28103170eqId] trying to execute: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 09:15:05.206 [vert.x-worker-thread-9] INFO PostgresClient [28103174eqId] Successfully executed: CREATE OR REPLACE FUNCTION quick_marc_api_tests_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 09:15:05.207 [vert.x-worker-thread-9] INFO PostgresClient [28103175eqId] trying to execute: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 09:15:05.207 [vert.x-worker-thread-9] INFO PostgresClient [28103175eqId] Successfully executed: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 09:15:05.207 [vert.x-worker-thread-9] INFO PostgresClient [28103175eqId] trying to execute: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.208 [vert.x-worker-thread-9] INFO PostgresClient [28103176eqId] Successfully executed: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.208 [vert.x-worker-thread-9] INFO PostgresClient [28103176eqId] trying to execute: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.208 [vert.x-worker-thread-9] INFO PostgresClient [28103176eqId] Successfully executed: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.208 [vert.x-worker-thread-9] INFO PostgresClient [28103176eqId] trying to execute: create or replace function quick_marc_api_tests_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.209 [vert.x-worker-thread-9] INFO PostgresClient [28103177eqId] Successfully executed: create or replace function quick_marc_api_tests_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.209 [vert.x-worker-thread-9] INFO PostgresClient [28103177eqId] trying to execute: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.209 [vert.x-worker-thread-9] INFO PostgresClient [28103177eqId] Successfully executed: create or replace function quick_marc_api_tests_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 09:15:05.210 [vert.x-worker-thread-9] INFO PostgresClient [28103178eqId] trying to execute: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format 09:15:05.210 [vert.x-worker-thread-9] INFO PostgresClient [28103178eqId] Successfully executed: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EX 09:15:05.210 [vert.x-worker-thread-9] INFO PostgresClient [28103178eqId] trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM quick_marc_api_tests_mod_source_record_storage 09:15:05.211 [vert.x-worker-thread-9] INFO PostgresClient [28103179eqId] Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM quick_marc_api_tests_mod_source_record_storage 09:15:05.211 [vert.x-worker-thread-9] INFO PostgresClient [28103179eqId] trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC 09:15:05.211 [vert.x-worker-thread-9] INFO PostgresClient [28103179eqId] Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC 09:15:05.211 [vert.x-worker-thread-9] INFO PostgresClient [28103179eqId] trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 09:15:05.211 [vert.x-worker-thread-9] INFO PostgresClient [28103179eqId] Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 09:15:05.212 [vert.x-worker-thread-9] INFO PostgresClient [28103180eqId] trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'quick_marc_api_tests_mod_source_record_storage' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'quick_marc_api_tests_mod_source_record_storage.\1', 'g'); IF newindexdef <> i.indexdef THEN EXECUTE 'DROP INDEX ' || i.indexname; EXECUTE newindexdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; END IF; END LOOP; END $$ 09:15:05.212 [vert.x-worker-thread-9] INFO PostgresClient [28103180eqId] Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM quick_marc_api_tests_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = ' 09:15:05.212 [vert.x-worker-thread-9] INFO PostgresClient [28103180eqId] trying to execute: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 09:15:05.213 [vert.x-worker-thread-9] INFO PostgresClient [28103181eqId] Successfully executed: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 09:15:05.213 [vert.x-worker-thread-9] INFO PostgresClient [28103181eqId] trying to execute: TRUNCATE rmb_internal_analyze 09:15:05.216 [vert.x-worker-thread-9] INFO PostgresClient [28103184eqId] Successfully executed: TRUNCATE rmb_internal_analyze 09:15:05.216 [vert.x-worker-thread-9] INFO PostgresClient [28103184eqId] trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA quick_marc_api_tests_mod_source_record_storage TO quick_marc_api_tests_mod_source_record_storage 09:15:05.218 [vert.x-worker-thread-9] INFO PostgresClient [28103186eqId] Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA quick_marc_api_tests_mod_source_record_storage TO quick_marc_api_tests_mod_source_record_storage 09:15:05.219 [vert.x-worker-thread-9] INFO PostgresClient [28103187eqId] trying to execute: UPDATE quick_marc_api_tests_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 09:15:05.219 [vert.x-worker-thread-9] INFO PostgresClient [28103187eqId] Successfully executed: UPDATE quick_marc_api_tests_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 09:15:05.221 [vert.x-worker-thread-9] INFO PostgresClient [28103189eqId] Successfully committed: 1541836396 09:15:05.222 [vert.x-worker-thread-10] INFO LiquibaseUtil [28103190eqId] Initializing schema quick_marc_api_tests_mod_source_record_storage for tenant quick_marc_api_tests 09:15:05.222 [vert.x-worker-thread-10] INFO leConnectionProvider [28103190eqId] Attempting to get connection for quick_marc_api_tests 09:15:05.222 [vert.x-worker-thread-10] INFO PostgresClient [28103190eqId] DB config read from environment variables 09:15:05.222 [vert.x-worker-thread-10] INFO PostgresClient [28103190eqId] Using schema: quick_marc_api_tests 09:15:05.222 [vert.x-worker-thread-10] INFO PostgresClient [28103190eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"quick_marc_api_tests_mod_source_record_storage","database":"okapi_modules","password":"..."} 09:15:05.228 [vert.x-worker-thread-10] INFO Slf4jLogger [28103196eqId] SELECT COUNT(*) FROM quick_marc_api_tests_mod_source_record_storage.databasechangeloglock 09:15:05.229 [vert.x-worker-thread-10] INFO Slf4jLogger [28103197eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.databasechangeloglock (ID INTEGER NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITHOUT TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT DATABASECHANGELOGLOCK_PKEY PRIMARY KEY (ID)) 09:15:05.235 [vert.x-worker-thread-10] INFO Slf4jLogger [28103203eqId] SELECT COUNT(*) FROM quick_marc_api_tests_mod_source_record_storage.databasechangeloglock 09:15:05.235 [vert.x-worker-thread-10] INFO Slf4jLogger [28103203eqId] DELETE FROM quick_marc_api_tests_mod_source_record_storage.databasechangeloglock 09:15:05.236 [vert.x-worker-thread-10] INFO Slf4jLogger [28103204eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangeloglock (ID, LOCKED) VALUES (1, FALSE) 09:15:05.237 [vert.x-worker-thread-10] INFO Slf4jLogger [28103205eqId] SELECT LOCKED FROM quick_marc_api_tests_mod_source_record_storage.databasechangeloglock WHERE ID=1 09:15:05.239 [vert.x-worker-thread-10] INFO Slf4jLogger [28103207eqId] Successfully acquired change log lock 09:15:06.278 [vert.x-worker-thread-10] INFO Slf4jLogger [28104246eqId] Creating database history table with name: quick_marc_api_tests_mod_source_record_storage.databasechangelog 09:15:06.279 [vert.x-worker-thread-10] INFO Slf4jLogger [28104247eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10)) 09:15:06.287 [vert.x-worker-thread-10] INFO Slf4jLogger [28104255eqId] SELECT COUNT(*) FROM quick_marc_api_tests_mod_source_record_storage.databasechangelog 09:15:06.288 [vert.x-worker-thread-10] INFO Slf4jLogger [28104256eqId] Reading from quick_marc_api_tests_mod_source_record_storage.databasechangelog 09:15:06.288 [vert.x-worker-thread-10] INFO Slf4jLogger [28104256eqId] SELECT * FROM quick_marc_api_tests_mod_source_record_storage.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC 09:15:06.289 [vert.x-worker-thread-10] INFO Slf4jLogger [28104257eqId] SELECT COUNT(*) FROM quick_marc_api_tests_mod_source_record_storage.databasechangeloglock 09:15:06.319 [vert.x-worker-thread-10] INFO Slf4jLogger [28104287eqId] CREATE TYPE quick_marc_api_tests_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 09:15:06.320 [vert.x-worker-thread-10] INFO Slf4jLogger [28104288eqId] Custom SQL executed 09:15:06.323 [vert.x-worker-thread-10] INFO Slf4jLogger [28104291eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-00-create-job-execution-status::WilliamWelling ran successfully in 4ms 09:15:06.323 [vert.x-worker-thread-10] INFO Slf4jLogger [28104291eqId] SELECT MAX(ORDEREXECUTED) FROM quick_marc_api_tests_mod_source_record_storage.databasechangelog 09:15:06.325 [vert.x-worker-thread-10] INFO Slf4jLogger [28104293eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 1, '8:515696c136887ae7e28e31df1856152b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.326 [vert.x-worker-thread-10] INFO Slf4jLogger [28104294eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status QUICK_MARC_API_TESTS_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 09:15:06.330 [vert.x-worker-thread-10] INFO Slf4jLogger [28104298eqId] Table snapshots_lb created 09:15:06.331 [vert.x-worker-thread-10] INFO Slf4jLogger [28104299eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 09:15:06.331 [vert.x-worker-thread-10] INFO Slf4jLogger [28104299eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 2, '8:1d418fd79334dc3eb20258313d275647', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.332 [vert.x-worker-thread-10] INFO Slf4jLogger [28104300eqId] create function quick_marc_api_tests_mod_source_record_storage.update_snapshots_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 09:15:06.334 [vert.x-worker-thread-10] INFO Slf4jLogger [28104302eqId] Stored procedure created 09:15:06.335 [vert.x-worker-thread-10] INFO Slf4jLogger [28104303eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-02-create-update-snapshots-set-updated-date-function::WilliamWelling ran successfully in 3ms 09:15:06.335 [vert.x-worker-thread-10] INFO Slf4jLogger [28104303eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-02-create-update-snapshots-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 3, '8:ae5bfb421c32967bbc50e7add01ce6d7', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.336 [vert.x-worker-thread-10] INFO Slf4jLogger [28104304eqId] create trigger update_snapshots_set_updated_date before insert or update on quick_marc_api_tests_mod_source_record_storage.snapshots_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.update_snapshots_set_updated_date() 09:15:06.337 [vert.x-worker-thread-10] INFO Slf4jLogger [28104305eqId] Custom SQL executed 09:15:06.338 [vert.x-worker-thread-10] INFO Slf4jLogger [28104306eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 09:15:06.338 [vert.x-worker-thread-10] INFO Slf4jLogger [28104306eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 4, '8:1dd0d4e605c7d4c32e3f20081fc59776', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.340 [vert.x-worker-thread-10] INFO Slf4jLogger [28104308eqId] create function quick_marc_api_tests_mod_source_record_storage.insert_snapshots_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 09:15:06.340 [vert.x-worker-thread-10] INFO Slf4jLogger [28104308eqId] Stored procedure created 09:15:06.341 [vert.x-worker-thread-10] INFO Slf4jLogger [28104309eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-04-create-insert-snapshots-set-created-date-function::WilliamWelling ran successfully in 2ms 09:15:06.341 [vert.x-worker-thread-10] INFO Slf4jLogger [28104309eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-04-create-insert-snapshots-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 5, '8:b3efb24485cbcef675f5d8328f74f4a2', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.343 [vert.x-worker-thread-10] INFO Slf4jLogger [28104311eqId] create trigger insert_snapshots_set_created_date before insert or update on quick_marc_api_tests_mod_source_record_storage.snapshots_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.insert_snapshots_set_created_date() 09:15:06.343 [vert.x-worker-thread-10] INFO Slf4jLogger [28104311eqId] Custom SQL executed 09:15:06.344 [vert.x-worker-thread-10] INFO Slf4jLogger [28104312eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger::WilliamWelling ran successfully in 2ms 09:15:06.344 [vert.x-worker-thread-10] INFO Slf4jLogger [28104312eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 6, '8:fa7537537b5b6f6eb8167f922958cb03', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.346 [vert.x-worker-thread-10] INFO Slf4jLogger [28104314eqId] CREATE TYPE quick_marc_api_tests_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 09:15:06.346 [vert.x-worker-thread-10] INFO Slf4jLogger [28104314eqId] Custom SQL executed 09:15:06.347 [vert.x-worker-thread-10] INFO Slf4jLogger [28104315eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-00-create-record-type::WilliamWelling ran successfully in 1ms 09:15:06.347 [vert.x-worker-thread-10] INFO Slf4jLogger [28104315eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 7, '8:56352fa00c15e5cb06ba3eef7416d60c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.349 [vert.x-worker-thread-10] INFO Slf4jLogger [28104317eqId] CREATE TYPE quick_marc_api_tests_mod_source_record_storage.record_state_type AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 09:15:06.349 [vert.x-worker-thread-10] INFO Slf4jLogger [28104317eqId] Custom SQL executed 09:15:06.350 [vert.x-worker-thread-10] INFO Slf4jLogger [28104318eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-01-create-record-type-state::WilliamWelling ran successfully in 1ms 09:15:06.351 [vert.x-worker-thread-10] INFO Slf4jLogger [28104319eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 8, '8:b41ec9aa09de6effd93594dd14f78d76', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.352 [vert.x-worker-thread-10] INFO Slf4jLogger [28104320eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshotid UUID NOT NULL, matchedid UUID NOT NULL, generation INTEGER NOT NULL, recordtype QUICK_MARC_API_TESTS_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instanceid UUID, state QUICK_MARC_API_TESTS_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE_TYPE NOT NULL, orderinfile INTEGER, suppressdiscovery BOOLEAN, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.356 [vert.x-worker-thread-10] INFO Slf4jLogger [28104324eqId] Table records_lb created 09:15:06.357 [vert.x-worker-thread-10] INFO Slf4jLogger [28104325eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-02-create-records-table::WilliamWelling ran successfully in 5ms 09:15:06.358 [vert.x-worker-thread-10] INFO Slf4jLogger [28104326eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 9, '8:1be30366e769933a0194c3236337ef00', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.359 [vert.x-worker-thread-10] INFO Slf4jLogger [28104327eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshotid) REFERENCES quick_marc_api_tests_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.360 [vert.x-worker-thread-10] INFO Slf4jLogger [28104328eqId] Foreign key constraint added to records_lb (snapshotid) 09:15:06.361 [vert.x-worker-thread-10] INFO Slf4jLogger [28104329eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 2ms 09:15:06.362 [vert.x-worker-thread-10] INFO Slf4jLogger [28104330eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 10, '8:8ac4cf375c9d3f3ffbc714f9368d0a72', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.363 [vert.x-worker-thread-10] INFO Slf4jLogger [28104331eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.records_lb ALTER COLUMN suppressdiscovery SET DEFAULT FALSE 09:15:06.363 [vert.x-worker-thread-10] INFO Slf4jLogger [28104331eqId] Default value added to records_lb.suppressdiscovery 09:15:06.364 [vert.x-worker-thread-10] INFO Slf4jLogger [28104332eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-04-set-records-suppressdiscovery-default::WilliamWelling ran successfully in 1ms 09:15:06.365 [vert.x-worker-thread-10] INFO Slf4jLogger [28104333eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-04-set-records-suppressdiscovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 11, '8:2e3d43eae80377e37ee49c39204fa436', 'addDefaultValue columnName=suppressdiscovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.366 [vert.x-worker-thread-10] INFO Slf4jLogger [28104334eqId] CREATE INDEX idx_records_snapshotid ON quick_marc_api_tests_mod_source_record_storage.records_lb(snapshotid) 09:15:06.369 [vert.x-worker-thread-10] INFO Slf4jLogger [28104337eqId] Index idx_records_snapshotid created 09:15:06.370 [vert.x-worker-thread-10] INFO Slf4jLogger [28104338eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 09:15:06.370 [vert.x-worker-thread-10] INFO Slf4jLogger [28104338eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 12, '8:230aecb3df397dd4d8d4fbbc3bedfac4', 'createIndex indexName=idx_records_snapshotid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.372 [vert.x-worker-thread-10] INFO Slf4jLogger [28104340eqId] CREATE INDEX idx_records_instanceid ON quick_marc_api_tests_mod_source_record_storage.records_lb(instanceid) 09:15:06.374 [vert.x-worker-thread-10] INFO Slf4jLogger [28104342eqId] Index idx_records_instanceid created 09:15:06.375 [vert.x-worker-thread-10] INFO Slf4jLogger [28104343eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 09:15:06.375 [vert.x-worker-thread-10] INFO Slf4jLogger [28104343eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 13, '8:c07cc1217be19bea034ba3175453b9ae', 'createIndex indexName=idx_records_instanceid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.377 [vert.x-worker-thread-10] INFO Slf4jLogger [28104345eqId] CREATE UNIQUE INDEX idx_records_matchedid_gen ON quick_marc_api_tests_mod_source_record_storage.records_lb(matchedid, generation) 09:15:06.379 [vert.x-worker-thread-10] INFO Slf4jLogger [28104347eqId] Index idx_records_matchedid_gen created 09:15:06.380 [vert.x-worker-thread-10] INFO Slf4jLogger [28104348eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 3ms 09:15:06.381 [vert.x-worker-thread-10] INFO Slf4jLogger [28104349eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 14, '8:fd828c7dd8fbf71517be18f23c7f2233', 'createIndex indexName=idx_records_matchedid_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.382 [vert.x-worker-thread-10] INFO Slf4jLogger [28104350eqId] CREATE INDEX idx_records_updateddate ON quick_marc_api_tests_mod_source_record_storage.records_lb(updateddate) 09:15:06.385 [vert.x-worker-thread-10] INFO Slf4jLogger [28104353eqId] Index idx_records_updateddate created 09:15:06.386 [vert.x-worker-thread-10] INFO Slf4jLogger [28104354eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-08-create-records-updateddate-index::WilliamWelling ran successfully in 4ms 09:15:06.386 [vert.x-worker-thread-10] INFO Slf4jLogger [28104354eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-08-create-records-updateddate-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 15, '8:9f7f88d1a6e97a60677c4f16160441b9', 'createIndex indexName=idx_records_updateddate, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.387 [vert.x-worker-thread-10] INFO Slf4jLogger [28104355eqId] CREATE INDEX idx_records_matchedid_state ON quick_marc_api_tests_mod_source_record_storage.records_lb(matchedid, state) 09:15:06.390 [vert.x-worker-thread-10] INFO Slf4jLogger [28104358eqId] Index idx_records_matchedid_state created 09:15:06.392 [vert.x-worker-thread-10] INFO Slf4jLogger [28104360eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-09-create-records-matchedid-state-index::WilliamWelling ran successfully in 5ms 09:15:06.392 [vert.x-worker-thread-10] INFO Slf4jLogger [28104360eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-09-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 16, '8:e78528b683f234ba0e5021aab884f094', 'createIndex indexName=idx_records_matchedid_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.393 [vert.x-worker-thread-10] INFO Slf4jLogger [28104361eqId] create function quick_marc_api_tests_mod_source_record_storage.update_records_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 09:15:06.394 [vert.x-worker-thread-10] INFO Slf4jLogger [28104362eqId] Stored procedure created 09:15:06.395 [vert.x-worker-thread-10] INFO Slf4jLogger [28104363eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-10-create-update-records-set-updated-date-function::WilliamWelling ran successfully in 2ms 09:15:06.395 [vert.x-worker-thread-10] INFO Slf4jLogger [28104363eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-10-create-update-records-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 17, '8:0f273727e47e74624f38848a045d3840', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.397 [vert.x-worker-thread-10] INFO Slf4jLogger [28104365eqId] create trigger update_records_set_updated_date before insert or update on quick_marc_api_tests_mod_source_record_storage.records_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.update_records_set_updated_date() 09:15:06.397 [vert.x-worker-thread-10] INFO Slf4jLogger [28104365eqId] Custom SQL executed 09:15:06.398 [vert.x-worker-thread-10] INFO Slf4jLogger [28104366eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-11-create-update-records-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 09:15:06.398 [vert.x-worker-thread-10] INFO Slf4jLogger [28104366eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-11-create-update-records-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 18, '8:57d62ba2df0cab3c90f8e87c5acf19a8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.400 [vert.x-worker-thread-10] INFO Slf4jLogger [28104368eqId] create function quick_marc_api_tests_mod_source_record_storage.insert_records_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 09:15:06.400 [vert.x-worker-thread-10] INFO Slf4jLogger [28104368eqId] Stored procedure created 09:15:06.401 [vert.x-worker-thread-10] INFO Slf4jLogger [28104369eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-12-create-insert-records-set-created-date-function::WilliamWelling ran successfully in 2ms 09:15:06.401 [vert.x-worker-thread-10] INFO Slf4jLogger [28104369eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-12-create-insert-records-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 19, '8:4d66ad1943f52930a315454ba49d1c9e', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.403 [vert.x-worker-thread-10] INFO Slf4jLogger [28104371eqId] create trigger insert_records_set_created_date before insert or update on quick_marc_api_tests_mod_source_record_storage.records_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.insert_records_set_created_date() 09:15:06.403 [vert.x-worker-thread-10] INFO Slf4jLogger [28104371eqId] Custom SQL executed 09:15:06.404 [vert.x-worker-thread-10] INFO Slf4jLogger [28104372eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-13-create-insert-records-set-created-date-trigger::WilliamWelling ran successfully in 1ms 09:15:06.405 [vert.x-worker-thread-10] INFO Slf4jLogger [28104373eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-13-create-insert-records-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 20, '8:7b4c9a5ad9ae5ab84fef0dcf331da114', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.406 [vert.x-worker-thread-10] INFO Slf4jLogger [28104374eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.412 [vert.x-worker-thread-10] INFO Slf4jLogger [28104380eqId] Table raw_records_lb created 09:15:06.413 [vert.x-worker-thread-10] INFO Slf4jLogger [28104381eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-00-create-raw-records-table::WilliamWelling ran successfully in 7ms 09:15:06.413 [vert.x-worker-thread-10] INFO Slf4jLogger [28104381eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 21, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.415 [vert.x-worker-thread-10] INFO Slf4jLogger [28104383eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES quick_marc_api_tests_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.416 [vert.x-worker-thread-10] INFO Slf4jLogger [28104384eqId] Foreign key constraint added to raw_records_lb (id) 09:15:06.417 [vert.x-worker-thread-10] INFO Slf4jLogger [28104385eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 2ms 09:15:06.418 [vert.x-worker-thread-10] INFO Slf4jLogger [28104386eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 22, '8:654de1fabfc50afd63590a9e510ad8ca', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.419 [vert.x-worker-thread-10] INFO Slf4jLogger [28104387eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.425 [vert.x-worker-thread-10] INFO Slf4jLogger [28104393eqId] Table marc_records_lb created 09:15:06.426 [vert.x-worker-thread-10] INFO Slf4jLogger [28104394eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 09:15:06.426 [vert.x-worker-thread-10] INFO Slf4jLogger [28104394eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 23, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.428 [vert.x-worker-thread-10] INFO Slf4jLogger [28104396eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES quick_marc_api_tests_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.429 [vert.x-worker-thread-10] INFO Slf4jLogger [28104397eqId] Foreign key constraint added to marc_records_lb (id) 09:15:06.430 [vert.x-worker-thread-10] INFO Slf4jLogger [28104398eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 09:15:06.430 [vert.x-worker-thread-10] INFO Slf4jLogger [28104398eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 24, '8:1143098e8c5af7eda7b00cbf892273c3', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.431 [vert.x-worker-thread-10] INFO Slf4jLogger [28104399eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content JSONB NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.437 [vert.x-worker-thread-10] INFO Slf4jLogger [28104405eqId] Table error_records_lb created 09:15:06.438 [vert.x-worker-thread-10] INFO Slf4jLogger [28104406eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 09:15:06.439 [vert.x-worker-thread-10] INFO Slf4jLogger [28104407eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 25, '8:68a49e6c5b8e9ef40437e9fd0dac384e', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.440 [vert.x-worker-thread-10] INFO Slf4jLogger [28104408eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES quick_marc_api_tests_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.441 [vert.x-worker-thread-10] INFO Slf4jLogger [28104409eqId] Foreign key constraint added to error_records_lb (id) 09:15:06.442 [vert.x-worker-thread-10] INFO Slf4jLogger [28104410eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 09:15:06.443 [vert.x-worker-thread-10] INFO Slf4jLogger [28104411eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 26, '8:a99e65cb7871f56b5e179615a118a414', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.444 [vert.x-worker-thread-10] INFO Slf4jLogger [28104412eqId] create function quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from quick_marc_api_tests_mod_source_record_storage.records_lb rds where rds.matchedid = p_id and rds.state = 'ACTUAL') r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 09:15:06.445 [vert.x-worker-thread-10] INFO Slf4jLogger [28104413eqId] Stored procedure created 09:15:06.446 [vert.x-worker-thread-10] INFO Slf4jLogger [28104414eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-00-create-get-source-marc-record-by-id-function::WilliamWelling ran successfully in 2ms 09:15:06.447 [vert.x-worker-thread-10] INFO Slf4jLogger [28104415eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-00-create-get-source-marc-record-by-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 27, '8:b54232d35e14d5493ea616d435e71318', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.448 [vert.x-worker-thread-10] INFO Slf4jLogger [28104416eqId] create function quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from quick_marc_api_tests_mod_source_record_storage.records_lb rds where rds.matchedid = p_id) rr where generation = max_generation) r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 09:15:06.449 [vert.x-worker-thread-10] INFO Slf4jLogger [28104417eqId] Stored procedure created 09:15:06.450 [vert.x-worker-thread-10] INFO Slf4jLogger [28104418eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function::WilliamWelling ran successfully in 2ms 09:15:06.450 [vert.x-worker-thread-10] INFO Slf4jLogger [28104418eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 28, '8:6b2f393255b22efc9fc13dee11e2f69c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.452 [vert.x-worker-thread-10] INFO Slf4jLogger [28104420eqId] create function quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from quick_marc_api_tests_mod_source_record_storage.records_lb rds where rds.instanceId = p_instanceId and rds.state = 'ACTUAL') r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 09:15:06.452 [vert.x-worker-thread-10] INFO Slf4jLogger [28104420eqId] Stored procedure created 09:15:06.453 [vert.x-worker-thread-10] INFO Slf4jLogger [28104421eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function::WilliamWelling ran successfully in 2ms 09:15:06.454 [vert.x-worker-thread-10] INFO Slf4jLogger [28104422eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 29, '8:d37211eed4626d0f7589b6f732c6af5c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.455 [vert.x-worker-thread-10] INFO Slf4jLogger [28104423eqId] create function quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from quick_marc_api_tests_mod_source_record_storage.records_lb rds where rds.instanceid = p_instanceId) rr where generation = max_generation) r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 09:15:06.456 [vert.x-worker-thread-10] INFO Slf4jLogger [28104424eqId] Stored procedure created 09:15:06.457 [vert.x-worker-thread-10] INFO Slf4jLogger [28104425eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function::WilliamWelling ran successfully in 2ms 09:15:06.457 [vert.x-worker-thread-10] INFO Slf4jLogger [28104425eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 30, '8:31fe7c31992c44b6e83c0517f3c2b829', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.459 [vert.x-worker-thread-10] INFO Slf4jLogger [28104427eqId] create function quick_marc_api_tests_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select id, matchedid from quick_marc_api_tests_mod_source_record_storage.records_lb where state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 09:15:06.459 [vert.x-worker-thread-10] INFO Slf4jLogger [28104427eqId] Stored procedure created 09:15:06.460 [vert.x-worker-thread-10] INFO Slf4jLogger [28104428eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-04-create-get-all-source-marc-records-function::WilliamWelling ran successfully in 2ms 09:15:06.460 [vert.x-worker-thread-10] INFO Slf4jLogger [28104428eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-04-create-get-all-source-marc-records-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 31, '8:653fd74bdd1e4726ec92e0196df88c26', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.462 [vert.x-worker-thread-10] INFO Slf4jLogger [28104430eqId] create function quick_marc_api_tests_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select matchedid, id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from quick_marc_api_tests_mod_source_record_storage.records_lb ) rr where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 09:15:06.463 [vert.x-worker-thread-10] INFO Slf4jLogger [28104431eqId] Stored procedure created 09:15:06.464 [vert.x-worker-thread-10] INFO Slf4jLogger [28104432eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-05-create-get-all-source-marc-records-alt-function::WilliamWelling ran successfully in 2ms 09:15:06.464 [vert.x-worker-thread-10] INFO Slf4jLogger [28104432eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-05-create-get-all-source-marc-records-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 32, '8:4d17d1e55aa33e7a6e5dd7863f23ff78', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.465 [vert.x-worker-thread-10] INFO Slf4jLogger [28104433eqId] create function quick_marc_api_tests_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from quick_marc_api_tests_mod_source_record_storage.records_lb where updateddate between p_from and p_till and state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 09:15:06.466 [vert.x-worker-thread-10] INFO Slf4jLogger [28104434eqId] Stored procedure created 09:15:06.467 [vert.x-worker-thread-10] INFO Slf4jLogger [28104435eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-06-create-get-source-marc-records-for-period::WilliamWelling ran successfully in 2ms 09:15:06.467 [vert.x-worker-thread-10] INFO Slf4jLogger [28104435eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-06-create-get-source-marc-records-for-period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 33, '8:81c4c4695dd4beeeef566a25676b0bcf', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.469 [vert.x-worker-thread-10] INFO Slf4jLogger [28104437eqId] create function quick_marc_api_tests_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from ( select id, matchedid, updateddate, generation, max(generation) over (partition by matchedid) max_generation from quick_marc_api_tests_mod_source_record_storage.records_lb where updateddate between p_from and p_till ) r where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join quick_marc_api_tests_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 09:15:06.470 [vert.x-worker-thread-10] INFO Slf4jLogger [28104438eqId] Stored procedure created 09:15:06.471 [vert.x-worker-thread-10] INFO Slf4jLogger [28104439eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-07-create-get-source-marc-records-for-period-alt::WilliamWelling ran successfully in 2ms 09:15:06.471 [vert.x-worker-thread-10] INFO Slf4jLogger [28104439eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-07-create-get-source-marc-records-for-period-alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 34, '8:ad2fa3f47da405b91536e3e96d40e309', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.473 [vert.x-worker-thread-10] INFO Slf4jLogger [28104441eqId] CREATE FUNCTION quick_marc_api_tests_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) RETURNS integer AS $generation$ DECLARE generation integer; BEGIN SELECT COALESCE(MAX(r.generation), 0) into generation FROM quick_marc_api_tests_mod_source_record_storage.records_lb r INNER JOIN quick_marc_api_tests_mod_source_record_storage.snapshots_lb s ON r.snapshotid = s.id WHERE r.matchedid = p_matchedid AND s.status = 'COMMITTED' AND s.updateddate < ( SELECT processing_started_date FROM quick_marc_api_tests_mod_source_record_storage.snapshots_lb WHERE id = p_snapshotid )::timestamptz; RETURN generation; END; $generation$ LANGUAGE plpgsql 09:15:06.473 [vert.x-worker-thread-10] INFO Slf4jLogger [28104441eqId] Stored procedure created 09:15:06.474 [vert.x-worker-thread-10] INFO Slf4jLogger [28104442eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml::2020-05-18--08-00-create-get-record-generation-function::WilliamWelling ran successfully in 2ms 09:15:06.474 [vert.x-worker-thread-10] INFO Slf4jLogger [28104442eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-05-18--08-00-create-get-record-generation-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml', NOW(), 35, '8:666e16c1cf5fffdb2df60a155c43fbf2', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.476 [vert.x-worker-thread-10] INFO Slf4jLogger [28104444eqId] DROP TABLE quick_marc_api_tests_mod_source_record_storage.error_records_lb 09:15:06.477 [vert.x-worker-thread-10] INFO Slf4jLogger [28104445eqId] Table error_records_lb dropped 09:15:06.478 [vert.x-worker-thread-10] INFO Slf4jLogger [28104446eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-00-drop-error-records-lb-table::WilliamWelling ran successfully in 2ms 09:15:06.478 [vert.x-worker-thread-10] INFO Slf4jLogger [28104446eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-00-drop-error-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 36, '8:be6f9aaca0ad3df01ba720e77a1bbca9', 'dropTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.480 [vert.x-worker-thread-10] INFO Slf4jLogger [28104448eqId] DROP TABLE quick_marc_api_tests_mod_source_record_storage.marc_records_lb 09:15:06.481 [vert.x-worker-thread-10] INFO Slf4jLogger [28104449eqId] Table marc_records_lb dropped 09:15:06.482 [vert.x-worker-thread-10] INFO Slf4jLogger [28104450eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-01-drop-marc-records-lb-table::WilliamWelling ran successfully in 2ms 09:15:06.483 [vert.x-worker-thread-10] INFO Slf4jLogger [28104451eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-01-drop-marc-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 37, '8:9d98d8760c52364452f6ac840a419915', 'dropTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.484 [vert.x-worker-thread-10] INFO Slf4jLogger [28104452eqId] DROP TABLE quick_marc_api_tests_mod_source_record_storage.raw_records_lb 09:15:06.485 [vert.x-worker-thread-10] INFO Slf4jLogger [28104453eqId] Table raw_records_lb dropped 09:15:06.486 [vert.x-worker-thread-10] INFO Slf4jLogger [28104454eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-02-drop-raw-records-lb-table::WilliamWelling ran successfully in 2ms 09:15:06.486 [vert.x-worker-thread-10] INFO Slf4jLogger [28104454eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-02-drop-raw-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 38, '8:1b0c2b74467b0048dd8380dd9697b10a', 'dropTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.487 [vert.x-worker-thread-10] INFO Slf4jLogger [28104455eqId] DROP TABLE quick_marc_api_tests_mod_source_record_storage.records_lb 09:15:06.489 [vert.x-worker-thread-10] INFO Slf4jLogger [28104457eqId] Table records_lb dropped 09:15:06.490 [vert.x-worker-thread-10] INFO Slf4jLogger [28104458eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-03-drop-records-lb-table::WilliamWelling ran successfully in 3ms 09:15:06.490 [vert.x-worker-thread-10] INFO Slf4jLogger [28104458eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-03-drop-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 39, '8:33cbf814738ed53153326b21124d65ab', 'dropTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.492 [vert.x-worker-thread-10] INFO Slf4jLogger [28104460eqId] DROP TYPE quick_marc_api_tests_mod_source_record_storage.record_type 09:15:06.492 [vert.x-worker-thread-10] INFO Slf4jLogger [28104460eqId] Custom SQL executed 09:15:06.493 [vert.x-worker-thread-10] INFO Slf4jLogger [28104461eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-04-drop-record_type::WilliamWelling ran successfully in 2ms 09:15:06.493 [vert.x-worker-thread-10] INFO Slf4jLogger [28104461eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-04-drop-record_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 40, '8:53a5223335ec588290e0c2b58fa31276', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.495 [vert.x-worker-thread-10] INFO Slf4jLogger [28104463eqId] DROP TYPE quick_marc_api_tests_mod_source_record_storage.record_state_type 09:15:06.495 [vert.x-worker-thread-10] INFO Slf4jLogger [28104463eqId] Custom SQL executed 09:15:06.496 [vert.x-worker-thread-10] INFO Slf4jLogger [28104464eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-05-drop-record_state_type::WilliamWelling ran successfully in 2ms 09:15:06.497 [vert.x-worker-thread-10] INFO Slf4jLogger [28104465eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-05-drop-record_state_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 41, '8:9d2ab69ab9a742d45ca94393fd406b7c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.498 [vert.x-worker-thread-10] INFO Slf4jLogger [28104466eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.update_records_set_updated_date() 09:15:06.498 [vert.x-worker-thread-10] INFO Slf4jLogger [28104466eqId] Custom SQL executed 09:15:06.499 [vert.x-worker-thread-10] INFO Slf4jLogger [28104467eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-06-drop-update_records_set_updated_date::WilliamWelling ran successfully in 1ms 09:15:06.499 [vert.x-worker-thread-10] INFO Slf4jLogger [28104467eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-06-drop-update_records_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 42, '8:f78ee69e7a03ac47fa400e9240a7c530', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.501 [vert.x-worker-thread-10] INFO Slf4jLogger [28104469eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.insert_records_set_created_date() 09:15:06.501 [vert.x-worker-thread-10] INFO Slf4jLogger [28104469eqId] Custom SQL executed 09:15:06.502 [vert.x-worker-thread-10] INFO Slf4jLogger [28104470eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-07-drop-insert_records_set_created_date::WilliamWelling ran successfully in 2ms 09:15:06.502 [vert.x-worker-thread-10] INFO Slf4jLogger [28104470eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-07-drop-insert_records_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 43, '8:7ee50e2d631c80766037b45ab09204c7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.504 [vert.x-worker-thread-10] INFO Slf4jLogger [28104472eqId] DROP TABLE quick_marc_api_tests_mod_source_record_storage.snapshots_lb 09:15:06.504 [vert.x-worker-thread-10] INFO Slf4jLogger [28104472eqId] Table snapshots_lb dropped 09:15:06.505 [vert.x-worker-thread-10] INFO Slf4jLogger [28104473eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-08-drop-snapshots-lb-table::WilliamWelling ran successfully in 2ms 09:15:06.506 [vert.x-worker-thread-10] INFO Slf4jLogger [28104474eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-08-drop-snapshots-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 44, '8:b672aac747b583a0710fdc2151b17b4a', 'dropTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.507 [vert.x-worker-thread-10] INFO Slf4jLogger [28104475eqId] DROP TYPE quick_marc_api_tests_mod_source_record_storage.job_execution_status 09:15:06.507 [vert.x-worker-thread-10] INFO Slf4jLogger [28104475eqId] Custom SQL executed 09:15:06.508 [vert.x-worker-thread-10] INFO Slf4jLogger [28104476eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-09-drop-job_execution_status::WilliamWelling ran successfully in 1ms 09:15:06.509 [vert.x-worker-thread-10] INFO Slf4jLogger [28104477eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-09-drop-job_execution_status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 45, '8:859d0b346f3f979633aaa8effca343b8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.510 [vert.x-worker-thread-10] INFO Slf4jLogger [28104478eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.update_snapshots_set_updated_date() 09:15:06.510 [vert.x-worker-thread-10] INFO Slf4jLogger [28104478eqId] Custom SQL executed 09:15:06.511 [vert.x-worker-thread-10] INFO Slf4jLogger [28104479eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-10-drop-update_snapshots_set_updated_date::WilliamWelling ran successfully in 1ms 09:15:06.511 [vert.x-worker-thread-10] INFO Slf4jLogger [28104479eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-10-drop-update_snapshots_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 46, '8:bd52d72990d5d10af69354f5ab0e676f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.513 [vert.x-worker-thread-10] INFO Slf4jLogger [28104481eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.insert_snapshots_set_created_date() 09:15:06.513 [vert.x-worker-thread-10] INFO Slf4jLogger [28104481eqId] Custom SQL executed 09:15:06.514 [vert.x-worker-thread-10] INFO Slf4jLogger [28104482eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-11-drop-insert_snapshots_set_created_date::WilliamWelling ran successfully in 1ms 09:15:06.514 [vert.x-worker-thread-10] INFO Slf4jLogger [28104482eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-11-drop-insert_snapshots_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 47, '8:9e49d514f1bd39df9baf57e30bf8d725', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.516 [vert.x-worker-thread-10] INFO Slf4jLogger [28104484eqId] CREATE TYPE quick_marc_api_tests_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 09:15:06.517 [vert.x-worker-thread-10] INFO Slf4jLogger [28104485eqId] Custom SQL executed 09:15:06.518 [vert.x-worker-thread-10] INFO Slf4jLogger [28104486eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-00-create-job-execution-status::WilliamWelling ran successfully in 3ms 09:15:06.518 [vert.x-worker-thread-10] INFO Slf4jLogger [28104486eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 48, '8:515696c136887ae7e28e31df1856152b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.520 [vert.x-worker-thread-10] INFO Slf4jLogger [28104488eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status QUICK_MARC_API_TESTS_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 09:15:06.524 [vert.x-worker-thread-10] INFO Slf4jLogger [28104492eqId] Table snapshots_lb created 09:15:06.525 [vert.x-worker-thread-10] INFO Slf4jLogger [28104493eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 09:15:06.525 [vert.x-worker-thread-10] INFO Slf4jLogger [28104493eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 49, '8:36b885f896946876910b3dad28ea3a0c', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.526 [vert.x-worker-thread-10] INFO Slf4jLogger [28104494eqId] create function quick_marc_api_tests_mod_source_record_storage.insert_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 09:15:06.527 [vert.x-worker-thread-10] INFO Slf4jLogger [28104495eqId] Stored procedure created 09:15:06.528 [vert.x-worker-thread-10] INFO Slf4jLogger [28104496eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-02-create-insert-snapshots-set-dates-function::WilliamWelling ran successfully in 2ms 09:15:06.528 [vert.x-worker-thread-10] INFO Slf4jLogger [28104496eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-02-create-insert-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 50, '8:ef473f48d9d86cb53f0d705d213c1e04', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.530 [vert.x-worker-thread-10] INFO Slf4jLogger [28104498eqId] create trigger insert_snapshots_set_dates before insert on quick_marc_api_tests_mod_source_record_storage.snapshots_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.insert_snapshots_set_dates() 09:15:06.530 [vert.x-worker-thread-10] INFO Slf4jLogger [28104498eqId] Custom SQL executed 09:15:06.531 [vert.x-worker-thread-10] INFO Slf4jLogger [28104499eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-03-create-insert-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 09:15:06.532 [vert.x-worker-thread-10] INFO Slf4jLogger [28104500eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-03-create-insert-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 51, '8:1068cc9fc52ffc1f336edee90d1e794a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.533 [vert.x-worker-thread-10] INFO Slf4jLogger [28104501eqId] create function quick_marc_api_tests_mod_source_record_storage.update_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 09:15:06.533 [vert.x-worker-thread-10] INFO Slf4jLogger [28104501eqId] Stored procedure created 09:15:06.534 [vert.x-worker-thread-10] INFO Slf4jLogger [28104502eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-04-create-update-snapshots-set-dates-function::WilliamWelling ran successfully in 1ms 09:15:06.535 [vert.x-worker-thread-10] INFO Slf4jLogger [28104503eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-04-create-update-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 52, '8:a9b337e9ea2b313c54f72563c7b90c5e', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.536 [vert.x-worker-thread-10] INFO Slf4jLogger [28104504eqId] create trigger update_snapshots_set_dates before update on quick_marc_api_tests_mod_source_record_storage.snapshots_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.update_snapshots_set_dates() 09:15:06.537 [vert.x-worker-thread-10] INFO Slf4jLogger [28104505eqId] Custom SQL executed 09:15:06.537 [vert.x-worker-thread-10] INFO Slf4jLogger [28104505eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-05-create-update-snapshots-set-dates-trigger::WilliamWelling ran successfully in 1ms 09:15:06.538 [vert.x-worker-thread-10] INFO Slf4jLogger [28104506eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-05-create-update-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 53, '8:8403bcb7a2260c8a7808ce1540510b74', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.539 [vert.x-worker-thread-10] INFO Slf4jLogger [28104507eqId] CREATE TYPE quick_marc_api_tests_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 09:15:06.539 [vert.x-worker-thread-10] INFO Slf4jLogger [28104507eqId] Custom SQL executed 09:15:06.540 [vert.x-worker-thread-10] INFO Slf4jLogger [28104508eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-00-create-record-type::WilliamWelling ran successfully in 1ms 09:15:06.541 [vert.x-worker-thread-10] INFO Slf4jLogger [28104509eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 54, '8:56352fa00c15e5cb06ba3eef7416d60c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.542 [vert.x-worker-thread-10] INFO Slf4jLogger [28104510eqId] CREATE TYPE quick_marc_api_tests_mod_source_record_storage.record_state AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 09:15:06.542 [vert.x-worker-thread-10] INFO Slf4jLogger [28104510eqId] Custom SQL executed 09:15:06.543 [vert.x-worker-thread-10] INFO Slf4jLogger [28104511eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-01-create-record-type-state::WilliamWelling ran successfully in 1ms 09:15:06.544 [vert.x-worker-thread-10] INFO Slf4jLogger [28104512eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 55, '8:2aea3f5ad81c9605fe0c81d0c49ea0ea', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.545 [vert.x-worker-thread-10] INFO Slf4jLogger [28104513eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshot_id UUID NOT NULL, matched_id UUID NOT NULL, generation INTEGER NOT NULL, record_type QUICK_MARC_API_TESTS_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instance_id UUID, state QUICK_MARC_API_TESTS_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE NOT NULL, leader_record_status CHAR(1), "order" INTEGER, suppress_discovery BOOLEAN, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.549 [vert.x-worker-thread-10] INFO Slf4jLogger [28104517eqId] Table records_lb created 09:15:06.550 [vert.x-worker-thread-10] INFO Slf4jLogger [28104518eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-02-create-records-table::WilliamWelling ran successfully in 5ms 09:15:06.550 [vert.x-worker-thread-10] INFO Slf4jLogger [28104518eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 56, '8:043833c7340add093ba31db09b67c9c7', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.552 [vert.x-worker-thread-10] INFO Slf4jLogger [28104520eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshot_id) REFERENCES quick_marc_api_tests_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.553 [vert.x-worker-thread-10] INFO Slf4jLogger [28104521eqId] Foreign key constraint added to records_lb (snapshot_id) 09:15:06.554 [vert.x-worker-thread-10] INFO Slf4jLogger [28104522eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 2ms 09:15:06.554 [vert.x-worker-thread-10] INFO Slf4jLogger [28104522eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 57, '8:cf6d515e247de9913301386a288d5841', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.556 [vert.x-worker-thread-10] INFO Slf4jLogger [28104524eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.records_lb ALTER COLUMN suppress_discovery SET DEFAULT FALSE 09:15:06.556 [vert.x-worker-thread-10] INFO Slf4jLogger [28104524eqId] Default value added to records_lb.suppress_discovery 09:15:06.557 [vert.x-worker-thread-10] INFO Slf4jLogger [28104525eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-04-set-records-suppress-discovery-default::WilliamWelling ran successfully in 1ms 09:15:06.557 [vert.x-worker-thread-10] INFO Slf4jLogger [28104525eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-04-set-records-suppress-discovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 58, '8:e298256609b2ccd148df7cacfe3976d9', 'addDefaultValue columnName=suppress_discovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.559 [vert.x-worker-thread-10] INFO Slf4jLogger [28104527eqId] CREATE INDEX idx_records_snapshot_id ON quick_marc_api_tests_mod_source_record_storage.records_lb(snapshot_id) 09:15:06.562 [vert.x-worker-thread-10] INFO Slf4jLogger [28104530eqId] Index idx_records_snapshot_id created 09:15:06.562 [vert.x-worker-thread-10] INFO Slf4jLogger [28104530eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 3ms 09:15:06.563 [vert.x-worker-thread-10] INFO Slf4jLogger [28104531eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 59, '8:c6e328ab2fba3f4c29419f38f468382e', 'createIndex indexName=idx_records_snapshot_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.564 [vert.x-worker-thread-10] INFO Slf4jLogger [28104532eqId] CREATE INDEX idx_records_instance_id ON quick_marc_api_tests_mod_source_record_storage.records_lb(instance_id) 09:15:06.567 [vert.x-worker-thread-10] INFO Slf4jLogger [28104535eqId] Index idx_records_instance_id created 09:15:06.568 [vert.x-worker-thread-10] INFO Slf4jLogger [28104536eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 09:15:06.568 [vert.x-worker-thread-10] INFO Slf4jLogger [28104536eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 60, '8:c22519eb28b44a506a6a755bbba5ffbc', 'createIndex indexName=idx_records_instance_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.570 [vert.x-worker-thread-10] INFO Slf4jLogger [28104538eqId] CREATE UNIQUE INDEX idx_records_matched_id_gen ON quick_marc_api_tests_mod_source_record_storage.records_lb(matched_id, generation) 09:15:06.572 [vert.x-worker-thread-10] INFO Slf4jLogger [28104540eqId] Index idx_records_matched_id_gen created 09:15:06.573 [vert.x-worker-thread-10] INFO Slf4jLogger [28104541eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 3ms 09:15:06.574 [vert.x-worker-thread-10] INFO Slf4jLogger [28104542eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 61, '8:743c072a1015062be1c0f6de44c92cdd', 'createIndex indexName=idx_records_matched_id_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.575 [vert.x-worker-thread-10] INFO Slf4jLogger [28104543eqId] CREATE INDEX idx_records_updated_date ON quick_marc_api_tests_mod_source_record_storage.records_lb(updated_date) 09:15:06.577 [vert.x-worker-thread-10] INFO Slf4jLogger [28104545eqId] Index idx_records_updated_date created 09:15:06.578 [vert.x-worker-thread-10] INFO Slf4jLogger [28104546eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-08-create-records-updated-date-index::WilliamWelling ran successfully in 3ms 09:15:06.579 [vert.x-worker-thread-10] INFO Slf4jLogger [28104547eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-08-create-records-updated-date-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 62, '8:eacde1d59bcc36c8c3950414e9c270d5', 'createIndex indexName=idx_records_updated_date, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.580 [vert.x-worker-thread-10] INFO Slf4jLogger [28104548eqId] CREATE INDEX idx_records_leader_record_status ON quick_marc_api_tests_mod_source_record_storage.records_lb(leader_record_status) 09:15:06.582 [vert.x-worker-thread-10] INFO Slf4jLogger [28104550eqId] Index idx_records_leader_record_status created 09:15:06.583 [vert.x-worker-thread-10] INFO Slf4jLogger [28104551eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-09-create-records-leader-record-status-index::WilliamWelling ran successfully in 3ms 09:15:06.584 [vert.x-worker-thread-10] INFO Slf4jLogger [28104552eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-09-create-records-leader-record-status-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 63, '8:13d856ba44fd5d104e9ba8b95b97e773', 'createIndex indexName=idx_records_leader_record_status, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.585 [vert.x-worker-thread-10] INFO Slf4jLogger [28104553eqId] CREATE INDEX idx_records_matched_id_state ON quick_marc_api_tests_mod_source_record_storage.records_lb(matched_id, state) 09:15:06.588 [vert.x-worker-thread-10] INFO Slf4jLogger [28104556eqId] Index idx_records_matched_id_state created 09:15:06.588 [vert.x-worker-thread-10] INFO Slf4jLogger [28104556eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-10-create-records-matchedid-state-index::WilliamWelling ran successfully in 3ms 09:15:06.589 [vert.x-worker-thread-10] INFO Slf4jLogger [28104557eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-10-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 64, '8:237c82d922a2f21b436ff08b2cf66c1e', 'createIndex indexName=idx_records_matched_id_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.590 [vert.x-worker-thread-10] INFO Slf4jLogger [28104558eqId] create function quick_marc_api_tests_mod_source_record_storage.insert_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 09:15:06.591 [vert.x-worker-thread-10] INFO Slf4jLogger [28104559eqId] Stored procedure created 09:15:06.591 [vert.x-worker-thread-10] INFO Slf4jLogger [28104559eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-11-create-insert-records-set-dates-function::WilliamWelling ran successfully in 1ms 09:15:06.592 [vert.x-worker-thread-10] INFO Slf4jLogger [28104560eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-11-create-insert-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 65, '8:397c63c59b3f5035399b3866652f0390', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.597 [vert.x-worker-thread-10] INFO Slf4jLogger [28104565eqId] create trigger insert_records_set_dates before insert on quick_marc_api_tests_mod_source_record_storage.records_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.insert_records_set_dates() 09:15:06.598 [vert.x-worker-thread-10] INFO Slf4jLogger [28104566eqId] Custom SQL executed 09:15:06.599 [vert.x-worker-thread-10] INFO Slf4jLogger [28104567eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-12-create-insert-records-set-dates-trigger::WilliamWelling ran successfully in 2ms 09:15:06.599 [vert.x-worker-thread-10] INFO Slf4jLogger [28104567eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-12-create-insert-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 66, '8:a67f7ab754db9e23058601e744be50c9', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.600 [vert.x-worker-thread-10] INFO Slf4jLogger [28104568eqId] create function quick_marc_api_tests_mod_source_record_storage.update_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 09:15:06.601 [vert.x-worker-thread-10] INFO Slf4jLogger [28104569eqId] Stored procedure created 09:15:06.602 [vert.x-worker-thread-10] INFO Slf4jLogger [28104570eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-13-create-update-records-set-dates-function::WilliamWelling ran successfully in 2ms 09:15:06.602 [vert.x-worker-thread-10] INFO Slf4jLogger [28104570eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-13-create-update-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 67, '8:155770024858c5705c81bd6a870b8b04', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.603 [vert.x-worker-thread-10] INFO Slf4jLogger [28104571eqId] create trigger update_records_set_dates before update on quick_marc_api_tests_mod_source_record_storage.records_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.update_records_set_dates() 09:15:06.604 [vert.x-worker-thread-10] INFO Slf4jLogger [28104572eqId] Custom SQL executed 09:15:06.604 [vert.x-worker-thread-10] INFO Slf4jLogger [28104572eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-14-create-update-records-set-dates-trigger::WilliamWelling ran successfully in 1ms 09:15:06.605 [vert.x-worker-thread-10] INFO Slf4jLogger [28104573eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-14-create-update-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 68, '8:7e51fc25e32b5a63a408a5f0bc289eed', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.607 [vert.x-worker-thread-10] INFO Slf4jLogger [28104575eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.613 [vert.x-worker-thread-10] INFO Slf4jLogger [28104581eqId] Table raw_records_lb created 09:15:06.614 [vert.x-worker-thread-10] INFO Slf4jLogger [28104582eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-00-create-raw-records-table::WilliamWelling ran successfully in 8ms 09:15:06.614 [vert.x-worker-thread-10] INFO Slf4jLogger [28104582eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 69, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.615 [vert.x-worker-thread-10] INFO Slf4jLogger [28104583eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES quick_marc_api_tests_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.617 [vert.x-worker-thread-10] INFO Slf4jLogger [28104585eqId] Foreign key constraint added to raw_records_lb (id) 09:15:06.618 [vert.x-worker-thread-10] INFO Slf4jLogger [28104586eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 3ms 09:15:06.618 [vert.x-worker-thread-10] INFO Slf4jLogger [28104586eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 70, '8:654de1fabfc50afd63590a9e510ad8ca', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.619 [vert.x-worker-thread-10] INFO Slf4jLogger [28104587eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.625 [vert.x-worker-thread-10] INFO Slf4jLogger [28104593eqId] Table marc_records_lb created 09:15:06.626 [vert.x-worker-thread-10] INFO Slf4jLogger [28104594eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 09:15:06.626 [vert.x-worker-thread-10] INFO Slf4jLogger [28104594eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 71, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.628 [vert.x-worker-thread-10] INFO Slf4jLogger [28104596eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES quick_marc_api_tests_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.629 [vert.x-worker-thread-10] INFO Slf4jLogger [28104597eqId] Foreign key constraint added to marc_records_lb (id) 09:15:06.630 [vert.x-worker-thread-10] INFO Slf4jLogger [28104598eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 3ms 09:15:06.630 [vert.x-worker-thread-10] INFO Slf4jLogger [28104598eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 72, '8:1143098e8c5af7eda7b00cbf892273c3', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.631 [vert.x-worker-thread-10] INFO Slf4jLogger [28104599eqId] create function quick_marc_api_tests_mod_source_record_storage.update_records_set_leader_record_status() returns trigger language plpgsql as $$ BEGIN IF (TG_OP = 'DELETE') THEN UPDATE quick_marc_api_tests_mod_source_record_storage.records_lb SET leader_record_status = NULL WHERE id = OLD.id; RETURN OLD; ELSE UPDATE quick_marc_api_tests_mod_source_record_storage.records_lb SET leader_record_status = substring(NEW.content->>'leader' from 6 for 1)::char(1) WHERE id = NEW.id; RETURN NEW; END IF; END; $$ 09:15:06.632 [vert.x-worker-thread-10] INFO Slf4jLogger [28104600eqId] Stored procedure created 09:15:06.633 [vert.x-worker-thread-10] INFO Slf4jLogger [28104601eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-02-create-update-records-set-leader-record-status-function::WilliamWelling ran successfully in 2ms 09:15:06.633 [vert.x-worker-thread-10] INFO Slf4jLogger [28104601eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-02-create-update-records-set-leader-record-status-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 73, '8:d106b484155c45c29b3fd5f8316d12a8', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.634 [vert.x-worker-thread-10] INFO Slf4jLogger [28104602eqId] create trigger update_records_set_leader_record_status after insert or update or delete on quick_marc_api_tests_mod_source_record_storage.marc_records_lb for each row execute procedure quick_marc_api_tests_mod_source_record_storage.update_records_set_leader_record_status() 09:15:06.635 [vert.x-worker-thread-10] INFO Slf4jLogger [28104603eqId] Custom SQL executed 09:15:06.636 [vert.x-worker-thread-10] INFO Slf4jLogger [28104604eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-03-create-update-records-set-leader-record-status-trigger::WilliamWelling ran successfully in 2ms 09:15:06.636 [vert.x-worker-thread-10] INFO Slf4jLogger [28104604eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-03-create-update-records-set-leader-record-status-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 74, '8:6899f78f965c1fcafc6463503bd8718d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.638 [vert.x-worker-thread-10] INFO Slf4jLogger [28104606eqId] CREATE TABLE quick_marc_api_tests_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content TEXT NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 09:15:06.644 [vert.x-worker-thread-10] INFO Slf4jLogger [28104612eqId] Table error_records_lb created 09:15:06.645 [vert.x-worker-thread-10] INFO Slf4jLogger [28104613eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-00-create-error-records-table::WilliamWelling ran successfully in 8ms 09:15:06.645 [vert.x-worker-thread-10] INFO Slf4jLogger [28104613eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 75, '8:b821b96e42bf16cf15ef75ea935ba4fe', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.646 [vert.x-worker-thread-10] INFO Slf4jLogger [28104614eqId] ALTER TABLE quick_marc_api_tests_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES quick_marc_api_tests_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 09:15:06.648 [vert.x-worker-thread-10] INFO Slf4jLogger [28104616eqId] Foreign key constraint added to error_records_lb (id) 09:15:06.649 [vert.x-worker-thread-10] INFO Slf4jLogger [28104617eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 3ms 09:15:06.649 [vert.x-worker-thread-10] INFO Slf4jLogger [28104617eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 76, '8:a99e65cb7871f56b5e179615a118a414', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.659 [vert.x-worker-thread-10] INFO Slf4jLogger [28104627eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-00-disable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.snapshots does not exist 09:15:06.659 [vert.x-worker-thread-10] INFO Slf4jLogger [28104627eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-00-disable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 77, '8:d190d5e5f61615bff419512a38b94422', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.667 [vert.x-worker-thread-10] INFO Slf4jLogger [28104635eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-01-migrate-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.snapshots does not exist 09:15:06.667 [vert.x-worker-thread-10] INFO Slf4jLogger [28104635eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-01-migrate-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 78, '8:ddc8e77d745c962ff6f7f243724b6a61', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.675 [vert.x-worker-thread-10] INFO Slf4jLogger [28104643eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-02-enable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.snapshots does not exist 09:15:06.676 [vert.x-worker-thread-10] INFO Slf4jLogger [28104644eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-02-enable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 79, '8:664dd86611eeef46e3c1bb51cb6f2ef4', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.684 [vert.x-worker-thread-10] INFO Slf4jLogger [28104652eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-03-create-missing-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.snapshots does not exist 09:15:06.684 [vert.x-worker-thread-10] INFO Slf4jLogger [28104652eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-03-create-missing-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 80, '8:be9d7bbe84c7e10eeaadab92c5f4fcd6', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.692 [vert.x-worker-thread-10] INFO Slf4jLogger [28104660eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-00-disable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.693 [vert.x-worker-thread-10] INFO Slf4jLogger [28104661eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-00-disable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 81, '8:11f79632f6ff79404f3656d5645e3420', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.701 [vert.x-worker-thread-10] INFO Slf4jLogger [28104669eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-01-migrate-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.701 [vert.x-worker-thread-10] INFO Slf4jLogger [28104669eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-01-migrate-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 82, '8:c2c6a5c5968aeeb082356f03d735018d', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.709 [vert.x-worker-thread-10] INFO Slf4jLogger [28104677eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-02-enable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.709 [vert.x-worker-thread-10] INFO Slf4jLogger [28104677eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-02-enable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 83, '8:375895f8bea8f53bca49df6083abe2e8', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.717 [vert.x-worker-thread-10] INFO Slf4jLogger [28104685eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml::2020-06-12--14-00-migrate-raw-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.718 [vert.x-worker-thread-10] INFO Slf4jLogger [28104686eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--14-00-migrate-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml', NOW(), 84, '8:ad443dfc0db3472ec1bb796d98292436', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.725 [vert.x-worker-thread-10] INFO Slf4jLogger [28104693eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-00-disable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.726 [vert.x-worker-thread-10] INFO Slf4jLogger [28104694eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-00-disable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 85, '8:49b378d8f6bfb05da96876cdc3ab31fc', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.734 [vert.x-worker-thread-10] INFO Slf4jLogger [28104702eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-01-migrate-marc-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.734 [vert.x-worker-thread-10] INFO Slf4jLogger [28104702eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-01-migrate-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 86, '8:87d0bbc7263c78d46ed7abb2416a4de2', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.742 [vert.x-worker-thread-10] INFO Slf4jLogger [28104710eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-02-enable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.742 [vert.x-worker-thread-10] INFO Slf4jLogger [28104710eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-02-enable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 87, '8:9e26863aace27168f1d6d3043dce1fc8', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.750 [vert.x-worker-thread-10] INFO Slf4jLogger [28104718eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml::2020-06-12--16-00-migrate-error-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table quick_marc_api_tests_mod_source_record_storage.records does not exist 09:15:06.750 [vert.x-worker-thread-10] INFO Slf4jLogger [28104718eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--16-00-migrate-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml', NOW(), 88, '8:fa39cf1c319b03229db78ef5b6157c75', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3162906289') 09:15:06.752 [vert.x-worker-thread-10] INFO Slf4jLogger [28104720eqId] DROP TABLE IF EXISTS quick_marc_api_tests_mod_source_record_storage.error_records 09:15:06.752 [vert.x-worker-thread-10] INFO Slf4jLogger [28104720eqId] Custom SQL executed 09:15:06.752 [vert.x-worker-thread-10] INFO Slf4jLogger [28104720eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml::2020-06-13--12-00-drop-error-records::WilliamWelling ran successfully in 0ms 09:15:06.753 [vert.x-worker-thread-10] INFO Slf4jLogger [28104721eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--12-00-drop-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml', NOW(), 89, '8:fe84c5e7284bf103890f3c4f414935bc', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.754 [vert.x-worker-thread-10] INFO Slf4jLogger [28104722eqId] DROP TABLE IF EXISTS quick_marc_api_tests_mod_source_record_storage.marc_records 09:15:06.754 [vert.x-worker-thread-10] INFO Slf4jLogger [28104722eqId] Custom SQL executed 09:15:06.754 [vert.x-worker-thread-10] INFO Slf4jLogger [28104722eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml::2020-06-13--13-00-drop-marc-records::WilliamWelling ran successfully in 0ms 09:15:06.755 [vert.x-worker-thread-10] INFO Slf4jLogger [28104723eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--13-00-drop-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml', NOW(), 90, '8:c5880ad950c0c71e0b66bf9303238e48', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.756 [vert.x-worker-thread-10] INFO Slf4jLogger [28104724eqId] DROP TABLE IF EXISTS quick_marc_api_tests_mod_source_record_storage.raw_records 09:15:06.756 [vert.x-worker-thread-10] INFO Slf4jLogger [28104724eqId] Custom SQL executed 09:15:06.756 [vert.x-worker-thread-10] INFO Slf4jLogger [28104724eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml::2020-06-13--14-00-drop-raw-records::WilliamWelling ran successfully in 0ms 09:15:06.757 [vert.x-worker-thread-10] INFO Slf4jLogger [28104725eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--14-00-drop-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml', NOW(), 91, '8:5db968950d3028415c34d0820ec2e2b6', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.758 [vert.x-worker-thread-10] INFO Slf4jLogger [28104726eqId] DROP TABLE IF EXISTS quick_marc_api_tests_mod_source_record_storage.records 09:15:06.758 [vert.x-worker-thread-10] INFO Slf4jLogger [28104726eqId] Custom SQL executed 09:15:06.758 [vert.x-worker-thread-10] INFO Slf4jLogger [28104726eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml::2020-06-13--15-00-drop-records::WilliamWelling ran successfully in 0ms 09:15:06.759 [vert.x-worker-thread-10] INFO Slf4jLogger [28104727eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--15-00-drop-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml', NOW(), 92, '8:4232fafbcce24613156832ea81b3c7c8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.760 [vert.x-worker-thread-10] INFO Slf4jLogger [28104728eqId] DROP TABLE IF EXISTS quick_marc_api_tests_mod_source_record_storage.snapshots 09:15:06.760 [vert.x-worker-thread-10] INFO Slf4jLogger [28104728eqId] Custom SQL executed 09:15:06.761 [vert.x-worker-thread-10] INFO Slf4jLogger [28104729eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml::2020-06-13--16-00-drop-snapshots::WilliamWelling ran successfully in 1ms 09:15:06.761 [vert.x-worker-thread-10] INFO Slf4jLogger [28104729eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--16-00-drop-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml', NOW(), 93, '8:dc216ed2275b2c0788c1036faa99bbb3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.762 [vert.x-worker-thread-10] INFO Slf4jLogger [28104730eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_record_by_external_id(externalId uuid, idFieldName text) 09:15:06.762 [vert.x-worker-thread-10] INFO Slf4jLogger [28104730eqId] Custom SQL executed 09:15:06.763 [vert.x-worker-thread-10] INFO Slf4jLogger [28104731eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-00-drop-get_record_by_external_id::WilliamWelling ran successfully in 1ms 09:15:06.763 [vert.x-worker-thread-10] INFO Slf4jLogger [28104731eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-00-drop-get_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 94, '8:8d8e3760d079ea61602c317e27204f6c', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.764 [vert.x-worker-thread-10] INFO Slf4jLogger [28104732eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_record_by_matched_id(record_id uuid) 09:15:06.764 [vert.x-worker-thread-10] INFO Slf4jLogger [28104732eqId] Custom SQL executed 09:15:06.765 [vert.x-worker-thread-10] INFO Slf4jLogger [28104733eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-01-drop-get_record_by_matched_id::WilliamWelling ran successfully in 1ms 09:15:06.765 [vert.x-worker-thread-10] INFO Slf4jLogger [28104733eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-01-drop-get_record_by_matched_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 95, '8:606451ff2e5b75de5a80261117df3571', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.766 [vert.x-worker-thread-10] INFO Slf4jLogger [28104734eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_record_by_id(record_id uuid) 09:15:06.767 [vert.x-worker-thread-10] INFO Slf4jLogger [28104735eqId] Custom SQL executed 09:15:06.767 [vert.x-worker-thread-10] INFO Slf4jLogger [28104735eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-02-drop-get_source_record_by_id::WilliamWelling ran successfully in 1ms 09:15:06.767 [vert.x-worker-thread-10] INFO Slf4jLogger [28104735eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-02-drop-get_source_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 96, '8:6c753097d718a7c6eaf4f65b75eeddaa', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.768 [vert.x-worker-thread-10] INFO Slf4jLogger [28104736eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_record_by_external_id(externalId uuid, idFieldName text) 09:15:06.769 [vert.x-worker-thread-10] INFO Slf4jLogger [28104737eqId] Custom SQL executed 09:15:06.769 [vert.x-worker-thread-10] INFO Slf4jLogger [28104737eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-03-drop-get_source_record_by_external_id::WilliamWelling ran successfully in 1ms 09:15:06.769 [vert.x-worker-thread-10] INFO Slf4jLogger [28104737eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-03-drop-get_source_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 97, '8:cd08632ec17bfcefcda849fc4b0a909d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.771 [vert.x-worker-thread-10] INFO Slf4jLogger [28104739eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_records(where_clause text, order_by text, limitVal int, offsetVal int, schema_name text) 09:15:06.771 [vert.x-worker-thread-10] INFO Slf4jLogger [28104739eqId] Custom SQL executed 09:15:06.771 [vert.x-worker-thread-10] INFO Slf4jLogger [28104739eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-04-drop-get_records::WilliamWelling ran successfully in 1ms 09:15:06.771 [vert.x-worker-thread-10] INFO Slf4jLogger [28104739eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-04-drop-get_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 98, '8:097736a50b9612fcb68e1f7da3562fe8', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.773 [vert.x-worker-thread-10] INFO Slf4jLogger [28104741eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_records(query_filter text, order_by text, limitVal int, offsetVal int, deleted_records text, schema_name text) 09:15:06.773 [vert.x-worker-thread-10] INFO Slf4jLogger [28104741eqId] Custom SQL executed 09:15:06.774 [vert.x-worker-thread-10] INFO Slf4jLogger [28104742eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-05-drop-get_source_records::WilliamWelling ran successfully in 1ms 09:15:06.774 [vert.x-worker-thread-10] INFO Slf4jLogger [28104742eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-05-drop-get_source_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 99, '8:37c93e68f784a388a8bbb354bb55952e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.775 [vert.x-worker-thread-10] INFO Slf4jLogger [28104743eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_highest_generation(matchedId uuid, snapshotId uuid) 09:15:06.776 [vert.x-worker-thread-10] INFO Slf4jLogger [28104744eqId] Custom SQL executed 09:15:06.776 [vert.x-worker-thread-10] INFO Slf4jLogger [28104744eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-06-drop-get_highest_generation::WilliamWelling ran successfully in 1ms 09:15:06.776 [vert.x-worker-thread-10] INFO Slf4jLogger [28104744eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-06-drop-get_highest_generation', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 100, '8:c46ce5a2251f380d5f40020d8d18f32d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.777 [vert.x-worker-thread-10] INFO Slf4jLogger [28104745eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.error_records_set_md() 09:15:06.778 [vert.x-worker-thread-10] INFO Slf4jLogger [28104746eqId] Custom SQL executed 09:15:06.778 [vert.x-worker-thread-10] INFO Slf4jLogger [28104746eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-07-drop-error_records_set_md::WilliamWelling ran successfully in 1ms 09:15:06.778 [vert.x-worker-thread-10] INFO Slf4jLogger [28104746eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-07-drop-error_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 101, '8:d7cec56e94435895c3d40cbe24a356f7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.780 [vert.x-worker-thread-10] INFO Slf4jLogger [28104748eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.marc_records_set_md() 09:15:06.780 [vert.x-worker-thread-10] INFO Slf4jLogger [28104748eqId] Custom SQL executed 09:15:06.780 [vert.x-worker-thread-10] INFO Slf4jLogger [28104748eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-08-drop-marc_records_set_md::WilliamWelling ran successfully in 1ms 09:15:06.780 [vert.x-worker-thread-10] INFO Slf4jLogger [28104748eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-08-drop-marc_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 102, '8:fc4bb344eabbc86c54b2817613d26700', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.782 [vert.x-worker-thread-10] INFO Slf4jLogger [28104750eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.raw_records_set_md() 09:15:06.782 [vert.x-worker-thread-10] INFO Slf4jLogger [28104750eqId] Custom SQL executed 09:15:06.782 [vert.x-worker-thread-10] INFO Slf4jLogger [28104750eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-09-drop-raw_records_set_md::WilliamWelling ran successfully in 0ms 09:15:06.783 [vert.x-worker-thread-10] INFO Slf4jLogger [28104751eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-09-drop-raw_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 103, '8:cf9f932d41d5999577b818e2e447a636', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.784 [vert.x-worker-thread-10] INFO Slf4jLogger [28104752eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.records_set_md() 09:15:06.784 [vert.x-worker-thread-10] INFO Slf4jLogger [28104752eqId] Custom SQL executed 09:15:06.784 [vert.x-worker-thread-10] INFO Slf4jLogger [28104752eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-10-drop-records_set_md::WilliamWelling ran successfully in 0ms 09:15:06.785 [vert.x-worker-thread-10] INFO Slf4jLogger [28104753eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-10-drop-records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 104, '8:7e3cd608e3dfc7488426a1bec8ea68b1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.786 [vert.x-worker-thread-10] INFO Slf4jLogger [28104754eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.set_error_records_md_json() 09:15:06.786 [vert.x-worker-thread-10] INFO Slf4jLogger [28104754eqId] Custom SQL executed 09:15:06.787 [vert.x-worker-thread-10] INFO Slf4jLogger [28104755eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-11-drop-set_error_records_md_json::WilliamWelling ran successfully in 1ms 09:15:06.787 [vert.x-worker-thread-10] INFO Slf4jLogger [28104755eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-11-drop-set_error_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 105, '8:1a1d984af1e2977abf7d42b39da288e2', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.788 [vert.x-worker-thread-10] INFO Slf4jLogger [28104756eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.set_id_in_jsonb() 09:15:06.789 [vert.x-worker-thread-10] INFO Slf4jLogger [28104757eqId] Custom SQL executed 09:15:06.790 [vert.x-worker-thread-10] INFO Slf4jLogger [28104758eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-12-drop-set_id_in_jsonb::WilliamWelling ran successfully in 2ms 09:15:06.790 [vert.x-worker-thread-10] INFO Slf4jLogger [28104758eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-12-drop-set_id_in_jsonb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 106, '8:e015673d48aafd4a77284d3eb868add5', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.792 [vert.x-worker-thread-10] INFO Slf4jLogger [28104760eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.set_marc_records_md_json() 09:15:06.792 [vert.x-worker-thread-10] INFO Slf4jLogger [28104760eqId] Custom SQL executed 09:15:06.792 [vert.x-worker-thread-10] INFO Slf4jLogger [28104760eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-13-drop-set_marc_records_md_json::WilliamWelling ran successfully in 1ms 09:15:06.792 [vert.x-worker-thread-10] INFO Slf4jLogger [28104760eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-13-drop-set_marc_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 107, '8:87c7d158c4697411833589a901338d40', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.794 [vert.x-worker-thread-10] INFO Slf4jLogger [28104762eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.set_raw_records_md_json() 09:15:06.794 [vert.x-worker-thread-10] INFO Slf4jLogger [28104762eqId] Custom SQL executed 09:15:06.794 [vert.x-worker-thread-10] INFO Slf4jLogger [28104762eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-14-drop-set_raw_records_md_json::WilliamWelling ran successfully in 0ms 09:15:06.795 [vert.x-worker-thread-10] INFO Slf4jLogger [28104763eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-14-drop-set_raw_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 108, '8:1b08dc8edbe879de0246137e1b76d499', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.796 [vert.x-worker-thread-10] INFO Slf4jLogger [28104764eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.set_records_md_json() 09:15:06.796 [vert.x-worker-thread-10] INFO Slf4jLogger [28104764eqId] Custom SQL executed 09:15:06.796 [vert.x-worker-thread-10] INFO Slf4jLogger [28104764eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-15-drop-set_records_md_json::WilliamWelling ran successfully in 0ms 09:15:06.797 [vert.x-worker-thread-10] INFO Slf4jLogger [28104765eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-15-drop-set_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 109, '8:ed29714d98e2cd03fb1c63406884d864', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.798 [vert.x-worker-thread-10] INFO Slf4jLogger [28104766eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.set_snapshots_md_json() 09:15:06.798 [vert.x-worker-thread-10] INFO Slf4jLogger [28104766eqId] Custom SQL executed 09:15:06.798 [vert.x-worker-thread-10] INFO Slf4jLogger [28104766eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-16-drop-set_snapshots_md_json::WilliamWelling ran successfully in 0ms 09:15:06.799 [vert.x-worker-thread-10] INFO Slf4jLogger [28104767eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-16-drop-set_snapshots_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 110, '8:78ddaf123c62552efe3ebc62a2cd3528', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.800 [vert.x-worker-thread-10] INFO Slf4jLogger [28104768eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.snapshots_set_md() 09:15:06.800 [vert.x-worker-thread-10] INFO Slf4jLogger [28104768eqId] Custom SQL executed 09:15:06.801 [vert.x-worker-thread-10] INFO Slf4jLogger [28104769eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-17-drop-snapshots_set_md::WilliamWelling ran successfully in 1ms 09:15:06.801 [vert.x-worker-thread-10] INFO Slf4jLogger [28104769eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-17-drop-snapshots_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 111, '8:c2971e6a62ff069675ef504afd7fce88', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.802 [vert.x-worker-thread-10] INFO Slf4jLogger [28104770eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.update_records_references() 09:15:06.803 [vert.x-worker-thread-10] INFO Slf4jLogger [28104771eqId] Custom SQL executed 09:15:06.803 [vert.x-worker-thread-10] INFO Slf4jLogger [28104771eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-18-drop-update_records_references::WilliamWelling ran successfully in 1ms 09:15:06.803 [vert.x-worker-thread-10] INFO Slf4jLogger [28104771eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-18-drop-update_records_references', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 112, '8:9d3cd5087a12a95157ed868b8a63ea79', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.804 [vert.x-worker-thread-10] INFO Slf4jLogger [28104772eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) 09:15:06.805 [vert.x-worker-thread-10] INFO Slf4jLogger [28104773eqId] Custom SQL executed 09:15:06.805 [vert.x-worker-thread-10] INFO Slf4jLogger [28104773eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-19-drop-get_source_marc_record_by_id::WilliamWelling ran successfully in 1ms 09:15:06.806 [vert.x-worker-thread-10] INFO Slf4jLogger [28104774eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-19-drop-get_source_marc_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 113, '8:ba621a531b859b2b0a9520ef37a5ce19', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.807 [vert.x-worker-thread-10] INFO Slf4jLogger [28104775eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) 09:15:06.807 [vert.x-worker-thread-10] INFO Slf4jLogger [28104775eqId] Custom SQL executed 09:15:06.808 [vert.x-worker-thread-10] INFO Slf4jLogger [28104776eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-20-drop-get_source_marc_record_by_id_alt::WilliamWelling ran successfully in 1ms 09:15:06.809 [vert.x-worker-thread-10] INFO Slf4jLogger [28104777eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-20-drop-get_source_marc_record_by_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 114, '8:ef14163597e06c62b44bf6f4d1c7c81a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.810 [vert.x-worker-thread-10] INFO Slf4jLogger [28104778eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) 09:15:06.810 [vert.x-worker-thread-10] INFO Slf4jLogger [28104778eqId] Custom SQL executed 09:15:06.811 [vert.x-worker-thread-10] INFO Slf4jLogger [28104779eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-21-drop-get_source_marc_record_by_instance_id::WilliamWelling ran successfully in 1ms 09:15:06.811 [vert.x-worker-thread-10] INFO Slf4jLogger [28104779eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-21-drop-get_source_marc_record_by_instance_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 115, '8:3a4ae891a39e8f7470b38e3b10b4c6f0', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.813 [vert.x-worker-thread-10] INFO Slf4jLogger [28104781eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) 09:15:06.813 [vert.x-worker-thread-10] INFO Slf4jLogger [28104781eqId] Custom SQL executed 09:15:06.814 [vert.x-worker-thread-10] INFO Slf4jLogger [28104782eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt::WilliamWelling ran successfully in 1ms 09:15:06.814 [vert.x-worker-thread-10] INFO Slf4jLogger [28104782eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 116, '8:e8ffef71b63537ebb113459fa3ff638b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.816 [vert.x-worker-thread-10] INFO Slf4jLogger [28104784eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) 09:15:06.816 [vert.x-worker-thread-10] INFO Slf4jLogger [28104784eqId] Custom SQL executed 09:15:06.817 [vert.x-worker-thread-10] INFO Slf4jLogger [28104785eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-23-drop-get_all_source_marc_records::WilliamWelling ran successfully in 2ms 09:15:06.817 [vert.x-worker-thread-10] INFO Slf4jLogger [28104785eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-23-drop-get_all_source_marc_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 117, '8:6a4f349a4a72c080e00a4d2013fd863b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.818 [vert.x-worker-thread-10] INFO Slf4jLogger [28104786eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) 09:15:06.819 [vert.x-worker-thread-10] INFO Slf4jLogger [28104787eqId] Custom SQL executed 09:15:06.819 [vert.x-worker-thread-10] INFO Slf4jLogger [28104787eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-24-drop-get_all_source_marc_records_alt::WilliamWelling ran successfully in 1ms 09:15:06.820 [vert.x-worker-thread-10] INFO Slf4jLogger [28104788eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-24-drop-get_all_source_marc_records_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 118, '8:c0e0313d59dbc679297e423826f26e7b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.821 [vert.x-worker-thread-10] INFO Slf4jLogger [28104789eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 09:15:06.821 [vert.x-worker-thread-10] INFO Slf4jLogger [28104789eqId] Custom SQL executed 09:15:06.822 [vert.x-worker-thread-10] INFO Slf4jLogger [28104790eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-25-drop-get_source_marc_records_for_period::WilliamWelling ran successfully in 1ms 09:15:06.822 [vert.x-worker-thread-10] INFO Slf4jLogger [28104790eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-25-drop-get_source_marc_records_for_period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 119, '8:4f524ed24f6bf7d3cd2fb825a622723b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.824 [vert.x-worker-thread-10] INFO Slf4jLogger [28104792eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 09:15:06.824 [vert.x-worker-thread-10] INFO Slf4jLogger [28104792eqId] Custom SQL executed 09:15:06.825 [vert.x-worker-thread-10] INFO Slf4jLogger [28104793eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-26-drop-get_source_marc_records_for_period_alt::WilliamWelling ran successfully in 1ms 09:15:06.825 [vert.x-worker-thread-10] INFO Slf4jLogger [28104793eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-26-drop-get_source_marc_records_for_period_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 120, '8:7bf1ef27db32159d56c63e1415ac4368', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.827 [vert.x-worker-thread-10] INFO Slf4jLogger [28104795eqId] DROP FUNCTION IF EXISTS quick_marc_api_tests_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) 09:15:06.827 [vert.x-worker-thread-10] INFO Slf4jLogger [28104795eqId] Custom SQL executed 09:15:06.828 [vert.x-worker-thread-10] INFO Slf4jLogger [28104796eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-27-drop-get_highest_generation_lb::WilliamWelling ran successfully in 1ms 09:15:06.828 [vert.x-worker-thread-10] INFO Slf4jLogger [28104796eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-27-drop-get_highest_generation_lb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 121, '8:d0b413e68490e822d3991d4d3342022e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.830 [vert.x-worker-thread-10] INFO Slf4jLogger [28104798eqId] DELETE FROM quick_marc_api_tests_mod_source_record_storage.records_lb WHERE id IN ('4c0ff739-3f4d-4670-a693-84dd48e31c53', '8452daf9-c130-4955-99ce-1c397a218900', 'ec53a386-9616-428b-92a9-e1f07756ea1f', '0f0fe962-d502-4a4f-9e74-7732bec94ee8', '009286d6-f89e-4881-9562-11158f02664a', '8f462542-387c-4f06-a01b-50829c7c7b13', 'e567b8e2-a45b-45f1-a85a-6b6312bdf4d8', 'a2d6893e-c6b3-4c95-bec5-8b997aa1776d', '8fb19e31-0920-49d7-9438-b573c292b1a6', '7293f287-bb51-41f5-805d-00ff18a1f791', 'be1b25ae-4a9d-4077-93e6-7f8e59efd609') 09:15:06.830 [vert.x-worker-thread-10] INFO Slf4jLogger [28104798eqId] Data deleted from records_lb 09:15:06.831 [vert.x-worker-thread-10] INFO Slf4jLogger [28104799eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml::2020-06-25--12-00-delete-sample-data::KaterynaSenchenko ran successfully in 1ms 09:15:06.831 [vert.x-worker-thread-10] INFO Slf4jLogger [28104799eqId] INSERT INTO quick_marc_api_tests_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-25--12-00-delete-sample-data', 'KaterynaSenchenko', 'liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml', NOW(), 122, '8:eabc7fb463ac880879b0e200ac49877e', 'delete tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3162906289') 09:15:06.833 [vert.x-worker-thread-10] INFO Slf4jLogger [28104801eqId] Successfully released change log lock 09:15:06.833 [vert.x-worker-thread-10] INFO LiquibaseUtil [28104801eqId] Schema is initialized for tenant quick_marc_api_tests 09:15:06.834 [vert.x-eventloop-thread-0] INFO ModTenantAPI [28104802eqId] Module is being deployed in production mode 09:15:06.834 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [28104802eqId] Reading MessagingDescriptor.json 09:15:06.838 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [28104806eqId] Registering events for publishers 09:15:06.852 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [28104820eqId] Registering module's publishers 09:15:06.898 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [28104866eqId] Module's publishers were successfully registered 09:15:06.898 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [28104866eqId] Registering module's subscribers 09:15:06.978 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [28104946eqId] Module's subscribers were successfully registered 09:15:06.978 [vert.x-eventloop-thread-0] INFO ModTenantAPI [28104946eqId] Module was successfully registered as publisher/subscriber in mod-pubsub 09:15:06.978 [vert.x-eventloop-thread-0] INFO LogUtil [28104946eqId] org.folio.rest.RestVerticle start invoking postTenant 09:15:06.979 [vert.x-eventloop-thread-0] INFO LogUtil [28104947eqId] 10.36.1.197:37408 POST /_/tenant null HTTP_1_1 201 3 1831 tid=quick_marc_api_tests Created 09:15:16.360 [vert.x-eventloop-thread-0] INFO ostgresClientFactory [28114328eqId] Creating new database connection pool for tenant quick_marc_api_tests 09:15:16.368 [vert.x-eventloop-thread-0] INFO LogUtil [28114336eqId] org.folio.rest.RestVerticle start invoking postSourceStorageSnapshots 09:15:16.369 [vert.x-eventloop-thread-0] INFO LogUtil [28114337eqId] 10.36.1.197:37408 POST /source-storage/snapshots null HTTP_1_1 201 412 12 tid=quick_marc_api_tests Created 09:15:28.957 [vert.x-eventloop-thread-0] INFO TenantAPI [28126925eqId] sending... deleteTenant for quick_marc_api_tests 09:15:28.958 [vert.x-eventloop-thread-0] INFO TenantAPI [28126926eqId] Deleting tenant quick_marc_api_tests 09:15:28.964 [vert.x-eventloop-thread-0] INFO TenantAPI [28126932eqId] Attempting to run delete script for: quick_marc_api_tests 09:15:28.965 [vert.x-eventloop-thread-0] INFO PostgresClient [28126933eqId] Executing multiple statements with id 739075703 09:15:28.969 [vert.x-worker-thread-11] INFO PostgresClient [28126937eqId] trying to execute: REVOKE ALL PRIVILEGES ON DATABASE postgres from quick_marc_api_tests_mod_source_record_storage 09:15:28.969 [vert.x-worker-thread-11] INFO PostgresClient [28126937eqId] Successfully executed: REVOKE ALL PRIVILEGES ON DATABASE postgres from quick_marc_api_tests_mod_source_record_storage 09:15:28.969 [vert.x-worker-thread-11] INFO PostgresClient [28126937eqId] trying to execute: DROP SCHEMA IF EXISTS quick_marc_api_tests_mod_source_record_storage CASCADE 09:15:28.977 [vert.x-worker-thread-11] INFO PostgresClient [28126945eqId] Successfully executed: DROP SCHEMA IF EXISTS quick_marc_api_tests_mod_source_record_storage CASCADE 09:15:28.977 [vert.x-worker-thread-11] INFO PostgresClient [28126945eqId] trying to execute: DROP USER IF EXISTS quick_marc_api_tests_mod_source_record_storage 09:15:28.978 [vert.x-worker-thread-11] INFO PostgresClient [28126946eqId] Successfully executed: DROP USER IF EXISTS quick_marc_api_tests_mod_source_record_storage 09:15:28.980 [vert.x-worker-thread-11] INFO PostgresClient [28126948eqId] Successfully committed: 739075703 09:15:28.981 [vert.x-eventloop-thread-0] INFO LogUtil [28126949eqId] org.folio.rest.RestVerticle start invoking deleteTenant 09:15:28.981 [vert.x-eventloop-thread-0] INFO LogUtil [28126949eqId] 10.36.1.197:37408 DELETE /_/tenant null HTTP_1_1 204 0 25 tid=quick_marc_api_tests No Content 12:08:53.749 [vert.x-eventloop-thread-0] INFO TenantAPI [38531717eqId] sending... postTenant for mdexp_test_tenant 12:08:53.775 [vert.x-eventloop-thread-0] INFO PostgresClient [38531743eqId] Executing multiple statements with id 1157222220 12:08:53.779 [vert.x-worker-thread-12] INFO PostgresClient [38531747eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 12:08:53.780 [vert.x-worker-thread-12] INFO PostgresClient [38531748eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 12:08:53.780 [vert.x-worker-thread-12] INFO PostgresClient [38531748eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 12:08:53.780 [vert.x-worker-thread-12] INFO PostgresClient [38531748eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 12:08:53.780 [vert.x-worker-thread-12] INFO PostgresClient [38531748eqId] trying to execute: CREATE ROLE mdexp_test_tenant_mod_source_record_storage PASSWORD 'mdexp_test_tenant' NOSUPERUSER NOCREATEDB INHERIT LOGIN 12:08:53.781 [vert.x-worker-thread-12] INFO PostgresClient [38531749eqId] Successfully executed: CREATE ROLE mdexp_test_tenant_mod_source_record_storage PASSWORD 'mdexp_test_tenant' NOSUPERUSER NOCREATEDB INHERIT LOGIN 12:08:53.781 [vert.x-worker-thread-12] INFO PostgresClient [38531749eqId] trying to execute: GRANT mdexp_test_tenant_mod_source_record_storage TO CURRENT_USER 12:08:53.781 [vert.x-worker-thread-12] INFO PostgresClient [38531749eqId] Successfully executed: GRANT mdexp_test_tenant_mod_source_record_storage TO CURRENT_USER 12:08:53.781 [vert.x-worker-thread-12] INFO PostgresClient [38531749eqId] trying to execute: CREATE SCHEMA mdexp_test_tenant_mod_source_record_storage AUTHORIZATION mdexp_test_tenant_mod_source_record_storage 12:08:53.782 [vert.x-worker-thread-12] INFO PostgresClient [38531750eqId] Successfully executed: CREATE SCHEMA mdexp_test_tenant_mod_source_record_storage AUTHORIZATION mdexp_test_tenant_mod_source_record_storage 12:08:53.782 [vert.x-worker-thread-12] INFO PostgresClient [38531750eqId] trying to execute: ALTER ROLE mdexp_test_tenant_mod_source_record_storage SET search_path = "$user" 12:08:53.782 [vert.x-worker-thread-12] INFO PostgresClient [38531750eqId] Successfully executed: ALTER ROLE mdexp_test_tenant_mod_source_record_storage SET search_path = "$user" 12:08:53.782 [vert.x-worker-thread-12] INFO PostgresClient [38531750eqId] trying to execute: SET search_path TO mdexp_test_tenant_mod_source_record_storage 12:08:53.782 [vert.x-worker-thread-12] INFO PostgresClient [38531750eqId] Successfully executed: SET search_path TO mdexp_test_tenant_mod_source_record_storage 12:08:53.783 [vert.x-worker-thread-12] INFO PostgresClient [38531751eqId] trying to execute: CREATE TABLE IF NOT EXISTS mdexp_test_tenant_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 12:08:53.790 [vert.x-worker-thread-12] INFO PostgresClient [38531758eqId] Successfully executed: CREATE TABLE IF NOT EXISTS mdexp_test_tenant_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 12:08:53.790 [vert.x-worker-thread-12] INFO PostgresClient [38531758eqId] trying to execute: insert into mdexp_test_tenant_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 12:08:53.791 [vert.x-worker-thread-12] INFO PostgresClient [38531759eqId] Successfully executed: insert into mdexp_test_tenant_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 12:08:53.791 [vert.x-worker-thread-12] INFO PostgresClient [38531759eqId] trying to execute: CREATE TABLE IF NOT EXISTS mdexp_test_tenant_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 12:08:53.796 [vert.x-worker-thread-12] INFO PostgresClient [38531764eqId] Successfully executed: CREATE TABLE IF NOT EXISTS mdexp_test_tenant_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 12:08:53.796 [vert.x-worker-thread-12] INFO PostgresClient [38531764eqId] trying to execute: UPDATE mdexp_test_tenant_mod_source_record_storage.rmb_internal_index SET remove = TRUE 12:08:53.797 [vert.x-worker-thread-12] INFO PostgresClient [38531765eqId] Successfully executed: UPDATE mdexp_test_tenant_mod_source_record_storage.rmb_internal_index SET remove = TRUE 12:08:53.797 [vert.x-worker-thread-12] INFO PostgresClient [38531765eqId] trying to execute: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 12:08:53.800 [vert.x-worker-thread-12] INFO PostgresClient [38531768eqId] Successfully executed: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 12:08:53.800 [vert.x-worker-thread-12] INFO PostgresClient [38531768eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:08:53.802 [vert.x-worker-thread-12] INFO PostgresClient [38531770eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:08:53.802 [vert.x-worker-thread-12] INFO PostgresClient [38531770eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:08:53.802 [vert.x-worker-thread-12] INFO PostgresClient [38531770eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:08:53.802 [vert.x-worker-thread-12] INFO PostgresClient [38531770eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0 12:08:53.803 [vert.x-worker-thread-12] INFO PostgresClient [38531771eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1 12:08:53.803 [vert.x-worker-thread-12] INFO PostgresClient [38531771eqId] trying to execute: CREATE AGGREGATE mdexp_test_tenant_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = mdexp_test_tenant_mod_source_record_storage.uuid_larger, combinefunc = mdexp_test_tenant_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 12:08:53.804 [vert.x-worker-thread-12] INFO PostgresClient [38531772eqId] Successfully executed: CREATE AGGREGATE mdexp_test_tenant_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = mdexp_test_tenant_mod_source_record_storage.uuid_larger, combinefunc = mdexp_test_tenant_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 12:08:53.804 [vert.x-worker-thread-12] INFO PostgresClient [38531772eqId] trying to execute: CREATE AGGREGATE mdexp_test_tenant_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = mdexp_test_tenant_mod_source_record_storage.uuid_smaller, combinefunc = mdexp_test_tenant_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 12:08:53.804 [vert.x-worker-thread-12] INFO PostgresClient [38531772eqId] Successfully executed: CREATE AGGREGATE mdexp_test_tenant_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = mdexp_test_tenant_mod_source_record_storage.uuid_smaller, combinefunc = mdexp_test_tenant_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 12:08:53.805 [vert.x-worker-thread-12] INFO PostgresClient [38531773eqId] trying to execute: DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 12:08:53.805 [vert.x-worker-thread-12] INFO PostgresClient [38531773eqId] Successfully executed: DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 12:08:53.805 [vert.x-worker-thread-12] INFO PostgresClient [38531773eqId] trying to execute: CREATE FUNCTION mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT 12:08:53.806 [vert.x-worker-thread-12] INFO PostgresClient [38531774eqId] Successfully executed: CREATE FUNCTION mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; E 12:08:53.806 [vert.x-worker-thread-12] INFO PostgresClient [38531774eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT 12:08:53.806 [vert.x-worker-thread-12] INFO PostgresClient [38531774eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF 12:08:53.806 [vert.x-worker-thread-12] INFO PostgresClient [38531774eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; IF est_count < 1000 THEN RETURN 1000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT 12:08:53.807 [vert.x-worker-thread-12] INFO PostgresClient [38531775eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = mdexp_test_tenant_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x' 12:08:53.807 [vert.x-worker-thread-12] INFO PostgresClient [38531775eqId] trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || E'\u033 12:08:53.808 [vert.x-worker-thread-12] INFO PostgresClient [38531776eqId] Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABL 12:08:53.808 [vert.x-worker-thread-12] INFO PostgresClient [38531776eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.809 [vert.x-worker-thread-12] INFO PostgresClient [38531777eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, 12:08:53.809 [vert.x-worker-thread-12] INFO PostgresClient [38531777eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(mdexp_test_tenant_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.809 [vert.x-worker-thread-12] INFO PostgresClient [38531777eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(mdexp_test_tenant_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.810 [vert.x-worker-thread-12] INFO PostgresClient [38531778eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(mdexp_test_tenant_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.810 [vert.x-worker-thread-12] INFO PostgresClient [38531778eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(mdexp_test_tenant_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.810 [vert.x-worker-thread-12] INFO PostgresClient [38531778eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.811 [vert.x-worker-thread-12] INFO PostgresClient [38531779eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' 12:08:53.811 [vert.x-worker-thread-12] INFO PostgresClient [38531779eqId] trying to execute: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 12:08:53.811 [vert.x-worker-thread-12] INFO PostgresClient [38531779eqId] Successfully executed: CREATE OR REPLACE FUNCTION mdexp_test_tenant_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 12:08:53.811 [vert.x-worker-thread-12] INFO PostgresClient [38531779eqId] trying to execute: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 12:08:53.812 [vert.x-worker-thread-12] INFO PostgresClient [38531780eqId] Successfully executed: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 12:08:53.812 [vert.x-worker-thread-12] INFO PostgresClient [38531780eqId] trying to execute: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.812 [vert.x-worker-thread-12] INFO PostgresClient [38531780eqId] Successfully executed: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.812 [vert.x-worker-thread-12] INFO PostgresClient [38531780eqId] trying to execute: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.813 [vert.x-worker-thread-12] INFO PostgresClient [38531781eqId] Successfully executed: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.813 [vert.x-worker-thread-12] INFO PostgresClient [38531781eqId] trying to execute: create or replace function mdexp_test_tenant_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.813 [vert.x-worker-thread-12] INFO PostgresClient [38531781eqId] Successfully executed: create or replace function mdexp_test_tenant_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.813 [vert.x-worker-thread-12] INFO PostgresClient [38531781eqId] trying to execute: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.814 [vert.x-worker-thread-12] INFO PostgresClient [38531782eqId] Successfully executed: create or replace function mdexp_test_tenant_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:08:53.814 [vert.x-worker-thread-12] INFO PostgresClient [38531782eqId] trying to execute: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER I 12:08:53.815 [vert.x-worker-thread-12] INFO PostgresClient [38531783eqId] Successfully executed: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EX 12:08:53.815 [vert.x-worker-thread-12] INFO PostgresClient [38531783eqId] trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM mdexp_test_tenant_mod_source_record_storage 12:08:53.815 [vert.x-worker-thread-12] INFO PostgresClient [38531783eqId] Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM mdexp_test_tenant_mod_source_record_storage 12:08:53.815 [vert.x-worker-thread-12] INFO PostgresClient [38531783eqId] trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC 12:08:53.815 [vert.x-worker-thread-12] INFO PostgresClient [38531783eqId] Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC 12:08:53.816 [vert.x-worker-thread-12] INFO PostgresClient [38531784eqId] trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 12:08:53.816 [vert.x-worker-thread-12] INFO PostgresClient [38531784eqId] Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 12:08:53.816 [vert.x-worker-thread-12] INFO PostgresClient [38531784eqId] trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'mdexp_test_tenant_mod_source_record_storage' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'mdexp_test_tenant_mod_source_record_storage.\1', 'g'); IF newindexdef <> i.indexdef THEN EXECUTE 'DROP INDEX ' || i.indexname; EXECUTE newindexdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; END IF; END LOOP; END $$ 12:08:53.817 [vert.x-worker-thread-12] INFO PostgresClient [38531785eqId] Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM mdexp_test_tenant_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'mde 12:08:53.817 [vert.x-worker-thread-12] INFO PostgresClient [38531785eqId] trying to execute: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 12:08:53.818 [vert.x-worker-thread-12] INFO PostgresClient [38531786eqId] Successfully executed: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 12:08:53.818 [vert.x-worker-thread-12] INFO PostgresClient [38531786eqId] trying to execute: TRUNCATE rmb_internal_analyze 12:08:53.821 [vert.x-worker-thread-12] INFO PostgresClient [38531789eqId] Successfully executed: TRUNCATE rmb_internal_analyze 12:08:53.821 [vert.x-worker-thread-12] INFO PostgresClient [38531789eqId] trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA mdexp_test_tenant_mod_source_record_storage TO mdexp_test_tenant_mod_source_record_storage 12:08:53.824 [vert.x-worker-thread-12] INFO PostgresClient [38531792eqId] Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA mdexp_test_tenant_mod_source_record_storage TO mdexp_test_tenant_mod_source_record_storage 12:08:53.824 [vert.x-worker-thread-12] INFO PostgresClient [38531792eqId] trying to execute: UPDATE mdexp_test_tenant_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 12:08:53.824 [vert.x-worker-thread-12] INFO PostgresClient [38531792eqId] Successfully executed: UPDATE mdexp_test_tenant_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 12:08:53.826 [vert.x-worker-thread-12] INFO PostgresClient [38531794eqId] Successfully committed: 1157222220 12:08:53.827 [vert.x-worker-thread-13] INFO LiquibaseUtil [38531795eqId] Initializing schema mdexp_test_tenant_mod_source_record_storage for tenant mdexp_test_tenant 12:08:53.827 [vert.x-worker-thread-13] INFO leConnectionProvider [38531795eqId] Attempting to get connection for mdexp_test_tenant 12:08:53.827 [vert.x-worker-thread-13] INFO PostgresClient [38531795eqId] DB config read from environment variables 12:08:53.827 [vert.x-worker-thread-13] INFO PostgresClient [38531795eqId] Using schema: mdexp_test_tenant 12:08:53.827 [vert.x-worker-thread-13] INFO PostgresClient [38531795eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"mdexp_test_tenant_mod_source_record_storage","database":"okapi_modules","password":"..."} 12:08:53.833 [vert.x-worker-thread-13] INFO Slf4jLogger [38531801eqId] SELECT COUNT(*) FROM mdexp_test_tenant_mod_source_record_storage.databasechangeloglock 12:08:53.834 [vert.x-worker-thread-13] INFO Slf4jLogger [38531802eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.databasechangeloglock (ID INTEGER NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITHOUT TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT DATABASECHANGELOGLOCK_PKEY PRIMARY KEY (ID)) 12:08:53.840 [vert.x-worker-thread-13] INFO Slf4jLogger [38531808eqId] SELECT COUNT(*) FROM mdexp_test_tenant_mod_source_record_storage.databasechangeloglock 12:08:53.840 [vert.x-worker-thread-13] INFO Slf4jLogger [38531808eqId] DELETE FROM mdexp_test_tenant_mod_source_record_storage.databasechangeloglock 12:08:53.841 [vert.x-worker-thread-13] INFO Slf4jLogger [38531809eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangeloglock (ID, LOCKED) VALUES (1, FALSE) 12:08:53.842 [vert.x-worker-thread-13] INFO Slf4jLogger [38531810eqId] SELECT LOCKED FROM mdexp_test_tenant_mod_source_record_storage.databasechangeloglock WHERE ID=1 12:08:53.843 [vert.x-worker-thread-13] INFO Slf4jLogger [38531811eqId] Successfully acquired change log lock 12:08:54.836 [vert.x-worker-thread-13] INFO Slf4jLogger [38532804eqId] Creating database history table with name: mdexp_test_tenant_mod_source_record_storage.databasechangelog 12:08:54.836 [vert.x-worker-thread-13] INFO Slf4jLogger [38532804eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10)) 12:08:54.842 [vert.x-worker-thread-13] INFO Slf4jLogger [38532810eqId] SELECT COUNT(*) FROM mdexp_test_tenant_mod_source_record_storage.databasechangelog 12:08:54.842 [vert.x-worker-thread-13] INFO Slf4jLogger [38532810eqId] Reading from mdexp_test_tenant_mod_source_record_storage.databasechangelog 12:08:54.843 [vert.x-worker-thread-13] INFO Slf4jLogger [38532811eqId] SELECT * FROM mdexp_test_tenant_mod_source_record_storage.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC 12:08:54.843 [vert.x-worker-thread-13] INFO Slf4jLogger [38532811eqId] SELECT COUNT(*) FROM mdexp_test_tenant_mod_source_record_storage.databasechangeloglock 12:08:54.867 [vert.x-worker-thread-13] INFO Slf4jLogger [38532835eqId] CREATE TYPE mdexp_test_tenant_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 12:08:54.868 [vert.x-worker-thread-13] INFO Slf4jLogger [38532836eqId] Custom SQL executed 12:08:54.869 [vert.x-worker-thread-13] INFO Slf4jLogger [38532837eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-00-create-job-execution-status::WilliamWelling ran successfully in 2ms 12:08:54.870 [vert.x-worker-thread-13] INFO Slf4jLogger [38532838eqId] SELECT MAX(ORDEREXECUTED) FROM mdexp_test_tenant_mod_source_record_storage.databasechangelog 12:08:54.871 [vert.x-worker-thread-13] INFO Slf4jLogger [38532839eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 1, '8:a7184c9f73969e64b664abeb8a451ec3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.872 [vert.x-worker-thread-13] INFO Slf4jLogger [38532840eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status MDEXP_TEST_TENANT_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 12:08:54.876 [vert.x-worker-thread-13] INFO Slf4jLogger [38532844eqId] Table snapshots_lb created 12:08:54.877 [vert.x-worker-thread-13] INFO Slf4jLogger [38532845eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 12:08:54.877 [vert.x-worker-thread-13] INFO Slf4jLogger [38532845eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 2, '8:ed666d2f8e8eb226f26f3dc32c6b9652', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.878 [vert.x-worker-thread-13] INFO Slf4jLogger [38532846eqId] create function mdexp_test_tenant_mod_source_record_storage.update_snapshots_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 12:08:54.880 [vert.x-worker-thread-13] INFO Slf4jLogger [38532848eqId] Stored procedure created 12:08:54.881 [vert.x-worker-thread-13] INFO Slf4jLogger [38532849eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-02-create-update-snapshots-set-updated-date-function::WilliamWelling ran successfully in 3ms 12:08:54.881 [vert.x-worker-thread-13] INFO Slf4jLogger [38532849eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-02-create-update-snapshots-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 3, '8:a9c92ce535107b523235ff0eef45d979', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.883 [vert.x-worker-thread-13] INFO Slf4jLogger [38532851eqId] create trigger update_snapshots_set_updated_date before insert or update on mdexp_test_tenant_mod_source_record_storage.snapshots_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.update_snapshots_set_updated_date() 12:08:54.883 [vert.x-worker-thread-13] INFO Slf4jLogger [38532851eqId] Custom SQL executed 12:08:54.884 [vert.x-worker-thread-13] INFO Slf4jLogger [38532852eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 12:08:54.884 [vert.x-worker-thread-13] INFO Slf4jLogger [38532852eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 4, '8:6d460d6bf4878460ae116c75ce38eca3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.885 [vert.x-worker-thread-13] INFO Slf4jLogger [38532853eqId] create function mdexp_test_tenant_mod_source_record_storage.insert_snapshots_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 12:08:54.886 [vert.x-worker-thread-13] INFO Slf4jLogger [38532854eqId] Stored procedure created 12:08:54.887 [vert.x-worker-thread-13] INFO Slf4jLogger [38532855eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-04-create-insert-snapshots-set-created-date-function::WilliamWelling ran successfully in 2ms 12:08:54.887 [vert.x-worker-thread-13] INFO Slf4jLogger [38532855eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-04-create-insert-snapshots-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 5, '8:3b19a69c2ae3a6228b660869ff34633a', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.888 [vert.x-worker-thread-13] INFO Slf4jLogger [38532856eqId] create trigger insert_snapshots_set_created_date before insert or update on mdexp_test_tenant_mod_source_record_storage.snapshots_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.insert_snapshots_set_created_date() 12:08:54.889 [vert.x-worker-thread-13] INFO Slf4jLogger [38532857eqId] Custom SQL executed 12:08:54.890 [vert.x-worker-thread-13] INFO Slf4jLogger [38532858eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger::WilliamWelling ran successfully in 2ms 12:08:54.890 [vert.x-worker-thread-13] INFO Slf4jLogger [38532858eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 6, '8:84465e014df6d0d86c5065009028dff0', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.891 [vert.x-worker-thread-13] INFO Slf4jLogger [38532859eqId] CREATE TYPE mdexp_test_tenant_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 12:08:54.892 [vert.x-worker-thread-13] INFO Slf4jLogger [38532860eqId] Custom SQL executed 12:08:54.893 [vert.x-worker-thread-13] INFO Slf4jLogger [38532861eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-00-create-record-type::WilliamWelling ran successfully in 2ms 12:08:54.893 [vert.x-worker-thread-13] INFO Slf4jLogger [38532861eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 7, '8:100b624361304f852c68b7985293c8ad', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.894 [vert.x-worker-thread-13] INFO Slf4jLogger [38532862eqId] CREATE TYPE mdexp_test_tenant_mod_source_record_storage.record_state_type AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 12:08:54.895 [vert.x-worker-thread-13] INFO Slf4jLogger [38532863eqId] Custom SQL executed 12:08:54.896 [vert.x-worker-thread-13] INFO Slf4jLogger [38532864eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 12:08:54.896 [vert.x-worker-thread-13] INFO Slf4jLogger [38532864eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 8, '8:c7741f375b0bcec8800a85ae42bf9c0b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.898 [vert.x-worker-thread-13] INFO Slf4jLogger [38532866eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshotid UUID NOT NULL, matchedid UUID NOT NULL, generation INTEGER NOT NULL, recordtype MDEXP_TEST_TENANT_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instanceid UUID, state MDEXP_TEST_TENANT_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE_TYPE NOT NULL, orderinfile INTEGER, suppressdiscovery BOOLEAN, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:54.902 [vert.x-worker-thread-13] INFO Slf4jLogger [38532870eqId] Table records_lb created 12:08:54.903 [vert.x-worker-thread-13] INFO Slf4jLogger [38532871eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-02-create-records-table::WilliamWelling ran successfully in 5ms 12:08:54.903 [vert.x-worker-thread-13] INFO Slf4jLogger [38532871eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 9, '8:21c709ed4466f115b45a9802e0906ea6', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.905 [vert.x-worker-thread-13] INFO Slf4jLogger [38532873eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshotid) REFERENCES mdexp_test_tenant_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:54.906 [vert.x-worker-thread-13] INFO Slf4jLogger [38532874eqId] Foreign key constraint added to records_lb (snapshotid) 12:08:54.907 [vert.x-worker-thread-13] INFO Slf4jLogger [38532875eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 3ms 12:08:54.908 [vert.x-worker-thread-13] INFO Slf4jLogger [38532876eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 10, '8:40e4aece8d6af5772e22390d12f90d82', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.909 [vert.x-worker-thread-13] INFO Slf4jLogger [38532877eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.records_lb ALTER COLUMN suppressdiscovery SET DEFAULT FALSE 12:08:54.909 [vert.x-worker-thread-13] INFO Slf4jLogger [38532877eqId] Default value added to records_lb.suppressdiscovery 12:08:54.910 [vert.x-worker-thread-13] INFO Slf4jLogger [38532878eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-04-set-records-suppressdiscovery-default::WilliamWelling ran successfully in 1ms 12:08:54.915 [vert.x-worker-thread-13] INFO Slf4jLogger [38532883eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-04-set-records-suppressdiscovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 11, '8:597af14095c4bcca0b5d205734e1ebc9', 'addDefaultValue columnName=suppressdiscovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.917 [vert.x-worker-thread-13] INFO Slf4jLogger [38532885eqId] CREATE INDEX idx_records_snapshotid ON mdexp_test_tenant_mod_source_record_storage.records_lb(snapshotid) 12:08:54.920 [vert.x-worker-thread-13] INFO Slf4jLogger [38532888eqId] Index idx_records_snapshotid created 12:08:54.921 [vert.x-worker-thread-13] INFO Slf4jLogger [38532889eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 12:08:54.921 [vert.x-worker-thread-13] INFO Slf4jLogger [38532889eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 12, '8:c7bb8eb2b00f76879178ab2d8b1cf6b9', 'createIndex indexName=idx_records_snapshotid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.922 [vert.x-worker-thread-13] INFO Slf4jLogger [38532890eqId] CREATE INDEX idx_records_instanceid ON mdexp_test_tenant_mod_source_record_storage.records_lb(instanceid) 12:08:54.925 [vert.x-worker-thread-13] INFO Slf4jLogger [38532893eqId] Index idx_records_instanceid created 12:08:54.926 [vert.x-worker-thread-13] INFO Slf4jLogger [38532894eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 12:08:54.926 [vert.x-worker-thread-13] INFO Slf4jLogger [38532894eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 13, '8:8bcb1008f15d544175e109f7c6f24f30', 'createIndex indexName=idx_records_instanceid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.927 [vert.x-worker-thread-13] INFO Slf4jLogger [38532895eqId] CREATE UNIQUE INDEX idx_records_matchedid_gen ON mdexp_test_tenant_mod_source_record_storage.records_lb(matchedid, generation) 12:08:54.930 [vert.x-worker-thread-13] INFO Slf4jLogger [38532898eqId] Index idx_records_matchedid_gen created 12:08:54.931 [vert.x-worker-thread-13] INFO Slf4jLogger [38532899eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 4ms 12:08:54.931 [vert.x-worker-thread-13] INFO Slf4jLogger [38532899eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 14, '8:2efe88f66b744291ff7d431e994e63f3', 'createIndex indexName=idx_records_matchedid_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.932 [vert.x-worker-thread-13] INFO Slf4jLogger [38532900eqId] CREATE INDEX idx_records_updateddate ON mdexp_test_tenant_mod_source_record_storage.records_lb(updateddate) 12:08:54.935 [vert.x-worker-thread-13] INFO Slf4jLogger [38532903eqId] Index idx_records_updateddate created 12:08:54.936 [vert.x-worker-thread-13] INFO Slf4jLogger [38532904eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-08-create-records-updateddate-index::WilliamWelling ran successfully in 4ms 12:08:54.937 [vert.x-worker-thread-13] INFO Slf4jLogger [38532905eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-08-create-records-updateddate-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 15, '8:146c0f7caa52db0449027ad58fee5ac3', 'createIndex indexName=idx_records_updateddate, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.938 [vert.x-worker-thread-13] INFO Slf4jLogger [38532906eqId] CREATE INDEX idx_records_matchedid_state ON mdexp_test_tenant_mod_source_record_storage.records_lb(matchedid, state) 12:08:54.941 [vert.x-worker-thread-13] INFO Slf4jLogger [38532909eqId] Index idx_records_matchedid_state created 12:08:54.941 [vert.x-worker-thread-13] INFO Slf4jLogger [38532909eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-09-create-records-matchedid-state-index::WilliamWelling ran successfully in 3ms 12:08:54.942 [vert.x-worker-thread-13] INFO Slf4jLogger [38532910eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-09-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 16, '8:f3225034640952bdfd1c3f5de4b73260', 'createIndex indexName=idx_records_matchedid_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.943 [vert.x-worker-thread-13] INFO Slf4jLogger [38532911eqId] create function mdexp_test_tenant_mod_source_record_storage.update_records_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 12:08:54.944 [vert.x-worker-thread-13] INFO Slf4jLogger [38532912eqId] Stored procedure created 12:08:54.944 [vert.x-worker-thread-13] INFO Slf4jLogger [38532912eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-10-create-update-records-set-updated-date-function::WilliamWelling ran successfully in 1ms 12:08:54.945 [vert.x-worker-thread-13] INFO Slf4jLogger [38532913eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-10-create-update-records-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 17, '8:8158b099d7981b1c58fd2290a5c7365c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.946 [vert.x-worker-thread-13] INFO Slf4jLogger [38532914eqId] create trigger update_records_set_updated_date before insert or update on mdexp_test_tenant_mod_source_record_storage.records_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.update_records_set_updated_date() 12:08:54.947 [vert.x-worker-thread-13] INFO Slf4jLogger [38532915eqId] Custom SQL executed 12:08:54.947 [vert.x-worker-thread-13] INFO Slf4jLogger [38532915eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-11-create-update-records-set-updated-date-trigger::WilliamWelling ran successfully in 1ms 12:08:54.948 [vert.x-worker-thread-13] INFO Slf4jLogger [38532916eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-11-create-update-records-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 18, '8:2014fc5af73dd869e9577d5e78d3325b', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.949 [vert.x-worker-thread-13] INFO Slf4jLogger [38532917eqId] create function mdexp_test_tenant_mod_source_record_storage.insert_records_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 12:08:54.949 [vert.x-worker-thread-13] INFO Slf4jLogger [38532917eqId] Stored procedure created 12:08:54.950 [vert.x-worker-thread-13] INFO Slf4jLogger [38532918eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-12-create-insert-records-set-created-date-function::WilliamWelling ran successfully in 1ms 12:08:54.951 [vert.x-worker-thread-13] INFO Slf4jLogger [38532919eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-12-create-insert-records-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 19, '8:97289786e52401b400f341ac256fd8dc', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.952 [vert.x-worker-thread-13] INFO Slf4jLogger [38532920eqId] create trigger insert_records_set_created_date before insert or update on mdexp_test_tenant_mod_source_record_storage.records_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.insert_records_set_created_date() 12:08:54.952 [vert.x-worker-thread-13] INFO Slf4jLogger [38532920eqId] Custom SQL executed 12:08:54.953 [vert.x-worker-thread-13] INFO Slf4jLogger [38532921eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-13-create-insert-records-set-created-date-trigger::WilliamWelling ran successfully in 1ms 12:08:54.953 [vert.x-worker-thread-13] INFO Slf4jLogger [38532921eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-13-create-insert-records-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 20, '8:a85b0e487e9175280267f357c9ba29e7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.955 [vert.x-worker-thread-13] INFO Slf4jLogger [38532923eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:54.960 [vert.x-worker-thread-13] INFO Slf4jLogger [38532928eqId] Table raw_records_lb created 12:08:54.961 [vert.x-worker-thread-13] INFO Slf4jLogger [38532929eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-00-create-raw-records-table::WilliamWelling ran successfully in 6ms 12:08:54.962 [vert.x-worker-thread-13] INFO Slf4jLogger [38532930eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 21, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.963 [vert.x-worker-thread-13] INFO Slf4jLogger [38532931eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES mdexp_test_tenant_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:54.964 [vert.x-worker-thread-13] INFO Slf4jLogger [38532932eqId] Foreign key constraint added to raw_records_lb (id) 12:08:54.965 [vert.x-worker-thread-13] INFO Slf4jLogger [38532933eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:08:54.966 [vert.x-worker-thread-13] INFO Slf4jLogger [38532934eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 22, '8:d9c12038fbe000acd23b84862d37a242', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.967 [vert.x-worker-thread-13] INFO Slf4jLogger [38532935eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:54.973 [vert.x-worker-thread-13] INFO Slf4jLogger [38532941eqId] Table marc_records_lb created 12:08:54.974 [vert.x-worker-thread-13] INFO Slf4jLogger [38532942eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 12:08:54.975 [vert.x-worker-thread-13] INFO Slf4jLogger [38532943eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 23, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.976 [vert.x-worker-thread-13] INFO Slf4jLogger [38532944eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES mdexp_test_tenant_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:54.977 [vert.x-worker-thread-13] INFO Slf4jLogger [38532945eqId] Foreign key constraint added to marc_records_lb (id) 12:08:54.978 [vert.x-worker-thread-13] INFO Slf4jLogger [38532946eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:08:54.978 [vert.x-worker-thread-13] INFO Slf4jLogger [38532946eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 24, '8:be101151b8b280f06d29f507ae26e150', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.980 [vert.x-worker-thread-13] INFO Slf4jLogger [38532948eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content JSONB NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:54.985 [vert.x-worker-thread-13] INFO Slf4jLogger [38532953eqId] Table error_records_lb created 12:08:54.986 [vert.x-worker-thread-13] INFO Slf4jLogger [38532954eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-00-create-error-records-table::WilliamWelling ran successfully in 6ms 12:08:54.987 [vert.x-worker-thread-13] INFO Slf4jLogger [38532955eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 25, '8:68a49e6c5b8e9ef40437e9fd0dac384e', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.988 [vert.x-worker-thread-13] INFO Slf4jLogger [38532956eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES mdexp_test_tenant_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:54.989 [vert.x-worker-thread-13] INFO Slf4jLogger [38532957eqId] Foreign key constraint added to error_records_lb (id) 12:08:54.990 [vert.x-worker-thread-13] INFO Slf4jLogger [38532958eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:08:54.990 [vert.x-worker-thread-13] INFO Slf4jLogger [38532958eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 26, '8:5d6d6163d03fba5be67841d762ca415b', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.992 [vert.x-worker-thread-13] INFO Slf4jLogger [38532960eqId] create function mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from mdexp_test_tenant_mod_source_record_storage.records_lb rds where rds.matchedid = p_id and rds.state = 'ACTUAL') r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:08:54.993 [vert.x-worker-thread-13] INFO Slf4jLogger [38532961eqId] Stored procedure created 12:08:54.994 [vert.x-worker-thread-13] INFO Slf4jLogger [38532962eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-00-create-get-source-marc-record-by-id-function::WilliamWelling ran successfully in 2ms 12:08:54.994 [vert.x-worker-thread-13] INFO Slf4jLogger [38532962eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-00-create-get-source-marc-record-by-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 27, '8:0c9e6e632584db7cf6be19e2baa3909b', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.995 [vert.x-worker-thread-13] INFO Slf4jLogger [38532963eqId] create function mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from mdexp_test_tenant_mod_source_record_storage.records_lb rds where rds.matchedid = p_id) rr where generation = max_generation) r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:08:54.996 [vert.x-worker-thread-13] INFO Slf4jLogger [38532964eqId] Stored procedure created 12:08:54.997 [vert.x-worker-thread-13] INFO Slf4jLogger [38532965eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function::WilliamWelling ran successfully in 2ms 12:08:54.997 [vert.x-worker-thread-13] INFO Slf4jLogger [38532965eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 28, '8:fed66ec10e52b7bd9edff9632a0afd1c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:54.999 [vert.x-worker-thread-13] INFO Slf4jLogger [38532967eqId] create function mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from mdexp_test_tenant_mod_source_record_storage.records_lb rds where rds.instanceId = p_instanceId and rds.state = 'ACTUAL') r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:08:54.999 [vert.x-worker-thread-13] INFO Slf4jLogger [38532967eqId] Stored procedure created 12:08:55.000 [vert.x-worker-thread-13] INFO Slf4jLogger [38532968eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function::WilliamWelling ran successfully in 2ms 12:08:55.000 [vert.x-worker-thread-13] INFO Slf4jLogger [38532968eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 29, '8:8fdfdb9ac7e430492f057ff53160aa95', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.002 [vert.x-worker-thread-13] INFO Slf4jLogger [38532970eqId] create function mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from mdexp_test_tenant_mod_source_record_storage.records_lb rds where rds.instanceid = p_instanceId) rr where generation = max_generation) r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:08:55.002 [vert.x-worker-thread-13] INFO Slf4jLogger [38532970eqId] Stored procedure created 12:08:55.003 [vert.x-worker-thread-13] INFO Slf4jLogger [38532971eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function::WilliamWelling ran successfully in 2ms 12:08:55.003 [vert.x-worker-thread-13] INFO Slf4jLogger [38532971eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 30, '8:c1d5c71049c91d560fe502cee6d1463e', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.005 [vert.x-worker-thread-13] INFO Slf4jLogger [38532973eqId] create function mdexp_test_tenant_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select id, matchedid from mdexp_test_tenant_mod_source_record_storage.records_lb where state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 12:08:55.005 [vert.x-worker-thread-13] INFO Slf4jLogger [38532973eqId] Stored procedure created 12:08:55.006 [vert.x-worker-thread-13] INFO Slf4jLogger [38532974eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-04-create-get-all-source-marc-records-function::WilliamWelling ran successfully in 2ms 12:08:55.006 [vert.x-worker-thread-13] INFO Slf4jLogger [38532974eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-04-create-get-all-source-marc-records-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 31, '8:f06b732e56aabeb052b196052d8bb71b', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.008 [vert.x-worker-thread-13] INFO Slf4jLogger [38532976eqId] create function mdexp_test_tenant_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select matchedid, id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from mdexp_test_tenant_mod_source_record_storage.records_lb ) rr where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 12:08:55.008 [vert.x-worker-thread-13] INFO Slf4jLogger [38532976eqId] Stored procedure created 12:08:55.009 [vert.x-worker-thread-13] INFO Slf4jLogger [38532977eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-05-create-get-all-source-marc-records-alt-function::WilliamWelling ran successfully in 1ms 12:08:55.010 [vert.x-worker-thread-13] INFO Slf4jLogger [38532978eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-05-create-get-all-source-marc-records-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 32, '8:c59e4543bf2d6c92e99c9699e2d97e9a', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.011 [vert.x-worker-thread-13] INFO Slf4jLogger [38532979eqId] create function mdexp_test_tenant_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from mdexp_test_tenant_mod_source_record_storage.records_lb where updateddate between p_from and p_till and state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 12:08:55.012 [vert.x-worker-thread-13] INFO Slf4jLogger [38532980eqId] Stored procedure created 12:08:55.012 [vert.x-worker-thread-13] INFO Slf4jLogger [38532980eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-06-create-get-source-marc-records-for-period::WilliamWelling ran successfully in 1ms 12:08:55.013 [vert.x-worker-thread-13] INFO Slf4jLogger [38532981eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-06-create-get-source-marc-records-for-period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 33, '8:678cd76cbe0455296576d71bd11b4cd8', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.014 [vert.x-worker-thread-13] INFO Slf4jLogger [38532982eqId] create function mdexp_test_tenant_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select updateddate, matchedid, id from ( select id, matchedid, updateddate, generation, max(generation) over (partition by matchedid) max_generation from mdexp_test_tenant_mod_source_record_storage.records_lb where updateddate between p_from and p_till ) r where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by updateddate offset p_offset limit p_limit) r inner join mdexp_test_tenant_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 12:08:55.015 [vert.x-worker-thread-13] INFO Slf4jLogger [38532983eqId] Stored procedure created 12:08:55.015 [vert.x-worker-thread-13] INFO Slf4jLogger [38532983eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-07-create-get-source-marc-records-for-period-alt::WilliamWelling ran successfully in 1ms 12:08:55.016 [vert.x-worker-thread-13] INFO Slf4jLogger [38532984eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-07-create-get-source-marc-records-for-period-alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 34, '8:4dc5f7141cde4fb82ea897580309b46c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.017 [vert.x-worker-thread-13] INFO Slf4jLogger [38532985eqId] CREATE FUNCTION mdexp_test_tenant_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) RETURNS integer AS $generation$ DECLARE generation integer; BEGIN SELECT COALESCE(MAX(r.generation), 0) into generation FROM mdexp_test_tenant_mod_source_record_storage.records_lb r INNER JOIN mdexp_test_tenant_mod_source_record_storage.snapshots_lb s ON r.snapshotid = s.id WHERE r.matchedid = p_matchedid AND s.status = 'COMMITTED' AND s.updateddate < ( SELECT processing_started_date FROM mdexp_test_tenant_mod_source_record_storage.snapshots_lb WHERE id = p_snapshotid )::timestamptz; RETURN generation; END; $generation$ LANGUAGE plpgsql 12:08:55.018 [vert.x-worker-thread-13] INFO Slf4jLogger [38532986eqId] Stored procedure created 12:08:55.018 [vert.x-worker-thread-13] INFO Slf4jLogger [38532986eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml::2020-05-18--08-00-create-get-record-generation-function::WilliamWelling ran successfully in 1ms 12:08:55.019 [vert.x-worker-thread-13] INFO Slf4jLogger [38532987eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-05-18--08-00-create-get-record-generation-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-05-18--08-00-create-get-record-generation-function.xml', NOW(), 35, '8:564a1bf6715064b686be1fd6ef34cb3c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.020 [vert.x-worker-thread-13] INFO Slf4jLogger [38532988eqId] DROP TABLE mdexp_test_tenant_mod_source_record_storage.error_records_lb 12:08:55.022 [vert.x-worker-thread-13] INFO Slf4jLogger [38532990eqId] Table error_records_lb dropped 12:08:55.023 [vert.x-worker-thread-13] INFO Slf4jLogger [38532991eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-00-drop-error-records-lb-table::WilliamWelling ran successfully in 3ms 12:08:55.023 [vert.x-worker-thread-13] INFO Slf4jLogger [38532991eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-00-drop-error-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 36, '8:71b5223d8693fbb69e38b1e264b9baa1', 'dropTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.024 [vert.x-worker-thread-13] INFO Slf4jLogger [38532992eqId] DROP TABLE mdexp_test_tenant_mod_source_record_storage.marc_records_lb 12:08:55.025 [vert.x-worker-thread-13] INFO Slf4jLogger [38532993eqId] Table marc_records_lb dropped 12:08:55.026 [vert.x-worker-thread-13] INFO Slf4jLogger [38532994eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-01-drop-marc-records-lb-table::WilliamWelling ran successfully in 2ms 12:08:55.027 [vert.x-worker-thread-13] INFO Slf4jLogger [38532995eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-01-drop-marc-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 37, '8:7dcd6a2fad87615b3eb4e5d94b741bbb', 'dropTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.028 [vert.x-worker-thread-13] INFO Slf4jLogger [38532996eqId] DROP TABLE mdexp_test_tenant_mod_source_record_storage.raw_records_lb 12:08:55.029 [vert.x-worker-thread-13] INFO Slf4jLogger [38532997eqId] Table raw_records_lb dropped 12:08:55.030 [vert.x-worker-thread-13] INFO Slf4jLogger [38532998eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-02-drop-raw-records-lb-table::WilliamWelling ran successfully in 2ms 12:08:55.031 [vert.x-worker-thread-13] INFO Slf4jLogger [38532999eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-02-drop-raw-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 38, '8:f0c9a608e8df32022768117c437b189c', 'dropTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.032 [vert.x-worker-thread-13] INFO Slf4jLogger [38533000eqId] DROP TABLE mdexp_test_tenant_mod_source_record_storage.records_lb 12:08:55.034 [vert.x-worker-thread-13] INFO Slf4jLogger [38533002eqId] Table records_lb dropped 12:08:55.035 [vert.x-worker-thread-13] INFO Slf4jLogger [38533003eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-03-drop-records-lb-table::WilliamWelling ran successfully in 3ms 12:08:55.035 [vert.x-worker-thread-13] INFO Slf4jLogger [38533003eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-03-drop-records-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 39, '8:b499a7cf37a1be7b5586c364e41d517a', 'dropTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.037 [vert.x-worker-thread-13] INFO Slf4jLogger [38533005eqId] DROP TYPE mdexp_test_tenant_mod_source_record_storage.record_type 12:08:55.037 [vert.x-worker-thread-13] INFO Slf4jLogger [38533005eqId] Custom SQL executed 12:08:55.038 [vert.x-worker-thread-13] INFO Slf4jLogger [38533006eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-04-drop-record_type::WilliamWelling ran successfully in 1ms 12:08:55.038 [vert.x-worker-thread-13] INFO Slf4jLogger [38533006eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-04-drop-record_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 40, '8:d41e2f83ecca9461a707c2b13fa91ae4', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.039 [vert.x-worker-thread-13] INFO Slf4jLogger [38533007eqId] DROP TYPE mdexp_test_tenant_mod_source_record_storage.record_state_type 12:08:55.040 [vert.x-worker-thread-13] INFO Slf4jLogger [38533008eqId] Custom SQL executed 12:08:55.041 [vert.x-worker-thread-13] INFO Slf4jLogger [38533009eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-05-drop-record_state_type::WilliamWelling ran successfully in 2ms 12:08:55.041 [vert.x-worker-thread-13] INFO Slf4jLogger [38533009eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-05-drop-record_state_type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 41, '8:742cbf3215c1781bae05887a038a3f14', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.042 [vert.x-worker-thread-13] INFO Slf4jLogger [38533010eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.update_records_set_updated_date() 12:08:55.043 [vert.x-worker-thread-13] INFO Slf4jLogger [38533011eqId] Custom SQL executed 12:08:55.043 [vert.x-worker-thread-13] INFO Slf4jLogger [38533011eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-06-drop-update_records_set_updated_date::WilliamWelling ran successfully in 1ms 12:08:55.044 [vert.x-worker-thread-13] INFO Slf4jLogger [38533012eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-06-drop-update_records_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 42, '8:d803ac8b74452a1865a1874e4d6b5968', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.045 [vert.x-worker-thread-13] INFO Slf4jLogger [38533013eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.insert_records_set_created_date() 12:08:55.045 [vert.x-worker-thread-13] INFO Slf4jLogger [38533013eqId] Custom SQL executed 12:08:55.046 [vert.x-worker-thread-13] INFO Slf4jLogger [38533014eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-07-drop-insert_records_set_created_date::WilliamWelling ran successfully in 1ms 12:08:55.046 [vert.x-worker-thread-13] INFO Slf4jLogger [38533014eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-07-drop-insert_records_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 43, '8:3e04f2ab9183300718491bebdd283765', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.048 [vert.x-worker-thread-13] INFO Slf4jLogger [38533016eqId] DROP TABLE mdexp_test_tenant_mod_source_record_storage.snapshots_lb 12:08:55.048 [vert.x-worker-thread-13] INFO Slf4jLogger [38533016eqId] Table snapshots_lb dropped 12:08:55.049 [vert.x-worker-thread-13] INFO Slf4jLogger [38533017eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-08-drop-snapshots-lb-table::WilliamWelling ran successfully in 1ms 12:08:55.050 [vert.x-worker-thread-13] INFO Slf4jLogger [38533018eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-08-drop-snapshots-lb-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 44, '8:feda4f48facb84aaed5dce98f3e7fe95', 'dropTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.051 [vert.x-worker-thread-13] INFO Slf4jLogger [38533019eqId] DROP TYPE mdexp_test_tenant_mod_source_record_storage.job_execution_status 12:08:55.051 [vert.x-worker-thread-13] INFO Slf4jLogger [38533019eqId] Custom SQL executed 12:08:55.052 [vert.x-worker-thread-13] INFO Slf4jLogger [38533020eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-09-drop-job_execution_status::WilliamWelling ran successfully in 1ms 12:08:55.052 [vert.x-worker-thread-13] INFO Slf4jLogger [38533020eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-09-drop-job_execution_status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 45, '8:13239be855c05347116ed6ec8fb30725', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.054 [vert.x-worker-thread-13] INFO Slf4jLogger [38533022eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.update_snapshots_set_updated_date() 12:08:55.054 [vert.x-worker-thread-13] INFO Slf4jLogger [38533022eqId] Custom SQL executed 12:08:55.055 [vert.x-worker-thread-13] INFO Slf4jLogger [38533023eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-10-drop-update_snapshots_set_updated_date::WilliamWelling ran successfully in 2ms 12:08:55.055 [vert.x-worker-thread-13] INFO Slf4jLogger [38533023eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-10-drop-update_snapshots_set_updated_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 46, '8:8c10a69c3073acfa15d365ba8e1de99d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.056 [vert.x-worker-thread-13] INFO Slf4jLogger [38533024eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.insert_snapshots_set_created_date() 12:08:55.057 [vert.x-worker-thread-13] INFO Slf4jLogger [38533025eqId] Custom SQL executed 12:08:55.057 [vert.x-worker-thread-13] INFO Slf4jLogger [38533025eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml::2020-06-10--12-11-drop-insert_snapshots_set_created_date::WilliamWelling ran successfully in 1ms 12:08:55.058 [vert.x-worker-thread-13] INFO Slf4jLogger [38533026eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-10--12-11-drop-insert_snapshots_set_created_date', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-10--12-00-drop-lb-tables.xml', NOW(), 47, '8:76fbbe90ab6b1b0c9f31c53e18724e50', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.059 [vert.x-worker-thread-13] INFO Slf4jLogger [38533027eqId] CREATE TYPE mdexp_test_tenant_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 12:08:55.060 [vert.x-worker-thread-13] INFO Slf4jLogger [38533028eqId] Custom SQL executed 12:08:55.061 [vert.x-worker-thread-13] INFO Slf4jLogger [38533029eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-00-create-job-execution-status::WilliamWelling ran successfully in 2ms 12:08:55.061 [vert.x-worker-thread-13] INFO Slf4jLogger [38533029eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 48, '8:a7184c9f73969e64b664abeb8a451ec3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.062 [vert.x-worker-thread-13] INFO Slf4jLogger [38533030eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status MDEXP_TEST_TENANT_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 12:08:55.066 [vert.x-worker-thread-13] INFO Slf4jLogger [38533034eqId] Table snapshots_lb created 12:08:55.067 [vert.x-worker-thread-13] INFO Slf4jLogger [38533035eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 12:08:55.067 [vert.x-worker-thread-13] INFO Slf4jLogger [38533035eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 49, '8:c7fd4eb633d17d4479a1de29b7dd7a48', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.069 [vert.x-worker-thread-13] INFO Slf4jLogger [38533037eqId] create function mdexp_test_tenant_mod_source_record_storage.insert_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 12:08:55.069 [vert.x-worker-thread-13] INFO Slf4jLogger [38533037eqId] Stored procedure created 12:08:55.070 [vert.x-worker-thread-13] INFO Slf4jLogger [38533038eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-02-create-insert-snapshots-set-dates-function::WilliamWelling ran successfully in 2ms 12:08:55.070 [vert.x-worker-thread-13] INFO Slf4jLogger [38533038eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-02-create-insert-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 50, '8:a4c0846c43d7697e024009b5ef1951f2', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.072 [vert.x-worker-thread-13] INFO Slf4jLogger [38533040eqId] create trigger insert_snapshots_set_dates before insert on mdexp_test_tenant_mod_source_record_storage.snapshots_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.insert_snapshots_set_dates() 12:08:55.072 [vert.x-worker-thread-13] INFO Slf4jLogger [38533040eqId] Custom SQL executed 12:08:55.073 [vert.x-worker-thread-13] INFO Slf4jLogger [38533041eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-03-create-insert-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 12:08:55.073 [vert.x-worker-thread-13] INFO Slf4jLogger [38533041eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-03-create-insert-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 51, '8:a2f5958f3f162b41f0116c01c7ed8f6a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.075 [vert.x-worker-thread-13] INFO Slf4jLogger [38533043eqId] create function mdexp_test_tenant_mod_source_record_storage.update_snapshots_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 12:08:55.075 [vert.x-worker-thread-13] INFO Slf4jLogger [38533043eqId] Stored procedure created 12:08:55.076 [vert.x-worker-thread-13] INFO Slf4jLogger [38533044eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-04-create-update-snapshots-set-dates-function::WilliamWelling ran successfully in 1ms 12:08:55.076 [vert.x-worker-thread-13] INFO Slf4jLogger [38533044eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-04-create-update-snapshots-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 52, '8:f10f393873726dae97affeeb825351f2', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.077 [vert.x-worker-thread-13] INFO Slf4jLogger [38533045eqId] create trigger update_snapshots_set_dates before update on mdexp_test_tenant_mod_source_record_storage.snapshots_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.update_snapshots_set_dates() 12:08:55.078 [vert.x-worker-thread-13] INFO Slf4jLogger [38533046eqId] Custom SQL executed 12:08:55.079 [vert.x-worker-thread-13] INFO Slf4jLogger [38533047eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml::2020-06-11--12-05-create-update-snapshots-set-dates-trigger::WilliamWelling ran successfully in 2ms 12:08:55.079 [vert.x-worker-thread-13] INFO Slf4jLogger [38533047eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--12-05-create-update-snapshots-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--12-00-create-snapshots-table.xml', NOW(), 53, '8:7fb8d417f7150e839b64e1ca3b3746ec', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.080 [vert.x-worker-thread-13] INFO Slf4jLogger [38533048eqId] CREATE TYPE mdexp_test_tenant_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 12:08:55.081 [vert.x-worker-thread-13] INFO Slf4jLogger [38533049eqId] Custom SQL executed 12:08:55.082 [vert.x-worker-thread-13] INFO Slf4jLogger [38533050eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-00-create-record-type::WilliamWelling ran successfully in 2ms 12:08:55.082 [vert.x-worker-thread-13] INFO Slf4jLogger [38533050eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 54, '8:100b624361304f852c68b7985293c8ad', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.083 [vert.x-worker-thread-13] INFO Slf4jLogger [38533051eqId] CREATE TYPE mdexp_test_tenant_mod_source_record_storage.record_state AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 12:08:55.084 [vert.x-worker-thread-13] INFO Slf4jLogger [38533052eqId] Custom SQL executed 12:08:55.085 [vert.x-worker-thread-13] INFO Slf4jLogger [38533053eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 12:08:55.085 [vert.x-worker-thread-13] INFO Slf4jLogger [38533053eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 55, '8:94c6347e3bc5ddef7f75a3fc2ab043b5', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.086 [vert.x-worker-thread-13] INFO Slf4jLogger [38533054eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshot_id UUID NOT NULL, matched_id UUID NOT NULL, generation INTEGER NOT NULL, record_type MDEXP_TEST_TENANT_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instance_id UUID, state MDEXP_TEST_TENANT_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE NOT NULL, leader_record_status CHAR(1), "order" INTEGER, suppress_discovery BOOLEAN, created_by_user_id UUID, created_date TIMESTAMP WITH TIME ZONE, updated_by_user_id UUID, updated_date TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:55.090 [vert.x-worker-thread-13] INFO Slf4jLogger [38533058eqId] Table records_lb created 12:08:55.090 [vert.x-worker-thread-13] INFO Slf4jLogger [38533058eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-02-create-records-table::WilliamWelling ran successfully in 4ms 12:08:55.091 [vert.x-worker-thread-13] INFO Slf4jLogger [38533059eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 56, '8:260db902fdcb410d1191c3c00255cea8', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.092 [vert.x-worker-thread-13] INFO Slf4jLogger [38533060eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshot_id) REFERENCES mdexp_test_tenant_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:55.093 [vert.x-worker-thread-13] INFO Slf4jLogger [38533061eqId] Foreign key constraint added to records_lb (snapshot_id) 12:08:55.094 [vert.x-worker-thread-13] INFO Slf4jLogger [38533062eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 2ms 12:08:55.095 [vert.x-worker-thread-13] INFO Slf4jLogger [38533063eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 57, '8:4f324a1d3361d8ebdb0ec18d9ee05eca', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.096 [vert.x-worker-thread-13] INFO Slf4jLogger [38533064eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.records_lb ALTER COLUMN suppress_discovery SET DEFAULT FALSE 12:08:55.097 [vert.x-worker-thread-13] INFO Slf4jLogger [38533065eqId] Default value added to records_lb.suppress_discovery 12:08:55.097 [vert.x-worker-thread-13] INFO Slf4jLogger [38533065eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-04-set-records-suppress-discovery-default::WilliamWelling ran successfully in 1ms 12:08:55.098 [vert.x-worker-thread-13] INFO Slf4jLogger [38533066eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-04-set-records-suppress-discovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 58, '8:5684b655ad602df3e8b7117a21424ac4', 'addDefaultValue columnName=suppress_discovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.099 [vert.x-worker-thread-13] INFO Slf4jLogger [38533067eqId] CREATE INDEX idx_records_snapshot_id ON mdexp_test_tenant_mod_source_record_storage.records_lb(snapshot_id) 12:08:55.102 [vert.x-worker-thread-13] INFO Slf4jLogger [38533070eqId] Index idx_records_snapshot_id created 12:08:55.103 [vert.x-worker-thread-13] INFO Slf4jLogger [38533071eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 4ms 12:08:55.103 [vert.x-worker-thread-13] INFO Slf4jLogger [38533071eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 59, '8:98446c23e5c8aec0ee0a8e1e92e6e2ba', 'createIndex indexName=idx_records_snapshot_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.105 [vert.x-worker-thread-13] INFO Slf4jLogger [38533073eqId] CREATE INDEX idx_records_instance_id ON mdexp_test_tenant_mod_source_record_storage.records_lb(instance_id) 12:08:55.107 [vert.x-worker-thread-13] INFO Slf4jLogger [38533075eqId] Index idx_records_instance_id created 12:08:55.108 [vert.x-worker-thread-13] INFO Slf4jLogger [38533076eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 4ms 12:08:55.108 [vert.x-worker-thread-13] INFO Slf4jLogger [38533076eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 60, '8:7e542d6432542d5fb0793a4500c40c7c', 'createIndex indexName=idx_records_instance_id, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.109 [vert.x-worker-thread-13] INFO Slf4jLogger [38533077eqId] CREATE UNIQUE INDEX idx_records_matched_id_gen ON mdexp_test_tenant_mod_source_record_storage.records_lb(matched_id, generation) 12:08:55.112 [vert.x-worker-thread-13] INFO Slf4jLogger [38533080eqId] Index idx_records_matched_id_gen created 12:08:55.113 [vert.x-worker-thread-13] INFO Slf4jLogger [38533081eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 4ms 12:08:55.113 [vert.x-worker-thread-13] INFO Slf4jLogger [38533081eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 61, '8:c3fa4b7e8867e2f9d70d7530aea681f3', 'createIndex indexName=idx_records_matched_id_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.114 [vert.x-worker-thread-13] INFO Slf4jLogger [38533082eqId] CREATE INDEX idx_records_updated_date ON mdexp_test_tenant_mod_source_record_storage.records_lb(updated_date) 12:08:55.117 [vert.x-worker-thread-13] INFO Slf4jLogger [38533085eqId] Index idx_records_updated_date created 12:08:55.118 [vert.x-worker-thread-13] INFO Slf4jLogger [38533086eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-08-create-records-updated-date-index::WilliamWelling ran successfully in 4ms 12:08:55.118 [vert.x-worker-thread-13] INFO Slf4jLogger [38533086eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-08-create-records-updated-date-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 62, '8:7f78e5ec1da17e81dc6b2417fada05c9', 'createIndex indexName=idx_records_updated_date, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.119 [vert.x-worker-thread-13] INFO Slf4jLogger [38533087eqId] CREATE INDEX idx_records_leader_record_status ON mdexp_test_tenant_mod_source_record_storage.records_lb(leader_record_status) 12:08:55.121 [vert.x-worker-thread-13] INFO Slf4jLogger [38533089eqId] Index idx_records_leader_record_status created 12:08:55.122 [vert.x-worker-thread-13] INFO Slf4jLogger [38533090eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-09-create-records-leader-record-status-index::WilliamWelling ran successfully in 3ms 12:08:55.123 [vert.x-worker-thread-13] INFO Slf4jLogger [38533091eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-09-create-records-leader-record-status-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 63, '8:c72cd31229c2f9ddb2f9bb04f5911c9c', 'createIndex indexName=idx_records_leader_record_status, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.124 [vert.x-worker-thread-13] INFO Slf4jLogger [38533092eqId] CREATE INDEX idx_records_matched_id_state ON mdexp_test_tenant_mod_source_record_storage.records_lb(matched_id, state) 12:08:55.126 [vert.x-worker-thread-13] INFO Slf4jLogger [38533094eqId] Index idx_records_matched_id_state created 12:08:55.127 [vert.x-worker-thread-13] INFO Slf4jLogger [38533095eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-10-create-records-matchedid-state-index::WilliamWelling ran successfully in 3ms 12:08:55.127 [vert.x-worker-thread-13] INFO Slf4jLogger [38533095eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-10-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 64, '8:4daa9f1efe4816e3b3af58ce0c570fab', 'createIndex indexName=idx_records_matched_id_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.129 [vert.x-worker-thread-13] INFO Slf4jLogger [38533097eqId] create function mdexp_test_tenant_mod_source_record_storage.insert_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.created_date := current_timestamp; NEW.updated_date := NEW.created_date; RETURN NEW; END; $$ 12:08:55.129 [vert.x-worker-thread-13] INFO Slf4jLogger [38533097eqId] Stored procedure created 12:08:55.130 [vert.x-worker-thread-13] INFO Slf4jLogger [38533098eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-11-create-insert-records-set-dates-function::WilliamWelling ran successfully in 1ms 12:08:55.130 [vert.x-worker-thread-13] INFO Slf4jLogger [38533098eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-11-create-insert-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 65, '8:ec5d9216653cdb7843556b8a3b0e6415', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.132 [vert.x-worker-thread-13] INFO Slf4jLogger [38533100eqId] create trigger insert_records_set_dates before insert on mdexp_test_tenant_mod_source_record_storage.records_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.insert_records_set_dates() 12:08:55.132 [vert.x-worker-thread-13] INFO Slf4jLogger [38533100eqId] Custom SQL executed 12:08:55.133 [vert.x-worker-thread-13] INFO Slf4jLogger [38533101eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-12-create-insert-records-set-dates-trigger::WilliamWelling ran successfully in 1ms 12:08:55.133 [vert.x-worker-thread-13] INFO Slf4jLogger [38533101eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-12-create-insert-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 66, '8:efeaba4257748c183b2c16c412d63221', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.135 [vert.x-worker-thread-13] INFO Slf4jLogger [38533103eqId] create function mdexp_test_tenant_mod_source_record_storage.update_records_set_dates() returns trigger language plpgsql as $$ BEGIN NEW.updated_date := current_timestamp; IF OLD.created_date IS NULL THEN NEW.created_date := NEW.updated_date; END IF; RETURN NEW; END; $$ 12:08:55.135 [vert.x-worker-thread-13] INFO Slf4jLogger [38533103eqId] Stored procedure created 12:08:55.136 [vert.x-worker-thread-13] INFO Slf4jLogger [38533104eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-13-create-update-records-set-dates-function::WilliamWelling ran successfully in 2ms 12:08:55.136 [vert.x-worker-thread-13] INFO Slf4jLogger [38533104eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-13-create-update-records-set-dates-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 67, '8:944ea0ae9c9d1955a11c4ae79a7d95d6', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.137 [vert.x-worker-thread-13] INFO Slf4jLogger [38533105eqId] create trigger update_records_set_dates before update on mdexp_test_tenant_mod_source_record_storage.records_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.update_records_set_dates() 12:08:55.138 [vert.x-worker-thread-13] INFO Slf4jLogger [38533106eqId] Custom SQL executed 12:08:55.139 [vert.x-worker-thread-13] INFO Slf4jLogger [38533107eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml::2020-06-11--13-14-create-update-records-set-dates-trigger::WilliamWelling ran successfully in 2ms 12:08:55.139 [vert.x-worker-thread-13] INFO Slf4jLogger [38533107eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--13-14-create-update-records-set-dates-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--13-00-create-records-table.xml', NOW(), 68, '8:a08bccb048a4b750a9c2cc266f61fc9f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.141 [vert.x-worker-thread-13] INFO Slf4jLogger [38533109eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:55.146 [vert.x-worker-thread-13] INFO Slf4jLogger [38533114eqId] Table raw_records_lb created 12:08:55.146 [vert.x-worker-thread-13] INFO Slf4jLogger [38533114eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-00-create-raw-records-table::WilliamWelling ran successfully in 6ms 12:08:55.147 [vert.x-worker-thread-13] INFO Slf4jLogger [38533115eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 69, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.148 [vert.x-worker-thread-13] INFO Slf4jLogger [38533116eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES mdexp_test_tenant_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:55.149 [vert.x-worker-thread-13] INFO Slf4jLogger [38533117eqId] Foreign key constraint added to raw_records_lb (id) 12:08:55.150 [vert.x-worker-thread-13] INFO Slf4jLogger [38533118eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml::2020-06-11--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:08:55.150 [vert.x-worker-thread-13] INFO Slf4jLogger [38533118eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--14-00-create-raw-records-table.xml', NOW(), 70, '8:d9c12038fbe000acd23b84862d37a242', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.152 [vert.x-worker-thread-13] INFO Slf4jLogger [38533120eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:55.159 [vert.x-worker-thread-13] INFO Slf4jLogger [38533127eqId] Table marc_records_lb created 12:08:55.160 [vert.x-worker-thread-13] INFO Slf4jLogger [38533128eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-00-create-marc-records-table::WilliamWelling ran successfully in 8ms 12:08:55.160 [vert.x-worker-thread-13] INFO Slf4jLogger [38533128eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 71, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.161 [vert.x-worker-thread-13] INFO Slf4jLogger [38533129eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES mdexp_test_tenant_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:55.162 [vert.x-worker-thread-13] INFO Slf4jLogger [38533130eqId] Foreign key constraint added to marc_records_lb (id) 12:08:55.163 [vert.x-worker-thread-13] INFO Slf4jLogger [38533131eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:08:55.164 [vert.x-worker-thread-13] INFO Slf4jLogger [38533132eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 72, '8:be101151b8b280f06d29f507ae26e150', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.165 [vert.x-worker-thread-13] INFO Slf4jLogger [38533133eqId] create function mdexp_test_tenant_mod_source_record_storage.update_records_set_leader_record_status() returns trigger language plpgsql as $$ BEGIN IF (TG_OP = 'DELETE') THEN UPDATE mdexp_test_tenant_mod_source_record_storage.records_lb SET leader_record_status = NULL WHERE id = OLD.id; RETURN OLD; ELSE UPDATE mdexp_test_tenant_mod_source_record_storage.records_lb SET leader_record_status = substring(NEW.content->>'leader' from 6 for 1)::char(1) WHERE id = NEW.id; RETURN NEW; END IF; END; $$ 12:08:55.165 [vert.x-worker-thread-13] INFO Slf4jLogger [38533133eqId] Stored procedure created 12:08:55.166 [vert.x-worker-thread-13] INFO Slf4jLogger [38533134eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-02-create-update-records-set-leader-record-status-function::WilliamWelling ran successfully in 1ms 12:08:55.166 [vert.x-worker-thread-13] INFO Slf4jLogger [38533134eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-02-create-update-records-set-leader-record-status-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 73, '8:c1e4924f8ae2e161913e637f3732363d', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.168 [vert.x-worker-thread-13] INFO Slf4jLogger [38533136eqId] create trigger update_records_set_leader_record_status after insert or update or delete on mdexp_test_tenant_mod_source_record_storage.marc_records_lb for each row execute procedure mdexp_test_tenant_mod_source_record_storage.update_records_set_leader_record_status() 12:08:55.168 [vert.x-worker-thread-13] INFO Slf4jLogger [38533136eqId] Custom SQL executed 12:08:55.169 [vert.x-worker-thread-13] INFO Slf4jLogger [38533137eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml::2020-06-11--15-03-create-update-records-set-leader-record-status-trigger::WilliamWelling ran successfully in 1ms 12:08:55.169 [vert.x-worker-thread-13] INFO Slf4jLogger [38533137eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--15-03-create-update-records-set-leader-record-status-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--15-00-create-marc-records-table.xml', NOW(), 74, '8:3c969d7c09fee10167337fa5ccbae25a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.171 [vert.x-worker-thread-13] INFO Slf4jLogger [38533139eqId] CREATE TABLE mdexp_test_tenant_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content TEXT NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:08:55.177 [vert.x-worker-thread-13] INFO Slf4jLogger [38533145eqId] Table error_records_lb created 12:08:55.177 [vert.x-worker-thread-13] INFO Slf4jLogger [38533145eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 12:08:55.178 [vert.x-worker-thread-13] INFO Slf4jLogger [38533146eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 75, '8:b821b96e42bf16cf15ef75ea935ba4fe', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.179 [vert.x-worker-thread-13] INFO Slf4jLogger [38533147eqId] ALTER TABLE mdexp_test_tenant_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES mdexp_test_tenant_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:08:55.180 [vert.x-worker-thread-13] INFO Slf4jLogger [38533148eqId] Foreign key constraint added to error_records_lb (id) 12:08:55.181 [vert.x-worker-thread-13] INFO Slf4jLogger [38533149eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml::2020-06-11--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:08:55.181 [vert.x-worker-thread-13] INFO Slf4jLogger [38533149eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-11--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-11--16-00-create-error-records-table.xml', NOW(), 76, '8:5d6d6163d03fba5be67841d762ca415b', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.190 [vert.x-worker-thread-13] INFO Slf4jLogger [38533158eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-00-disable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.snapshots does not exist 12:08:55.191 [vert.x-worker-thread-13] INFO Slf4jLogger [38533159eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-00-disable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 77, '8:1b16e4fcad11cfee88544cecd75537f2', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.199 [vert.x-worker-thread-13] INFO Slf4jLogger [38533167eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-01-migrate-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.snapshots does not exist 12:08:55.199 [vert.x-worker-thread-13] INFO Slf4jLogger [38533167eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-01-migrate-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 78, '8:287450107cac79c6f391278dcc3c6784', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.207 [vert.x-worker-thread-13] INFO Slf4jLogger [38533175eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-02-enable-snapshots-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.snapshots does not exist 12:08:55.207 [vert.x-worker-thread-13] INFO Slf4jLogger [38533175eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-02-enable-snapshots-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 79, '8:9d61e970fb48b4ef335d722cd424ac99', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.215 [vert.x-worker-thread-13] INFO Slf4jLogger [38533183eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml::2020-06-12--12-03-create-missing-snapshots::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.snapshots does not exist 12:08:55.215 [vert.x-worker-thread-13] INFO Slf4jLogger [38533183eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--12-03-create-missing-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--12-00-migrate-snapshots.xml', NOW(), 80, '8:4bbd27acf11d69bfe3f31f10c738b7f6', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.224 [vert.x-worker-thread-13] INFO Slf4jLogger [38533192eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-00-disable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.224 [vert.x-worker-thread-13] INFO Slf4jLogger [38533192eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-00-disable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 81, '8:ff7f6727e0dd30bc2b4043b231e20ae3', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.232 [vert.x-worker-thread-13] INFO Slf4jLogger [38533200eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-01-migrate-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.232 [vert.x-worker-thread-13] INFO Slf4jLogger [38533200eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-01-migrate-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 82, '8:cfb2ac1327988d48f90158adf663d686', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.249 [vert.x-worker-thread-13] INFO Slf4jLogger [38533217eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml::2020-06-12--13-02-enable-records-triggers::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.249 [vert.x-worker-thread-13] INFO Slf4jLogger [38533217eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--13-02-enable-records-triggers', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--13-00-migrate-records.xml', NOW(), 83, '8:ed62db6f0c1c8c248ee4dfb97a9d2bec', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.257 [vert.x-worker-thread-13] INFO Slf4jLogger [38533225eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml::2020-06-12--14-00-migrate-raw-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.257 [vert.x-worker-thread-13] INFO Slf4jLogger [38533225eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--14-00-migrate-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--14-00-migrate-raw-records.xml', NOW(), 84, '8:cd77fad04b7d0330cb44812901242d00', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.265 [vert.x-worker-thread-13] INFO Slf4jLogger [38533233eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-00-disable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.265 [vert.x-worker-thread-13] INFO Slf4jLogger [38533233eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-00-disable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 85, '8:7b0caf04011d3d3ae3b50d389c5fba87', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.273 [vert.x-worker-thread-13] INFO Slf4jLogger [38533241eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-01-migrate-marc-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.274 [vert.x-worker-thread-13] INFO Slf4jLogger [38533242eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-01-migrate-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 86, '8:421150a132d6ff94333231bb7abea153', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.281 [vert.x-worker-thread-13] INFO Slf4jLogger [38533249eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml::2020-06-12--15-02-enable-records-update-records-date-trigger::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.286 [vert.x-worker-thread-13] INFO Slf4jLogger [38533254eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--15-02-enable-records-update-records-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--15-00-migrate-marc-records.xml', NOW(), 87, '8:86aa66c4a6b27a2a21b753d10c740ed6', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.294 [vert.x-worker-thread-13] INFO Slf4jLogger [38533262eqId] Marking ChangeSet: liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml::2020-06-12--16-00-migrate-error-records::WilliamWelling ran despite precondition failure due to onFail='MARK_RAN': liquibase/tenant/changelog.xml : Table mdexp_test_tenant_mod_source_record_storage.records does not exist 12:08:55.295 [vert.x-worker-thread-13] INFO Slf4jLogger [38533263eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-12--16-00-migrate-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-12--16-00-migrate-error-records.xml', NOW(), 88, '8:aa9318bb642242d56d3700f161dca531', 'sql', '', 'MARK_RAN', NULL, NULL, '3.8.9', '3173334844') 12:08:55.296 [vert.x-worker-thread-13] INFO Slf4jLogger [38533264eqId] DROP TABLE IF EXISTS mdexp_test_tenant_mod_source_record_storage.error_records 12:08:55.297 [vert.x-worker-thread-13] INFO Slf4jLogger [38533265eqId] Custom SQL executed 12:08:55.297 [vert.x-worker-thread-13] INFO Slf4jLogger [38533265eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml::2020-06-13--12-00-drop-error-records::WilliamWelling ran successfully in 1ms 12:08:55.297 [vert.x-worker-thread-13] INFO Slf4jLogger [38533265eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--12-00-drop-error-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--12-00-drop-error-records.xml', NOW(), 89, '8:aaebffd29921199343e0ae1c8401f024', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.299 [vert.x-worker-thread-13] INFO Slf4jLogger [38533267eqId] DROP TABLE IF EXISTS mdexp_test_tenant_mod_source_record_storage.marc_records 12:08:55.299 [vert.x-worker-thread-13] INFO Slf4jLogger [38533267eqId] Custom SQL executed 12:08:55.299 [vert.x-worker-thread-13] INFO Slf4jLogger [38533267eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml::2020-06-13--13-00-drop-marc-records::WilliamWelling ran successfully in 0ms 12:08:55.300 [vert.x-worker-thread-13] INFO Slf4jLogger [38533268eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--13-00-drop-marc-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--13-00-drop-marc-records.xml', NOW(), 90, '8:3aa81b2c9163f127e2b7dc9279506b20', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.301 [vert.x-worker-thread-13] INFO Slf4jLogger [38533269eqId] DROP TABLE IF EXISTS mdexp_test_tenant_mod_source_record_storage.raw_records 12:08:55.301 [vert.x-worker-thread-13] INFO Slf4jLogger [38533269eqId] Custom SQL executed 12:08:55.301 [vert.x-worker-thread-13] INFO Slf4jLogger [38533269eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml::2020-06-13--14-00-drop-raw-records::WilliamWelling ran successfully in 0ms 12:08:55.302 [vert.x-worker-thread-13] INFO Slf4jLogger [38533270eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--14-00-drop-raw-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--14-00-drop-raw-records.xml', NOW(), 91, '8:77c2486638f4ab8a7e767c8cc3b552b5', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.303 [vert.x-worker-thread-13] INFO Slf4jLogger [38533271eqId] DROP TABLE IF EXISTS mdexp_test_tenant_mod_source_record_storage.records 12:08:55.303 [vert.x-worker-thread-13] INFO Slf4jLogger [38533271eqId] Custom SQL executed 12:08:55.304 [vert.x-worker-thread-13] INFO Slf4jLogger [38533272eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml::2020-06-13--15-00-drop-records::WilliamWelling ran successfully in 1ms 12:08:55.304 [vert.x-worker-thread-13] INFO Slf4jLogger [38533272eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--15-00-drop-records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--15-00-drop-records.xml', NOW(), 92, '8:cfaba70a35dbd88def40de71837a4a77', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.305 [vert.x-worker-thread-13] INFO Slf4jLogger [38533273eqId] DROP TABLE IF EXISTS mdexp_test_tenant_mod_source_record_storage.snapshots 12:08:55.306 [vert.x-worker-thread-13] INFO Slf4jLogger [38533274eqId] Custom SQL executed 12:08:55.306 [vert.x-worker-thread-13] INFO Slf4jLogger [38533274eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml::2020-06-13--16-00-drop-snapshots::WilliamWelling ran successfully in 1ms 12:08:55.306 [vert.x-worker-thread-13] INFO Slf4jLogger [38533274eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--16-00-drop-snapshots', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--16-00-drop-snapshots.xml', NOW(), 93, '8:aa83849aee36820f534aa0a3a803d91d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.307 [vert.x-worker-thread-13] INFO Slf4jLogger [38533275eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_record_by_external_id(externalId uuid, idFieldName text) 12:08:55.308 [vert.x-worker-thread-13] INFO Slf4jLogger [38533276eqId] Custom SQL executed 12:08:55.308 [vert.x-worker-thread-13] INFO Slf4jLogger [38533276eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-00-drop-get_record_by_external_id::WilliamWelling ran successfully in 1ms 12:08:55.308 [vert.x-worker-thread-13] INFO Slf4jLogger [38533276eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-00-drop-get_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 94, '8:3cba48b026192db16adf8cce8ec63985', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.310 [vert.x-worker-thread-13] INFO Slf4jLogger [38533278eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_record_by_matched_id(record_id uuid) 12:08:55.310 [vert.x-worker-thread-13] INFO Slf4jLogger [38533278eqId] Custom SQL executed 12:08:55.310 [vert.x-worker-thread-13] INFO Slf4jLogger [38533278eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-01-drop-get_record_by_matched_id::WilliamWelling ran successfully in 1ms 12:08:55.310 [vert.x-worker-thread-13] INFO Slf4jLogger [38533278eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-01-drop-get_record_by_matched_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 95, '8:7ce601fdddcc907be7ee58ededd17518', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.312 [vert.x-worker-thread-13] INFO Slf4jLogger [38533280eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_record_by_id(record_id uuid) 12:08:55.312 [vert.x-worker-thread-13] INFO Slf4jLogger [38533280eqId] Custom SQL executed 12:08:55.312 [vert.x-worker-thread-13] INFO Slf4jLogger [38533280eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-02-drop-get_source_record_by_id::WilliamWelling ran successfully in 0ms 12:08:55.312 [vert.x-worker-thread-13] INFO Slf4jLogger [38533280eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-02-drop-get_source_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 96, '8:17a074a99ec6a1f5b4a8fb79aa05478d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.314 [vert.x-worker-thread-13] INFO Slf4jLogger [38533282eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_record_by_external_id(externalId uuid, idFieldName text) 12:08:55.314 [vert.x-worker-thread-13] INFO Slf4jLogger [38533282eqId] Custom SQL executed 12:08:55.314 [vert.x-worker-thread-13] INFO Slf4jLogger [38533282eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-03-drop-get_source_record_by_external_id::WilliamWelling ran successfully in 0ms 12:08:55.315 [vert.x-worker-thread-13] INFO Slf4jLogger [38533283eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-03-drop-get_source_record_by_external_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 97, '8:a57d1fae4ce973afa8b40bd1780ac197', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.316 [vert.x-worker-thread-13] INFO Slf4jLogger [38533284eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_records(where_clause text, order_by text, limitVal int, offsetVal int, schema_name text) 12:08:55.316 [vert.x-worker-thread-13] INFO Slf4jLogger [38533284eqId] Custom SQL executed 12:08:55.317 [vert.x-worker-thread-13] INFO Slf4jLogger [38533285eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-04-drop-get_records::WilliamWelling ran successfully in 1ms 12:08:55.317 [vert.x-worker-thread-13] INFO Slf4jLogger [38533285eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-04-drop-get_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 98, '8:6f82d18e7f7e7dd5502688f2ee85bead', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.318 [vert.x-worker-thread-13] INFO Slf4jLogger [38533286eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_records(query_filter text, order_by text, limitVal int, offsetVal int, deleted_records text, schema_name text) 12:08:55.319 [vert.x-worker-thread-13] INFO Slf4jLogger [38533287eqId] Custom SQL executed 12:08:55.319 [vert.x-worker-thread-13] INFO Slf4jLogger [38533287eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-05-drop-get_source_records::WilliamWelling ran successfully in 1ms 12:08:55.319 [vert.x-worker-thread-13] INFO Slf4jLogger [38533287eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-05-drop-get_source_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 99, '8:c65413d513d64939f570aa48af4be0df', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.321 [vert.x-worker-thread-13] INFO Slf4jLogger [38533289eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_highest_generation(matchedId uuid, snapshotId uuid) 12:08:55.321 [vert.x-worker-thread-13] INFO Slf4jLogger [38533289eqId] Custom SQL executed 12:08:55.321 [vert.x-worker-thread-13] INFO Slf4jLogger [38533289eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-06-drop-get_highest_generation::WilliamWelling ran successfully in 1ms 12:08:55.321 [vert.x-worker-thread-13] INFO Slf4jLogger [38533289eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-06-drop-get_highest_generation', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 100, '8:39bae9278e8b4378d48fddee3e49a090', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.323 [vert.x-worker-thread-13] INFO Slf4jLogger [38533291eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.error_records_set_md() 12:08:55.323 [vert.x-worker-thread-13] INFO Slf4jLogger [38533291eqId] Custom SQL executed 12:08:55.323 [vert.x-worker-thread-13] INFO Slf4jLogger [38533291eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-07-drop-error_records_set_md::WilliamWelling ran successfully in 0ms 12:08:55.324 [vert.x-worker-thread-13] INFO Slf4jLogger [38533292eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-07-drop-error_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 101, '8:d3b1e6aafa90944620f44d8b9765efc7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.325 [vert.x-worker-thread-13] INFO Slf4jLogger [38533293eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.marc_records_set_md() 12:08:55.325 [vert.x-worker-thread-13] INFO Slf4jLogger [38533293eqId] Custom SQL executed 12:08:55.325 [vert.x-worker-thread-13] INFO Slf4jLogger [38533293eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-08-drop-marc_records_set_md::WilliamWelling ran successfully in 0ms 12:08:55.326 [vert.x-worker-thread-13] INFO Slf4jLogger [38533294eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-08-drop-marc_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 102, '8:080c134dedda36e429a37945166191cc', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.327 [vert.x-worker-thread-13] INFO Slf4jLogger [38533295eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.raw_records_set_md() 12:08:55.327 [vert.x-worker-thread-13] INFO Slf4jLogger [38533295eqId] Custom SQL executed 12:08:55.328 [vert.x-worker-thread-13] INFO Slf4jLogger [38533296eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-09-drop-raw_records_set_md::WilliamWelling ran successfully in 1ms 12:08:55.328 [vert.x-worker-thread-13] INFO Slf4jLogger [38533296eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-09-drop-raw_records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 103, '8:401c9979203013747e80d44247481bdd', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.329 [vert.x-worker-thread-13] INFO Slf4jLogger [38533297eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.records_set_md() 12:08:55.330 [vert.x-worker-thread-13] INFO Slf4jLogger [38533298eqId] Custom SQL executed 12:08:55.330 [vert.x-worker-thread-13] INFO Slf4jLogger [38533298eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-10-drop-records_set_md::WilliamWelling ran successfully in 1ms 12:08:55.330 [vert.x-worker-thread-13] INFO Slf4jLogger [38533298eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-10-drop-records_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 104, '8:03971108069a952852834a03aaa5adeb', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.331 [vert.x-worker-thread-13] INFO Slf4jLogger [38533299eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.set_error_records_md_json() 12:08:55.332 [vert.x-worker-thread-13] INFO Slf4jLogger [38533300eqId] Custom SQL executed 12:08:55.332 [vert.x-worker-thread-13] INFO Slf4jLogger [38533300eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-11-drop-set_error_records_md_json::WilliamWelling ran successfully in 1ms 12:08:55.332 [vert.x-worker-thread-13] INFO Slf4jLogger [38533300eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-11-drop-set_error_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 105, '8:90512867e0ee9fa41818dcde45fda62d', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.333 [vert.x-worker-thread-13] INFO Slf4jLogger [38533301eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.set_id_in_jsonb() 12:08:55.334 [vert.x-worker-thread-13] INFO Slf4jLogger [38533302eqId] Custom SQL executed 12:08:55.335 [vert.x-worker-thread-13] INFO Slf4jLogger [38533303eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-12-drop-set_id_in_jsonb::WilliamWelling ran successfully in 2ms 12:08:55.335 [vert.x-worker-thread-13] INFO Slf4jLogger [38533303eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-12-drop-set_id_in_jsonb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 106, '8:ce537f637560141b0a6f3d1511e3b5b6', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.337 [vert.x-worker-thread-13] INFO Slf4jLogger [38533305eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.set_marc_records_md_json() 12:08:55.337 [vert.x-worker-thread-13] INFO Slf4jLogger [38533305eqId] Custom SQL executed 12:08:55.337 [vert.x-worker-thread-13] INFO Slf4jLogger [38533305eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-13-drop-set_marc_records_md_json::WilliamWelling ran successfully in 1ms 12:08:55.337 [vert.x-worker-thread-13] INFO Slf4jLogger [38533305eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-13-drop-set_marc_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 107, '8:3f88cdd05215fdd74081fb0dad62784a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.339 [vert.x-worker-thread-13] INFO Slf4jLogger [38533307eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.set_raw_records_md_json() 12:08:55.339 [vert.x-worker-thread-13] INFO Slf4jLogger [38533307eqId] Custom SQL executed 12:08:55.339 [vert.x-worker-thread-13] INFO Slf4jLogger [38533307eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-14-drop-set_raw_records_md_json::WilliamWelling ran successfully in 0ms 12:08:55.340 [vert.x-worker-thread-13] INFO Slf4jLogger [38533308eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-14-drop-set_raw_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 108, '8:9c1298d40cc18110b290d98170c23b2a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.341 [vert.x-worker-thread-13] INFO Slf4jLogger [38533309eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.set_records_md_json() 12:08:55.341 [vert.x-worker-thread-13] INFO Slf4jLogger [38533309eqId] Custom SQL executed 12:08:55.342 [vert.x-worker-thread-13] INFO Slf4jLogger [38533310eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-15-drop-set_records_md_json::WilliamWelling ran successfully in 1ms 12:08:55.342 [vert.x-worker-thread-13] INFO Slf4jLogger [38533310eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-15-drop-set_records_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 109, '8:2bb13fb03bcea5a8b89d67c52929e2c3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.343 [vert.x-worker-thread-13] INFO Slf4jLogger [38533311eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.set_snapshots_md_json() 12:08:55.344 [vert.x-worker-thread-13] INFO Slf4jLogger [38533312eqId] Custom SQL executed 12:08:55.344 [vert.x-worker-thread-13] INFO Slf4jLogger [38533312eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-16-drop-set_snapshots_md_json::WilliamWelling ran successfully in 1ms 12:08:55.344 [vert.x-worker-thread-13] INFO Slf4jLogger [38533312eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-16-drop-set_snapshots_md_json', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 110, '8:6b697ee437b3a986c6439262535921e3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.345 [vert.x-worker-thread-13] INFO Slf4jLogger [38533313eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.snapshots_set_md() 12:08:55.346 [vert.x-worker-thread-13] INFO Slf4jLogger [38533314eqId] Custom SQL executed 12:08:55.346 [vert.x-worker-thread-13] INFO Slf4jLogger [38533314eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-17-drop-snapshots_set_md::WilliamWelling ran successfully in 1ms 12:08:55.346 [vert.x-worker-thread-13] INFO Slf4jLogger [38533314eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-17-drop-snapshots_set_md', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 111, '8:d5d911fe1e0619d85aa9068e16a14bfc', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.347 [vert.x-worker-thread-13] INFO Slf4jLogger [38533315eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.update_records_references() 12:08:55.348 [vert.x-worker-thread-13] INFO Slf4jLogger [38533316eqId] Custom SQL executed 12:08:55.348 [vert.x-worker-thread-13] INFO Slf4jLogger [38533316eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-18-drop-update_records_references::WilliamWelling ran successfully in 1ms 12:08:55.348 [vert.x-worker-thread-13] INFO Slf4jLogger [38533316eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-18-drop-update_records_references', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 112, '8:947ed46d06489c53ab946eb0a0f9f849', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.349 [vert.x-worker-thread-13] INFO Slf4jLogger [38533317eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) 12:08:55.350 [vert.x-worker-thread-13] INFO Slf4jLogger [38533318eqId] Custom SQL executed 12:08:55.351 [vert.x-worker-thread-13] INFO Slf4jLogger [38533319eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-19-drop-get_source_marc_record_by_id::WilliamWelling ran successfully in 2ms 12:08:55.351 [vert.x-worker-thread-13] INFO Slf4jLogger [38533319eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-19-drop-get_source_marc_record_by_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 113, '8:a230a5db367f77c1a99b8efade8e9e78', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.352 [vert.x-worker-thread-13] INFO Slf4jLogger [38533320eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) 12:08:55.352 [vert.x-worker-thread-13] INFO Slf4jLogger [38533320eqId] Custom SQL executed 12:08:55.353 [vert.x-worker-thread-13] INFO Slf4jLogger [38533321eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-20-drop-get_source_marc_record_by_id_alt::WilliamWelling ran successfully in 1ms 12:08:55.354 [vert.x-worker-thread-13] INFO Slf4jLogger [38533322eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-20-drop-get_source_marc_record_by_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 114, '8:c3ff92c245f80e55c872fe004d27e486', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.355 [vert.x-worker-thread-13] INFO Slf4jLogger [38533323eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) 12:08:55.356 [vert.x-worker-thread-13] INFO Slf4jLogger [38533324eqId] Custom SQL executed 12:08:55.356 [vert.x-worker-thread-13] INFO Slf4jLogger [38533324eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-21-drop-get_source_marc_record_by_instance_id::WilliamWelling ran successfully in 1ms 12:08:55.357 [vert.x-worker-thread-13] INFO Slf4jLogger [38533325eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-21-drop-get_source_marc_record_by_instance_id', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 115, '8:86406af2c52beb12293f1a5f1d3135c7', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.358 [vert.x-worker-thread-13] INFO Slf4jLogger [38533326eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) 12:08:55.358 [vert.x-worker-thread-13] INFO Slf4jLogger [38533326eqId] Custom SQL executed 12:08:55.359 [vert.x-worker-thread-13] INFO Slf4jLogger [38533327eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt::WilliamWelling ran successfully in 1ms 12:08:55.359 [vert.x-worker-thread-13] INFO Slf4jLogger [38533327eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-22-drop-get_source_marc_record_by_instance_id_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 116, '8:7d65f72b55a39334b0884896c9ed7ad3', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.361 [vert.x-worker-thread-13] INFO Slf4jLogger [38533329eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) 12:08:55.361 [vert.x-worker-thread-13] INFO Slf4jLogger [38533329eqId] Custom SQL executed 12:08:55.362 [vert.x-worker-thread-13] INFO Slf4jLogger [38533330eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-23-drop-get_all_source_marc_records::WilliamWelling ran successfully in 2ms 12:08:55.362 [vert.x-worker-thread-13] INFO Slf4jLogger [38533330eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-23-drop-get_all_source_marc_records', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 117, '8:2abf707a4e20c6e1e25f9be2a1c01d61', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.364 [vert.x-worker-thread-13] INFO Slf4jLogger [38533332eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) 12:08:55.364 [vert.x-worker-thread-13] INFO Slf4jLogger [38533332eqId] Custom SQL executed 12:08:55.365 [vert.x-worker-thread-13] INFO Slf4jLogger [38533333eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-24-drop-get_all_source_marc_records_alt::WilliamWelling ran successfully in 2ms 12:08:55.365 [vert.x-worker-thread-13] INFO Slf4jLogger [38533333eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-24-drop-get_all_source_marc_records_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 118, '8:336b30b7cd0bd237536f0f2414d09c07', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.366 [vert.x-worker-thread-13] INFO Slf4jLogger [38533334eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_marc_records_for_period(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 12:08:55.367 [vert.x-worker-thread-13] INFO Slf4jLogger [38533335eqId] Custom SQL executed 12:08:55.368 [vert.x-worker-thread-13] INFO Slf4jLogger [38533336eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-25-drop-get_source_marc_records_for_period::WilliamWelling ran successfully in 2ms 12:08:55.368 [vert.x-worker-thread-13] INFO Slf4jLogger [38533336eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-25-drop-get_source_marc_records_for_period', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 119, '8:0845e6e79b633be8933a632eb17e3f10', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.369 [vert.x-worker-thread-13] INFO Slf4jLogger [38533337eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_source_marc_records_for_period_alt(p_from timestamptz, p_till timestamptz, p_offset integer, p_limit integer) 12:08:55.370 [vert.x-worker-thread-13] INFO Slf4jLogger [38533338eqId] Custom SQL executed 12:08:55.370 [vert.x-worker-thread-13] INFO Slf4jLogger [38533338eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-26-drop-get_source_marc_records_for_period_alt::WilliamWelling ran successfully in 1ms 12:08:55.371 [vert.x-worker-thread-13] INFO Slf4jLogger [38533339eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-26-drop-get_source_marc_records_for_period_alt', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 120, '8:3ee62db0153965441341651a3101ae93', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.372 [vert.x-worker-thread-13] INFO Slf4jLogger [38533340eqId] DROP FUNCTION IF EXISTS mdexp_test_tenant_mod_source_record_storage.get_highest_generation_lb(p_matchedid uuid, p_snapshotid uuid) 12:08:55.372 [vert.x-worker-thread-13] INFO Slf4jLogger [38533340eqId] Custom SQL executed 12:08:55.373 [vert.x-worker-thread-13] INFO Slf4jLogger [38533341eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml::2020-06-13--17-27-drop-get_highest_generation_lb::WilliamWelling ran successfully in 1ms 12:08:55.373 [vert.x-worker-thread-13] INFO Slf4jLogger [38533341eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-13--17-27-drop-get_highest_generation_lb', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.2/2020-06-13--17-00-drop-unused-functions.xml', NOW(), 121, '8:27018db31375bccba885065ff8ef7229', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.374 [vert.x-worker-thread-13] INFO Slf4jLogger [38533342eqId] DELETE FROM mdexp_test_tenant_mod_source_record_storage.records_lb WHERE id IN ('4c0ff739-3f4d-4670-a693-84dd48e31c53', '8452daf9-c130-4955-99ce-1c397a218900', 'ec53a386-9616-428b-92a9-e1f07756ea1f', '0f0fe962-d502-4a4f-9e74-7732bec94ee8', '009286d6-f89e-4881-9562-11158f02664a', '8f462542-387c-4f06-a01b-50829c7c7b13', 'e567b8e2-a45b-45f1-a85a-6b6312bdf4d8', 'a2d6893e-c6b3-4c95-bec5-8b997aa1776d', '8fb19e31-0920-49d7-9438-b573c292b1a6', '7293f287-bb51-41f5-805d-00ff18a1f791', 'be1b25ae-4a9d-4077-93e6-7f8e59efd609') 12:08:55.375 [vert.x-worker-thread-13] INFO Slf4jLogger [38533343eqId] Data deleted from records_lb 12:08:55.375 [vert.x-worker-thread-13] INFO Slf4jLogger [38533343eqId] ChangeSet liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml::2020-06-25--12-00-delete-sample-data::KaterynaSenchenko ran successfully in 1ms 12:08:55.376 [vert.x-worker-thread-13] INFO Slf4jLogger [38533344eqId] INSERT INTO mdexp_test_tenant_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-06-25--12-00-delete-sample-data', 'KaterynaSenchenko', 'liquibase/tenant/scripts/v-0.0.2/2020-06-25--12-00-delete-sample-data.xml', NOW(), 122, '8:0b29e244f3a182730dabf10065bbe715', 'delete tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173334844') 12:08:55.378 [vert.x-worker-thread-13] INFO Slf4jLogger [38533346eqId] Successfully released change log lock 12:08:55.378 [vert.x-worker-thread-13] INFO LiquibaseUtil [38533346eqId] Schema is initialized for tenant mdexp_test_tenant 12:08:55.378 [vert.x-eventloop-thread-0] INFO ModTenantAPI [38533346eqId] Module is being deployed in production mode 12:08:55.378 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [38533346eqId] Reading MessagingDescriptor.json 12:08:55.382 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [38533350eqId] Registering events for publishers 12:08:55.399 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [38533367eqId] Registering module's publishers 12:08:55.452 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [38533420eqId] Module's publishers were successfully registered 12:08:55.452 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [38533420eqId] Registering module's subscribers 12:08:55.540 [vert.x-eventloop-thread-0] INFO PubSubClientUtils [38533508eqId] Module's subscribers were successfully registered 12:08:55.540 [vert.x-eventloop-thread-0] INFO ModTenantAPI [38533508eqId] Module was successfully registered as publisher/subscriber in mod-pubsub 12:08:55.540 [vert.x-eventloop-thread-0] INFO LogUtil [38533508eqId] org.folio.rest.RestVerticle start invoking postTenant 12:08:55.541 [vert.x-eventloop-thread-0] INFO LogUtil [38533509eqId] 10.36.1.197:46080 POST /_/tenant null HTTP_1_1 201 3 1795 tid=mdexp_test_tenant Created 12:13:58.020 [vert.x-eventloop-thread-0] INFO TenantAPI [38835988eqId] sending... postTenant for test_invoices58 12:13:58.046 [vert.x-eventloop-thread-0] INFO PostgresClient [38836014eqId] Executing multiple statements with id -746916020 12:13:58.050 [vert.x-worker-thread-14] INFO PostgresClient [38836018eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 12:13:58.051 [vert.x-worker-thread-14] INFO PostgresClient [38836019eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public 12:13:58.051 [vert.x-worker-thread-14] INFO PostgresClient [38836019eqId] trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 12:13:58.051 [vert.x-worker-thread-14] INFO PostgresClient [38836019eqId] Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public 12:13:58.051 [vert.x-worker-thread-14] INFO PostgresClient [38836019eqId] trying to execute: CREATE ROLE test_invoices58_mod_source_record_storage PASSWORD 'test_invoices58' NOSUPERUSER NOCREATEDB INHERIT LOGIN 12:13:58.052 [vert.x-worker-thread-14] INFO PostgresClient [38836020eqId] Successfully executed: CREATE ROLE test_invoices58_mod_source_record_storage PASSWORD 'test_invoices58' NOSUPERUSER NOCREATEDB INHERIT LOGIN 12:13:58.052 [vert.x-worker-thread-14] INFO PostgresClient [38836020eqId] trying to execute: GRANT test_invoices58_mod_source_record_storage TO CURRENT_USER 12:13:58.052 [vert.x-worker-thread-14] INFO PostgresClient [38836020eqId] Successfully executed: GRANT test_invoices58_mod_source_record_storage TO CURRENT_USER 12:13:58.052 [vert.x-worker-thread-14] INFO PostgresClient [38836020eqId] trying to execute: CREATE SCHEMA test_invoices58_mod_source_record_storage AUTHORIZATION test_invoices58_mod_source_record_storage 12:13:58.053 [vert.x-worker-thread-14] INFO PostgresClient [38836021eqId] Successfully executed: CREATE SCHEMA test_invoices58_mod_source_record_storage AUTHORIZATION test_invoices58_mod_source_record_storage 12:13:58.053 [vert.x-worker-thread-14] INFO PostgresClient [38836021eqId] trying to execute: ALTER ROLE test_invoices58_mod_source_record_storage SET search_path = "$user" 12:13:58.053 [vert.x-worker-thread-14] INFO PostgresClient [38836021eqId] Successfully executed: ALTER ROLE test_invoices58_mod_source_record_storage SET search_path = "$user" 12:13:58.053 [vert.x-worker-thread-14] INFO PostgresClient [38836021eqId] trying to execute: SET search_path TO test_invoices58_mod_source_record_storage 12:13:58.053 [vert.x-worker-thread-14] INFO PostgresClient [38836021eqId] Successfully executed: SET search_path TO test_invoices58_mod_source_record_storage 12:13:58.054 [vert.x-worker-thread-14] INFO PostgresClient [38836022eqId] trying to execute: CREATE TABLE IF NOT EXISTS test_invoices58_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 12:13:58.061 [vert.x-worker-thread-14] INFO PostgresClient [38836029eqId] Successfully executed: CREATE TABLE IF NOT EXISTS test_invoices58_mod_source_record_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) 12:13:58.061 [vert.x-worker-thread-14] INFO PostgresClient [38836029eqId] trying to execute: insert into test_invoices58_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 12:13:58.062 [vert.x-worker-thread-14] INFO PostgresClient [38836030eqId] Successfully executed: insert into test_invoices58_mod_source_record_storage.rmb_internal (jsonb) values ('{"rmbVersion": "${raml", "moduleVersion": "mod-source-record-storage-4.1.0-SNAPSHOT.174"}'::jsonb) 12:13:58.062 [vert.x-worker-thread-14] INFO PostgresClient [38836030eqId] trying to execute: CREATE TABLE IF NOT EXISTS test_invoices58_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 12:13:58.068 [vert.x-worker-thread-14] INFO PostgresClient [38836036eqId] Successfully executed: CREATE TABLE IF NOT EXISTS test_invoices58_mod_source_record_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) 12:13:58.068 [vert.x-worker-thread-14] INFO PostgresClient [38836036eqId] trying to execute: UPDATE test_invoices58_mod_source_record_storage.rmb_internal_index SET remove = TRUE 12:13:58.068 [vert.x-worker-thread-14] INFO PostgresClient [38836036eqId] Successfully executed: UPDATE test_invoices58_mod_source_record_storage.rmb_internal_index SET remove = TRUE 12:13:58.068 [vert.x-worker-thread-14] INFO PostgresClient [38836036eqId] trying to execute: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 12:13:58.071 [vert.x-worker-thread-14] INFO PostgresClient [38836039eqId] Successfully executed: CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ) 12:13:58.071 [vert.x-worker-thread-14] INFO PostgresClient [38836039eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:13:58.073 [vert.x-worker-thread-14] INFO PostgresClient [38836041eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:13:58.073 [vert.x-worker-thread-14] INFO PostgresClient [38836041eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:13:58.074 [vert.x-worker-thread-14] INFO PostgresClient [38836042eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql 12:13:58.074 [vert.x-worker-thread-14] INFO PostgresClient [38836042eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0'; 12:13:58.075 [vert.x-worker-thread-14] INFO PostgresClient [38836043eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' 12:13:58.075 [vert.x-worker-thread-14] INFO PostgresClient [38836043eqId] trying to execute: CREATE AGGREGATE test_invoices58_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = test_invoices58_mod_source_record_storage.uuid_larger, combinefunc = test_invoices58_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 12:13:58.075 [vert.x-worker-thread-14] INFO PostgresClient [38836043eqId] Successfully executed: CREATE AGGREGATE test_invoices58_mod_source_record_storage.max(uuid) ( stype = uuid, sfunc = test_invoices58_mod_source_record_storage.uuid_larger, combinefunc = test_invoices58_mod_source_record_storage.uuid_larger, parallel = safe, sortop = operator (>) ) 12:13:58.075 [vert.x-worker-thread-14] INFO PostgresClient [38836043eqId] trying to execute: CREATE AGGREGATE test_invoices58_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = test_invoices58_mod_source_record_storage.uuid_smaller, combinefunc = test_invoices58_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 12:13:58.076 [vert.x-worker-thread-14] INFO PostgresClient [38836044eqId] Successfully executed: CREATE AGGREGATE test_invoices58_mod_source_record_storage.min(uuid) ( stype = uuid, sfunc = test_invoices58_mod_source_record_storage.uuid_smaller, combinefunc = test_invoices58_mod_source_record_storage.uuid_smaller, parallel = safe, sortop = operator (<) ) 12:13:58.076 [vert.x-worker-thread-14] INFO PostgresClient [38836044eqId] trying to execute: DROP FUNCTION IF EXISTS test_invoices58_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 12:13:58.076 [vert.x-worker-thread-14] INFO PostgresClient [38836044eqId] Successfully executed: DROP FUNCTION IF EXISTS test_invoices58_mod_source_record_storage.count_estimate_smart2(bigint,bigint,text) 12:13:58.076 [vert.x-worker-thread-14] INFO PostgresClient [38836044eqId] trying to execute: CREATE FUNCTION test_invoices58_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT 12:13:58.077 [vert.x-worker-thread-14] INFO PostgresClient [38836045eqId] Successfully executed: CREATE FUNCTION test_invoices58_mod_source_record_storage.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END 12:13:58.077 [vert.x-worker-thread-14] INFO PostgresClient [38836045eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = test_invoices58_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT 12:13:58.078 [vert.x-worker-thread-14] INFO PostgresClient [38836046eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = test_invoices58_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF rows 12:13:58.078 [vert.x-worker-thread-14] INFO PostgresClient [38836046eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_invoices58_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; IF est_count < 1000 THEN RETURN 1000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT 12:13:58.079 [vert.x-worker-thread-14] INFO PostgresClient [38836047eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_invoices58_mod_source_record_storage.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; 12:13:58.079 [vert.x-worker-thread-14] INFO PostgresClient [38836047eqId] trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || E'\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || E'\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || E'\u0330\u0 12:13:58.080 [vert.x-worker-thread-14] INFO PostgresClient [38836048eqId] Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE 12:13:58.080 [vert.x-worker-thread-14] INFO PostgresClient [38836048eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.080 [vert.x-worker-thread-14] INFO PostgresClient [38836048eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, 12:13:58.080 [vert.x-worker-thread-14] INFO PostgresClient [38836048eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_invoices58_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.081 [vert.x-worker-thread-14] INFO PostgresClient [38836049eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_invoices58_mod_source_record_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.081 [vert.x-worker-thread-14] INFO PostgresClient [38836049eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_invoices58_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.081 [vert.x-worker-thread-14] INFO PostgresClient [38836049eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_invoices58_mod_source_record_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.082 [vert.x-worker-thread-14] INFO PostgresClient [38836050eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.082 [vert.x-worker-thread-14] INFO PostgresClient [38836050eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' 12:13:58.082 [vert.x-worker-thread-14] INFO PostgresClient [38836050eqId] trying to execute: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 12:13:58.083 [vert.x-worker-thread-14] INFO PostgresClient [38836051eqId] Successfully executed: CREATE OR REPLACE FUNCTION test_invoices58_mod_source_record_storage.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' 12:13:58.083 [vert.x-worker-thread-14] INFO PostgresClient [38836051eqId] trying to execute: create or replace function test_invoices58_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 12:13:58.083 [vert.x-worker-thread-14] INFO PostgresClient [38836051eqId] Successfully executed: create or replace function test_invoices58_mod_source_record_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT 12:13:58.083 [vert.x-worker-thread-14] INFO PostgresClient [38836051eqId] trying to execute: create or replace function test_invoices58_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.084 [vert.x-worker-thread-14] INFO PostgresClient [38836052eqId] Successfully executed: create or replace function test_invoices58_mod_source_record_storage.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.084 [vert.x-worker-thread-14] INFO PostgresClient [38836052eqId] trying to execute: create or replace function test_invoices58_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.084 [vert.x-worker-thread-14] INFO PostgresClient [38836052eqId] Successfully executed: create or replace function test_invoices58_mod_source_record_storage.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.084 [vert.x-worker-thread-14] INFO PostgresClient [38836052eqId] trying to execute: create or replace function test_invoices58_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.085 [vert.x-worker-thread-14] INFO PostgresClient [38836053eqId] Successfully executed: create or replace function test_invoices58_mod_source_record_storage.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.085 [vert.x-worker-thread-14] INFO PostgresClient [38836053eqId] trying to execute: create or replace function test_invoices58_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.085 [vert.x-worker-thread-14] INFO PostgresClient [38836053eqId] Successfully executed: create or replace function test_invoices58_mod_source_record_storage.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT 12:13:58.085 [vert.x-worker-thread-14] INFO PostgresClient [38836053eqId] trying to execute: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM test_invoices58_mod_source_record_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_invoices58_mod_source_record_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_invoices58_mod_source_record_storage.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER INDEX I 12:13:58.086 [vert.x-worker-thread-14] INFO PostgresClient [38836054eqId] Successfully executed: CREATE OR REPLACE FUNCTION rmb_internal_index( atable text, aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN -- use case insensitive %s, not case sensitive %I -- no SQL injection because the names are hard-coded in schema.json EXECUTE format('DROP INDEX IF EX 12:13:58.086 [vert.x-worker-thread-14] INFO PostgresClient [38836054eqId] trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_invoices58_mod_source_record_storage 12:13:58.087 [vert.x-worker-thread-14] INFO PostgresClient [38836055eqId] Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_invoices58_mod_source_record_storage 12:13:58.087 [vert.x-worker-thread-14] INFO PostgresClient [38836055eqId] trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC 12:13:58.087 [vert.x-worker-thread-14] INFO PostgresClient [38836055eqId] Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC 12:13:58.087 [vert.x-worker-thread-14] INFO PostgresClient [38836055eqId] trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_invoices58_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 12:13:58.088 [vert.x-worker-thread-14] INFO PostgresClient [38836056eqId] Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_invoices58_mod_source_record_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$ 12:13:58.088 [vert.x-worker-thread-14] INFO PostgresClient [38836056eqId] trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_invoices58_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'test_invoices58_mod_source_record_storage' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic\.(f_unaccent|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'test_invoices58_mod_source_record_storage.\1', 'g'); IF newindexdef <> i.indexdef THEN EXECUTE 'DROP INDEX ' || i.indexname; EXECUTE newindexdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING i.tablename; END IF; END LOOP; END $$ 12:13:58.088 [vert.x-worker-thread-14] INFO PostgresClient [38836056eqId] Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_invoices58_mod_source_record_storage.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'test_ 12:13:58.089 [vert.x-worker-thread-14] INFO PostgresClient [38836057eqId] trying to execute: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 12:13:58.089 [vert.x-worker-thread-14] INFO PostgresClient [38836057eqId] Successfully executed: DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$ 12:13:58.089 [vert.x-worker-thread-14] INFO PostgresClient [38836057eqId] trying to execute: TRUNCATE rmb_internal_analyze 12:13:58.092 [vert.x-worker-thread-14] INFO PostgresClient [38836060eqId] Successfully executed: TRUNCATE rmb_internal_analyze 12:13:58.092 [vert.x-worker-thread-14] INFO PostgresClient [38836060eqId] trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_invoices58_mod_source_record_storage TO test_invoices58_mod_source_record_storage 12:13:58.095 [vert.x-worker-thread-14] INFO PostgresClient [38836063eqId] Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_invoices58_mod_source_record_storage TO test_invoices58_mod_source_record_storage 12:13:58.095 [vert.x-worker-thread-14] INFO PostgresClient [38836063eqId] trying to execute: UPDATE test_invoices58_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 12:13:58.096 [vert.x-worker-thread-14] INFO PostgresClient [38836064eqId] Successfully executed: UPDATE test_invoices58_mod_source_record_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '${raml', 'moduleVersion', 'mod-source-record-storage-4.1.0-SNAPSHOT.174', 'schemaJson', $mainftl${} $mainftl$) 12:13:58.097 [vert.x-worker-thread-14] INFO PostgresClient [38836065eqId] Successfully committed: -746916020 12:13:58.098 [vert.x-worker-thread-15] INFO LiquibaseUtil [38836066eqId] Initializing schema test_invoices58_mod_source_record_storage for tenant test_invoices58 12:13:58.098 [vert.x-worker-thread-15] INFO leConnectionProvider [38836066eqId] Attempting to get connection for test_invoices58 12:13:58.098 [vert.x-worker-thread-15] INFO PostgresClient [38836066eqId] DB config read from environment variables 12:13:58.099 [vert.x-worker-thread-15] INFO PostgresClient [38836067eqId] Using schema: test_invoices58 12:13:58.099 [vert.x-worker-thread-15] INFO PostgresClient [38836067eqId] postgreSQLClientConfig = {"maxPoolSize":5,"charset":"UTF-8","port":5432,"host":"10.36.1.197","queryTimeout":60000,"username":"test_invoices58_mod_source_record_storage","database":"okapi_modules","password":"..."} 12:13:58.104 [vert.x-worker-thread-15] INFO Slf4jLogger [38836072eqId] SELECT COUNT(*) FROM test_invoices58_mod_source_record_storage.databasechangeloglock 12:13:58.105 [vert.x-worker-thread-15] INFO Slf4jLogger [38836073eqId] CREATE TABLE test_invoices58_mod_source_record_storage.databasechangeloglock (ID INTEGER NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP WITHOUT TIME ZONE, LOCKEDBY VARCHAR(255), CONSTRAINT DATABASECHANGELOGLOCK_PKEY PRIMARY KEY (ID)) 12:13:58.110 [vert.x-worker-thread-15] INFO Slf4jLogger [38836078eqId] SELECT COUNT(*) FROM test_invoices58_mod_source_record_storage.databasechangeloglock 12:13:58.110 [vert.x-worker-thread-15] INFO Slf4jLogger [38836078eqId] DELETE FROM test_invoices58_mod_source_record_storage.databasechangeloglock 12:13:58.110 [vert.x-worker-thread-15] INFO Slf4jLogger [38836078eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangeloglock (ID, LOCKED) VALUES (1, FALSE) 12:13:58.112 [vert.x-worker-thread-15] INFO Slf4jLogger [38836080eqId] SELECT LOCKED FROM test_invoices58_mod_source_record_storage.databasechangeloglock WHERE ID=1 12:13:58.113 [vert.x-worker-thread-15] INFO Slf4jLogger [38836081eqId] Successfully acquired change log lock 12:13:59.107 [vert.x-worker-thread-15] INFO Slf4jLogger [38837075eqId] Creating database history table with name: test_invoices58_mod_source_record_storage.databasechangelog 12:13:59.107 [vert.x-worker-thread-15] INFO Slf4jLogger [38837075eqId] CREATE TABLE test_invoices58_mod_source_record_storage.databasechangelog (ID VARCHAR(255) NOT NULL, AUTHOR VARCHAR(255) NOT NULL, FILENAME VARCHAR(255) NOT NULL, DATEEXECUTED TIMESTAMP WITHOUT TIME ZONE NOT NULL, ORDEREXECUTED INTEGER NOT NULL, EXECTYPE VARCHAR(10) NOT NULL, MD5SUM VARCHAR(35), DESCRIPTION VARCHAR(255), COMMENTS VARCHAR(255), TAG VARCHAR(255), LIQUIBASE VARCHAR(20), CONTEXTS VARCHAR(255), LABELS VARCHAR(255), DEPLOYMENT_ID VARCHAR(10)) 12:13:59.113 [vert.x-worker-thread-15] INFO Slf4jLogger [38837081eqId] SELECT COUNT(*) FROM test_invoices58_mod_source_record_storage.databasechangelog 12:13:59.114 [vert.x-worker-thread-15] INFO Slf4jLogger [38837082eqId] Reading from test_invoices58_mod_source_record_storage.databasechangelog 12:13:59.114 [vert.x-worker-thread-15] INFO Slf4jLogger [38837082eqId] SELECT * FROM test_invoices58_mod_source_record_storage.databasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC 12:13:59.115 [vert.x-worker-thread-15] INFO Slf4jLogger [38837083eqId] SELECT COUNT(*) FROM test_invoices58_mod_source_record_storage.databasechangeloglock 12:13:59.140 [vert.x-worker-thread-15] INFO Slf4jLogger [38837108eqId] CREATE TYPE test_invoices58_mod_source_record_storage.job_execution_status AS ENUM ( 'PARENT', 'NEW', 'FILE_UPLOADED', 'PARSING_IN_PROGRESS', 'PARSING_FINISHED', 'PROCESSING_IN_PROGRESS', 'PROCESSING_FINISHED', 'COMMIT_IN_PROGRESS', 'COMMITTED', 'ERROR', 'DISCARDED' ) 12:13:59.141 [vert.x-worker-thread-15] INFO Slf4jLogger [38837109eqId] Custom SQL executed 12:13:59.142 [vert.x-worker-thread-15] INFO Slf4jLogger [38837110eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-00-create-job-execution-status::WilliamWelling ran successfully in 2ms 12:13:59.142 [vert.x-worker-thread-15] INFO Slf4jLogger [38837110eqId] SELECT MAX(ORDEREXECUTED) FROM test_invoices58_mod_source_record_storage.databasechangelog 12:13:59.143 [vert.x-worker-thread-15] INFO Slf4jLogger [38837111eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-00-create-job-execution-status', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 1, '8:bb5050c557f6eafdc368ed816896c276', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.145 [vert.x-worker-thread-15] INFO Slf4jLogger [38837113eqId] CREATE TABLE test_invoices58_mod_source_record_storage.snapshots_lb (id UUID NOT NULL, status TEST_INVOICES58_MOD_SOURCE_RECORD_STORAGE.JOB_EXECUTION_STATUS NOT NULL, processing_started_date TIMESTAMP WITH TIME ZONE, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT SNAPSHOTS_LB_PKEY PRIMARY KEY (id)) 12:13:59.148 [vert.x-worker-thread-15] INFO Slf4jLogger [38837116eqId] Table snapshots_lb created 12:13:59.149 [vert.x-worker-thread-15] INFO Slf4jLogger [38837117eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-01-create-snapshots-table::WilliamWelling ran successfully in 5ms 12:13:59.149 [vert.x-worker-thread-15] INFO Slf4jLogger [38837117eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-01-create-snapshots-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 2, '8:322ec510b0ba489e1788a7b15f345207', 'createTable tableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.151 [vert.x-worker-thread-15] INFO Slf4jLogger [38837119eqId] create function test_invoices58_mod_source_record_storage.update_snapshots_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 12:13:59.152 [vert.x-worker-thread-15] INFO Slf4jLogger [38837120eqId] Stored procedure created 12:13:59.153 [vert.x-worker-thread-15] INFO Slf4jLogger [38837121eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-02-create-update-snapshots-set-updated-date-function::WilliamWelling ran successfully in 2ms 12:13:59.153 [vert.x-worker-thread-15] INFO Slf4jLogger [38837121eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-02-create-update-snapshots-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 3, '8:adec24021cfbec0aced957eda82c45cf', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.154 [vert.x-worker-thread-15] INFO Slf4jLogger [38837122eqId] create trigger update_snapshots_set_updated_date before insert or update on test_invoices58_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices58_mod_source_record_storage.update_snapshots_set_updated_date() 12:13:59.155 [vert.x-worker-thread-15] INFO Slf4jLogger [38837123eqId] Custom SQL executed 12:13:59.156 [vert.x-worker-thread-15] INFO Slf4jLogger [38837124eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger::WilliamWelling ran successfully in 2ms 12:13:59.156 [vert.x-worker-thread-15] INFO Slf4jLogger [38837124eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-03-create-update-snapshots-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 4, '8:d1b6ce6add6a0f3ef5b75ddc68eb581a', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.157 [vert.x-worker-thread-15] INFO Slf4jLogger [38837125eqId] create function test_invoices58_mod_source_record_storage.insert_snapshots_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 12:13:59.158 [vert.x-worker-thread-15] INFO Slf4jLogger [38837126eqId] Stored procedure created 12:13:59.159 [vert.x-worker-thread-15] INFO Slf4jLogger [38837127eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-04-create-insert-snapshots-set-created-date-function::WilliamWelling ran successfully in 2ms 12:13:59.159 [vert.x-worker-thread-15] INFO Slf4jLogger [38837127eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-04-create-insert-snapshots-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 5, '8:8fe34ee2cd5545539d8b43abe732065e', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.160 [vert.x-worker-thread-15] INFO Slf4jLogger [38837128eqId] create trigger insert_snapshots_set_created_date before insert or update on test_invoices58_mod_source_record_storage.snapshots_lb for each row execute procedure test_invoices58_mod_source_record_storage.insert_snapshots_set_created_date() 12:13:59.161 [vert.x-worker-thread-15] INFO Slf4jLogger [38837129eqId] Custom SQL executed 12:13:59.161 [vert.x-worker-thread-15] INFO Slf4jLogger [38837129eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml::2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger::WilliamWelling ran successfully in 1ms 12:13:59.162 [vert.x-worker-thread-15] INFO Slf4jLogger [38837130eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--12-05-create-insert-snapshots-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--12-00-create-snapshots-table.xml', NOW(), 6, '8:7e866507e9f7c103245c918bd65a99d1', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.163 [vert.x-worker-thread-15] INFO Slf4jLogger [38837131eqId] CREATE TYPE test_invoices58_mod_source_record_storage.record_type AS ENUM ( 'MARC' ) 12:13:59.163 [vert.x-worker-thread-15] INFO Slf4jLogger [38837131eqId] Custom SQL executed 12:13:59.164 [vert.x-worker-thread-15] INFO Slf4jLogger [38837132eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-00-create-record-type::WilliamWelling ran successfully in 1ms 12:13:59.164 [vert.x-worker-thread-15] INFO Slf4jLogger [38837132eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-00-create-record-type', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 7, '8:b2838c556679104609899e49f480436f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.166 [vert.x-worker-thread-15] INFO Slf4jLogger [38837134eqId] CREATE TYPE test_invoices58_mod_source_record_storage.record_state_type AS ENUM ( 'ACTUAL', 'DRAFT', 'OLD', 'DELETED' ) 12:13:59.166 [vert.x-worker-thread-15] INFO Slf4jLogger [38837134eqId] Custom SQL executed 12:13:59.167 [vert.x-worker-thread-15] INFO Slf4jLogger [38837135eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-01-create-record-type-state::WilliamWelling ran successfully in 2ms 12:13:59.167 [vert.x-worker-thread-15] INFO Slf4jLogger [38837135eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-01-create-record-type-state', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 8, '8:fdad8f25965a521ff613572242ffb3d2', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.168 [vert.x-worker-thread-15] INFO Slf4jLogger [38837136eqId] CREATE TABLE test_invoices58_mod_source_record_storage.records_lb (id UUID NOT NULL, snapshotid UUID NOT NULL, matchedid UUID NOT NULL, generation INTEGER NOT NULL, recordtype TEST_INVOICES58_MOD_SOURCE_RECORD_STORAGE.RECORD_TYPE NOT NULL, instanceid UUID, state TEST_INVOICES58_MOD_SOURCE_RECORD_STORAGE.RECORD_STATE_TYPE NOT NULL, orderinfile INTEGER, suppressdiscovery BOOLEAN, createdbyuserid UUID, createddate TIMESTAMP WITH TIME ZONE, updatedbyuserid UUID, updateddate TIMESTAMP WITH TIME ZONE, CONSTRAINT RECORDS_LB_PKEY PRIMARY KEY (id)) 12:13:59.172 [vert.x-worker-thread-15] INFO Slf4jLogger [38837140eqId] Table records_lb created 12:13:59.173 [vert.x-worker-thread-15] INFO Slf4jLogger [38837141eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-02-create-records-table::WilliamWelling ran successfully in 5ms 12:13:59.173 [vert.x-worker-thread-15] INFO Slf4jLogger [38837141eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-02-create-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 9, '8:e956520fcc478a669127e4b272b53ec9', 'createTable tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.174 [vert.x-worker-thread-15] INFO Slf4jLogger [38837142eqId] ALTER TABLE test_invoices58_mod_source_record_storage.records_lb ADD CONSTRAINT fk_records_snapshots FOREIGN KEY (snapshotid) REFERENCES test_invoices58_mod_source_record_storage.snapshots_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:13:59.175 [vert.x-worker-thread-15] INFO Slf4jLogger [38837143eqId] Foreign key constraint added to records_lb (snapshotid) 12:13:59.176 [vert.x-worker-thread-15] INFO Slf4jLogger [38837144eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-03-add-records-snapshot-foreign-key::WilliamWelling ran successfully in 2ms 12:13:59.177 [vert.x-worker-thread-15] INFO Slf4jLogger [38837145eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-03-add-records-snapshot-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 10, '8:e6f48067c88b30e46c4a5172d9d35883', 'addForeignKeyConstraint baseTableName=records_lb, constraintName=fk_records_snapshots, referencedTableName=snapshots_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.178 [vert.x-worker-thread-15] INFO Slf4jLogger [38837146eqId] ALTER TABLE test_invoices58_mod_source_record_storage.records_lb ALTER COLUMN suppressdiscovery SET DEFAULT FALSE 12:13:59.178 [vert.x-worker-thread-15] INFO Slf4jLogger [38837146eqId] Default value added to records_lb.suppressdiscovery 12:13:59.179 [vert.x-worker-thread-15] INFO Slf4jLogger [38837147eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-04-set-records-suppressdiscovery-default::WilliamWelling ran successfully in 1ms 12:13:59.180 [vert.x-worker-thread-15] INFO Slf4jLogger [38837148eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-04-set-records-suppressdiscovery-default', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 11, '8:be6c3a0c77bcd08c74dc74d20a6fc1f1', 'addDefaultValue columnName=suppressdiscovery, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.181 [vert.x-worker-thread-15] INFO Slf4jLogger [38837149eqId] CREATE INDEX idx_records_snapshotid ON test_invoices58_mod_source_record_storage.records_lb(snapshotid) 12:13:59.183 [vert.x-worker-thread-15] INFO Slf4jLogger [38837151eqId] Index idx_records_snapshotid created 12:13:59.184 [vert.x-worker-thread-15] INFO Slf4jLogger [38837152eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-05-create-records-snapshotid-index::WilliamWelling ran successfully in 3ms 12:13:59.184 [vert.x-worker-thread-15] INFO Slf4jLogger [38837152eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-05-create-records-snapshotid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 12, '8:7d206d4ec1b0020399fd28f6d2462708', 'createIndex indexName=idx_records_snapshotid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.186 [vert.x-worker-thread-15] INFO Slf4jLogger [38837154eqId] CREATE INDEX idx_records_instanceid ON test_invoices58_mod_source_record_storage.records_lb(instanceid) 12:13:59.188 [vert.x-worker-thread-15] INFO Slf4jLogger [38837156eqId] Index idx_records_instanceid created 12:13:59.189 [vert.x-worker-thread-15] INFO Slf4jLogger [38837157eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-06-create-records-instanceid-index::WilliamWelling ran successfully in 3ms 12:13:59.189 [vert.x-worker-thread-15] INFO Slf4jLogger [38837157eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-06-create-records-instanceid-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 13, '8:f1a2aaeeb0435ee0049f42d3eab1d97f', 'createIndex indexName=idx_records_instanceid, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.191 [vert.x-worker-thread-15] INFO Slf4jLogger [38837159eqId] CREATE UNIQUE INDEX idx_records_matchedid_gen ON test_invoices58_mod_source_record_storage.records_lb(matchedid, generation) 12:13:59.193 [vert.x-worker-thread-15] INFO Slf4jLogger [38837161eqId] Index idx_records_matchedid_gen created 12:13:59.194 [vert.x-worker-thread-15] INFO Slf4jLogger [38837162eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-07-create-records-matchedid-generation-index::WilliamWelling ran successfully in 3ms 12:13:59.194 [vert.x-worker-thread-15] INFO Slf4jLogger [38837162eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-07-create-records-matchedid-generation-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 14, '8:1da2cc0fdb425cb4d7d36e5de9056e37', 'createIndex indexName=idx_records_matchedid_gen, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.196 [vert.x-worker-thread-15] INFO Slf4jLogger [38837164eqId] CREATE INDEX idx_records_updateddate ON test_invoices58_mod_source_record_storage.records_lb(updateddate) 12:13:59.198 [vert.x-worker-thread-15] INFO Slf4jLogger [38837166eqId] Index idx_records_updateddate created 12:13:59.199 [vert.x-worker-thread-15] INFO Slf4jLogger [38837167eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-08-create-records-updateddate-index::WilliamWelling ran successfully in 3ms 12:13:59.200 [vert.x-worker-thread-15] INFO Slf4jLogger [38837168eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-08-create-records-updateddate-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 15, '8:b1e16768fb737abf26a2c0976156e8de', 'createIndex indexName=idx_records_updateddate, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.201 [vert.x-worker-thread-15] INFO Slf4jLogger [38837169eqId] CREATE INDEX idx_records_matchedid_state ON test_invoices58_mod_source_record_storage.records_lb(matchedid, state) 12:13:59.203 [vert.x-worker-thread-15] INFO Slf4jLogger [38837171eqId] Index idx_records_matchedid_state created 12:13:59.204 [vert.x-worker-thread-15] INFO Slf4jLogger [38837172eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-09-create-records-matchedid-state-index::WilliamWelling ran successfully in 3ms 12:13:59.205 [vert.x-worker-thread-15] INFO Slf4jLogger [38837173eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-09-create-records-matchedid-state-index', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 16, '8:807a60cdaf77fba871345f3c06693111', 'createIndex indexName=idx_records_matchedid_state, tableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.206 [vert.x-worker-thread-15] INFO Slf4jLogger [38837174eqId] create function test_invoices58_mod_source_record_storage.update_records_set_updated_date() returns trigger language plpgsql as $$ BEGIN NEW.updateddate := current_timestamp; RETURN NEW; END; $$ 12:13:59.206 [vert.x-worker-thread-15] INFO Slf4jLogger [38837174eqId] Stored procedure created 12:13:59.207 [vert.x-worker-thread-15] INFO Slf4jLogger [38837175eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-10-create-update-records-set-updated-date-function::WilliamWelling ran successfully in 1ms 12:13:59.208 [vert.x-worker-thread-15] INFO Slf4jLogger [38837176eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-10-create-update-records-set-updated-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 17, '8:2788c03f9dd460da7c2f920fc98ec680', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.209 [vert.x-worker-thread-15] INFO Slf4jLogger [38837177eqId] create trigger update_records_set_updated_date before insert or update on test_invoices58_mod_source_record_storage.records_lb for each row execute procedure test_invoices58_mod_source_record_storage.update_records_set_updated_date() 12:13:59.209 [vert.x-worker-thread-15] INFO Slf4jLogger [38837177eqId] Custom SQL executed 12:13:59.210 [vert.x-worker-thread-15] INFO Slf4jLogger [38837178eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-11-create-update-records-set-updated-date-trigger::WilliamWelling ran successfully in 1ms 12:13:59.210 [vert.x-worker-thread-15] INFO Slf4jLogger [38837178eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-11-create-update-records-set-updated-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 18, '8:b453b9aa13001b697268d135dd743c8f', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.212 [vert.x-worker-thread-15] INFO Slf4jLogger [38837180eqId] create function test_invoices58_mod_source_record_storage.insert_records_set_created_date() returns trigger language plpgsql as $$ BEGIN NEW.createddate := current_timestamp; NEW.updateddate := NEW.createddate; RETURN NEW; END; $$ 12:13:59.212 [vert.x-worker-thread-15] INFO Slf4jLogger [38837180eqId] Stored procedure created 12:13:59.213 [vert.x-worker-thread-15] INFO Slf4jLogger [38837181eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-12-create-insert-records-set-created-date-function::WilliamWelling ran successfully in 2ms 12:13:59.213 [vert.x-worker-thread-15] INFO Slf4jLogger [38837181eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-12-create-insert-records-set-created-date-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 19, '8:18aeafef0c9978aaad4e4b28ca72a5e4', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.214 [vert.x-worker-thread-15] INFO Slf4jLogger [38837182eqId] create trigger insert_records_set_created_date before insert or update on test_invoices58_mod_source_record_storage.records_lb for each row execute procedure test_invoices58_mod_source_record_storage.insert_records_set_created_date() 12:13:59.215 [vert.x-worker-thread-15] INFO Slf4jLogger [38837183eqId] Custom SQL executed 12:13:59.216 [vert.x-worker-thread-15] INFO Slf4jLogger [38837184eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml::2020-04-27--13-13-create-insert-records-set-created-date-trigger::WilliamWelling ran successfully in 2ms 12:13:59.216 [vert.x-worker-thread-15] INFO Slf4jLogger [38837184eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--13-13-create-insert-records-set-created-date-trigger', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--13-00-create-records-table.xml', NOW(), 20, '8:d2c8079513aa7d9791faa8ae82a5f56e', 'sql', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.217 [vert.x-worker-thread-15] INFO Slf4jLogger [38837185eqId] CREATE TABLE test_invoices58_mod_source_record_storage.raw_records_lb (id UUID NOT NULL, content TEXT NOT NULL, CONSTRAINT RAW_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:13:59.223 [vert.x-worker-thread-15] INFO Slf4jLogger [38837191eqId] Table raw_records_lb created 12:13:59.224 [vert.x-worker-thread-15] INFO Slf4jLogger [38837192eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-00-create-raw-records-table::WilliamWelling ran successfully in 7ms 12:13:59.224 [vert.x-worker-thread-15] INFO Slf4jLogger [38837192eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-00-create-raw-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 21, '8:ed3c1c5d0cac033d8112907a65425815', 'createTable tableName=raw_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.226 [vert.x-worker-thread-15] INFO Slf4jLogger [38837194eqId] ALTER TABLE test_invoices58_mod_source_record_storage.raw_records_lb ADD CONSTRAINT fk_raw_records_records FOREIGN KEY (id) REFERENCES test_invoices58_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:13:59.227 [vert.x-worker-thread-15] INFO Slf4jLogger [38837195eqId] Foreign key constraint added to raw_records_lb (id) 12:13:59.228 [vert.x-worker-thread-15] INFO Slf4jLogger [38837196eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml::2020-04-27--14-01-add-raw-records-records-foreign-key::WilliamWelling ran successfully in 3ms 12:13:59.228 [vert.x-worker-thread-15] INFO Slf4jLogger [38837196eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--14-01-add-raw-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--14-00-create-raw-records-table.xml', NOW(), 22, '8:4b06cac3df5e30557d1c8fe22e642ed9', 'addForeignKeyConstraint baseTableName=raw_records_lb, constraintName=fk_raw_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.230 [vert.x-worker-thread-15] INFO Slf4jLogger [38837198eqId] CREATE TABLE test_invoices58_mod_source_record_storage.marc_records_lb (id UUID NOT NULL, content JSONB NOT NULL, CONSTRAINT MARC_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:13:59.235 [vert.x-worker-thread-15] INFO Slf4jLogger [38837203eqId] Table marc_records_lb created 12:13:59.236 [vert.x-worker-thread-15] INFO Slf4jLogger [38837204eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-00-create-marc-records-table::WilliamWelling ran successfully in 7ms 12:13:59.236 [vert.x-worker-thread-15] INFO Slf4jLogger [38837204eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-00-create-marc-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 23, '8:774286ea076fdeb7dc3a1056b880e82f', 'createTable tableName=marc_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.238 [vert.x-worker-thread-15] INFO Slf4jLogger [38837206eqId] ALTER TABLE test_invoices58_mod_source_record_storage.marc_records_lb ADD CONSTRAINT fk_marc_records_records FOREIGN KEY (id) REFERENCES test_invoices58_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:13:59.239 [vert.x-worker-thread-15] INFO Slf4jLogger [38837207eqId] Foreign key constraint added to marc_records_lb (id) 12:13:59.240 [vert.x-worker-thread-15] INFO Slf4jLogger [38837208eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml::2020-04-27--15-01-add-marc-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:13:59.240 [vert.x-worker-thread-15] INFO Slf4jLogger [38837208eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--15-01-add-marc-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--15-00-create-marc-records-table.xml', NOW(), 24, '8:59063b639f28939d88f00992f2f6d2b3', 'addForeignKeyConstraint baseTableName=marc_records_lb, constraintName=fk_marc_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.242 [vert.x-worker-thread-15] INFO Slf4jLogger [38837210eqId] CREATE TABLE test_invoices58_mod_source_record_storage.error_records_lb (id UUID NOT NULL, content JSONB NOT NULL, description VARCHAR(1024) NOT NULL, CONSTRAINT ERROR_RECORDS_LB_PKEY PRIMARY KEY (id)) 12:13:59.248 [vert.x-worker-thread-15] INFO Slf4jLogger [38837216eqId] Table error_records_lb created 12:13:59.249 [vert.x-worker-thread-15] INFO Slf4jLogger [38837217eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-00-create-error-records-table::WilliamWelling ran successfully in 7ms 12:13:59.249 [vert.x-worker-thread-15] INFO Slf4jLogger [38837217eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-00-create-error-records-table', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 25, '8:68a49e6c5b8e9ef40437e9fd0dac384e', 'createTable tableName=error_records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.251 [vert.x-worker-thread-15] INFO Slf4jLogger [38837219eqId] ALTER TABLE test_invoices58_mod_source_record_storage.error_records_lb ADD CONSTRAINT fk_error_records_records FOREIGN KEY (id) REFERENCES test_invoices58_mod_source_record_storage.records_lb (id) ON UPDATE RESTRICT ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED 12:13:59.252 [vert.x-worker-thread-15] INFO Slf4jLogger [38837220eqId] Foreign key constraint added to error_records_lb (id) 12:13:59.253 [vert.x-worker-thread-15] INFO Slf4jLogger [38837221eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml::2020-04-27--16-01-add-error-records-records-foreign-key::WilliamWelling ran successfully in 2ms 12:13:59.253 [vert.x-worker-thread-15] INFO Slf4jLogger [38837221eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-27--16-01-add-error-records-records-foreign-key', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-27--16-00-create-error-records-table.xml', NOW(), 26, '8:6501c039941284f25992f15c40c961bf', 'addForeignKeyConstraint baseTableName=error_records_lb, constraintName=fk_error_records_records, referencedTableName=records_lb', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.255 [vert.x-worker-thread-15] INFO Slf4jLogger [38837223eqId] create function test_invoices58_mod_source_record_storage.get_source_marc_record_by_id(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from test_invoices58_mod_source_record_storage.records_lb rds where rds.matchedid = p_id and rds.state = 'ACTUAL') r inner join test_invoices58_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:13:59.256 [vert.x-worker-thread-15] INFO Slf4jLogger [38837224eqId] Stored procedure created 12:13:59.257 [vert.x-worker-thread-15] INFO Slf4jLogger [38837225eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-00-create-get-source-marc-record-by-id-function::WilliamWelling ran successfully in 2ms 12:13:59.257 [vert.x-worker-thread-15] INFO Slf4jLogger [38837225eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-00-create-get-source-marc-record-by-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 27, '8:209f3d2052985a556d12bf19eb385c80', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.258 [vert.x-worker-thread-15] INFO Slf4jLogger [38837226eqId] create function test_invoices58_mod_source_record_storage.get_source_marc_record_by_id_alt(p_id uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices58_mod_source_record_storage.records_lb rds where rds.matchedid = p_id) rr where generation = max_generation) r inner join test_invoices58_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:13:59.259 [vert.x-worker-thread-15] INFO Slf4jLogger [38837227eqId] Stored procedure created 12:13:59.260 [vert.x-worker-thread-15] INFO Slf4jLogger [38837228eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function::WilliamWelling ran successfully in 2ms 12:13:59.260 [vert.x-worker-thread-15] INFO Slf4jLogger [38837228eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-01-create-get-source-marc-record-by-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 28, '8:add216d1f3de593846b33aa8e2ce32bd', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.262 [vert.x-worker-thread-15] INFO Slf4jLogger [38837230eqId] create function test_invoices58_mod_source_record_storage.get_source_marc_record_by_instance_id(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from (select rds.matchedid, rds.id from test_invoices58_mod_source_record_storage.records_lb rds where rds.instanceId = p_instanceId and rds.state = 'ACTUAL') r inner join test_invoices58_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:13:59.262 [vert.x-worker-thread-15] INFO Slf4jLogger [38837230eqId] Stored procedure created 12:13:59.263 [vert.x-worker-thread-15] INFO Slf4jLogger [38837231eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function::WilliamWelling ran successfully in 2ms 12:13:59.263 [vert.x-worker-thread-15] INFO Slf4jLogger [38837231eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-02-create-get-source-marc-record-by-instance-id-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 29, '8:001903fd8e441b81aeb9c734fcd6470c', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.265 [vert.x-worker-thread-15] INFO Slf4jLogger [38837233eqId] create function test_invoices58_mod_source_record_storage.get_source_marc_record_by_instance_id_alt(p_instanceid uuid) returns TABLE ( id uuid, jsonb jsonb ) language sql as $$ select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb from ( select rr.matchedid, rr.id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices58_mod_source_record_storage.records_lb rds where rds.instanceid = p_instanceId) rr where generation = max_generation) r inner join test_invoices58_mod_source_record_storage.marc_records_lb mr on r.id = mr.id; $$ 12:13:59.265 [vert.x-worker-thread-15] INFO Slf4jLogger [38837233eqId] Stored procedure created 12:13:59.266 [vert.x-worker-thread-15] INFO Slf4jLogger [38837234eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function::WilliamWelling ran successfully in 2ms 12:13:59.266 [vert.x-worker-thread-15] INFO Slf4jLogger [38837234eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-03-create-get-source-marc-record-by-instance-id-alt-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 30, '8:98f51e399fde2c901b12dc4cc1a995fd', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.268 [vert.x-worker-thread-15] INFO Slf4jLogger [38837236eqId] create function test_invoices58_mod_source_record_storage.get_all_source_marc_records(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select id, matchedid from test_invoices58_mod_source_record_storage.records_lb where state = 'ACTUAL' ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join test_invoices58_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 12:13:59.268 [vert.x-worker-thread-15] INFO Slf4jLogger [38837236eqId] Stored procedure created 12:13:59.269 [vert.x-worker-thread-15] INFO Slf4jLogger [38837237eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-04-create-get-all-source-marc-records-function::WilliamWelling ran successfully in 1ms 12:13:59.269 [vert.x-worker-thread-15] INFO Slf4jLogger [38837237eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('2020-04-28--08-04-create-get-all-source-marc-records-function', 'WilliamWelling', 'liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml', NOW(), 31, '8:9f19c7591b362a8a3790138d0a7c3dc4', 'createProcedure', '', 'EXECUTED', NULL, NULL, '3.8.9', '3173639115') 12:13:59.271 [vert.x-worker-thread-15] INFO Slf4jLogger [38837239eqId] create function test_invoices58_mod_source_record_storage.get_all_source_marc_records_alt(p_offset integer, p_limit integer) returns TABLE ( id uuid, jsonb jsonb, total_count bigint ) language sql as $$ WITH cte AS ( select matchedid, id from ( select id, matchedid, generation, max(generation) over (partition by matchedid) max_generation from test_invoices58_mod_source_record_storage.records_lb ) rr where generation = max_generation ) select r.matchedid id, json_build_object('id', r.matchedid, 'content', mr.content)::jsonb jsonb, c.totalrows total_count from (table cte order by matchedid offset p_offset limit p_limit) r inner join test_invoices58_mod_source_record_storage.marc_records_lb mr on r.id = mr.id right join (select count(*) from cte) c(totalrows) on true; $$ 12:13:59.272 [vert.x-worker-thread-15] INFO Slf4jLogger [38837240eqId] Stored procedure created 12:13:59.272 [vert.x-worker-thread-15] INFO Slf4jLogger [38837240eqId] ChangeSet liquibase/tenant/scripts/v-0.0.1/2020-04-28--08-00-create-marc-record-functions.xml::2020-04-28--08-05-create-get-all-source-marc-records-alt-function::WilliamWelling ran successfully in 1ms 12:13:59.273 [vert.x-worker-thread-15] INFO Slf4jLogger [38837241eqId] INSERT INTO test_invoices58_mod_source_record_storage.databasechangelog (ID, AUTHOR, FILENAME, DA