exec java -XX:MaxRAMPercentage=66.0 -XX:+ExitOnOutOfMemoryError -cp . -jar /usr/verticles/mod-orders-storage-fat.jar starting rest verticle service.......... 2022-04-10T01:42:10,123 INFO [vert.x-eventloop-thread-1] RestVerticle git: https://github.com/folio-org/raml-module-builder.git dd850aff5b138c57456fe721044118732c474a37 2022-04-10T01:42:10,126 INFO [vert.x-eventloop-thread-1] RestVerticle metrics enabled: false 2022-04-10T01:42:10,230 INFO [vert.x-eventloop-thread-1] Messages Loading messages from /infra-messages/APIMessages_de.properties ................................ 2022-04-10T01:42:10,230 INFO [vert.x-eventloop-thread-1] Messages Loading messages from /infra-messages/APIMessages_en.properties ................................ 2022-04-10T01:42:10,357 INFO [vert.x-eventloop-thread-1] Version HV000001: Hibernate Validator null 2022-04-10T01:42:10,738 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /_/jsonSchemas -> getJsonSchemas 2022-04-10T01:42:10,793 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/alerts/{id} -> deleteOrdersStorageAlertsById 2022-04-10T01:42:10,793 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/alerts/{id} -> getOrdersStorageAlertsById 2022-04-10T01:42:10,793 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/alerts/{id} -> putOrdersStorageAlertsById 2022-04-10T01:42:10,793 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/alerts -> getOrdersStorageAlerts 2022-04-10T01:42:10,794 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/alerts -> postOrdersStorageAlerts 2022-04-10T01:42:10,878 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/po-lines/{id} -> deleteOrdersStoragePoLinesById 2022-04-10T01:42:10,879 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/po-lines/{id} -> getOrdersStoragePoLinesById 2022-04-10T01:42:10,879 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/po-lines/{id} -> putOrdersStoragePoLinesById 2022-04-10T01:42:10,879 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/po-lines -> getOrdersStoragePoLines 2022-04-10T01:42:10,879 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/po-lines -> postOrdersStoragePoLines 2022-04-10T01:42:10,913 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/export-history/{id} -> deleteOrdersStorageExportHistoryById 2022-04-10T01:42:10,913 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/export-history/{id} -> getOrdersStorageExportHistoryById 2022-04-10T01:42:10,914 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/export-history/{id} -> putOrdersStorageExportHistoryById 2022-04-10T01:42:10,914 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/export-history -> getOrdersStorageExportHistory 2022-04-10T01:42:10,914 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/export-history -> postOrdersStorageExportHistory 2022-04-10T01:42:10,952 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/receiving-history -> getOrdersStorageReceivingHistory 2022-04-10T01:42:11,014 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/po-line-number -> getOrdersStoragePoLineNumber 2022-04-10T01:42:11,044 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/order-templates/{id} -> deleteOrdersStorageOrderTemplatesById 2022-04-10T01:42:11,045 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/order-templates/{id} -> getOrdersStorageOrderTemplatesById 2022-04-10T01:42:11,045 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/order-templates/{id} -> putOrdersStorageOrderTemplatesById 2022-04-10T01:42:11,045 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/order-templates -> getOrdersStorageOrderTemplates 2022-04-10T01:42:11,045 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/order-templates -> postOrdersStorageOrderTemplates 2022-04-10T01:42:11,075 INFO [vert.x-eventloop-thread-1] RestRouting Looks like org.folio.rest.jaxrs.resource.Rmbtests is not implemented 2022-04-10T01:42:11,100 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/acquisition-methods/{id} -> deleteOrdersStorageAcquisitionMethodsById 2022-04-10T01:42:11,100 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/acquisition-methods/{id} -> getOrdersStorageAcquisitionMethodsById 2022-04-10T01:42:11,100 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/acquisition-methods/{id} -> putOrdersStorageAcquisitionMethodsById 2022-04-10T01:42:11,100 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/acquisition-methods -> getOrdersStorageAcquisitionMethods 2022-04-10T01:42:11,101 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/acquisition-methods -> postOrdersStorageAcquisitionMethods 2022-04-10T01:42:11,128 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/po-number -> getOrdersStoragePoNumber 2022-04-10T01:42:11,184 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/order-invoice-relns/{id} -> deleteOrdersStorageOrderInvoiceRelnsById 2022-04-10T01:42:11,185 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/order-invoice-relns/{id} -> getOrdersStorageOrderInvoiceRelnsById 2022-04-10T01:42:11,185 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/order-invoice-relns/{id} -> putOrdersStorageOrderInvoiceRelnsById 2022-04-10T01:42:11,185 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/order-invoice-relns -> getOrdersStorageOrderInvoiceRelns 2022-04-10T01:42:11,185 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/order-invoice-relns -> postOrdersStorageOrderInvoiceRelns 2022-04-10T01:42:11,214 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/configuration/prefixes/{id} -> deleteOrdersStorageConfigurationPrefixesById 2022-04-10T01:42:11,214 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/configuration/prefixes/{id} -> getOrdersStorageConfigurationPrefixesById 2022-04-10T01:42:11,214 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/configuration/prefixes/{id} -> putOrdersStorageConfigurationPrefixesById 2022-04-10T01:42:11,214 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/configuration/reasons-for-closure/{id} -> deleteOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/configuration/reasons-for-closure/{id} -> getOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/configuration/reasons-for-closure/{id} -> putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/configuration/suffixes/{id} -> deleteOrdersStorageConfigurationSuffixesById 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/configuration/suffixes/{id} -> getOrdersStorageConfigurationSuffixesById 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/configuration/suffixes/{id} -> putOrdersStorageConfigurationSuffixesById 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/configuration/prefixes -> getOrdersStorageConfigurationPrefixes 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/configuration/prefixes -> postOrdersStorageConfigurationPrefixes 2022-04-10T01:42:11,215 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/configuration/reasons-for-closure -> getOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:42:11,216 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/configuration/reasons-for-closure -> postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:42:11,216 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/configuration/suffixes -> getOrdersStorageConfigurationSuffixes 2022-04-10T01:42:11,216 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/configuration/suffixes -> postOrdersStorageConfigurationSuffixes 2022-04-10T01:42:11,243 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /admin/kill_query -> deleteAdminKillQuery 2022-04-10T01:42:11,243 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/cache_hit_rates -> getAdminCacheHitRates 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/db_cache_summary -> getAdminDbCacheSummary 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/health -> getAdminHealth 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/jstack -> getAdminJstack 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /admin/jstack -> putAdminJstack 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/list_locking_queries -> getAdminListLockingQueries 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/loglevel -> getAdminLoglevel 2022-04-10T01:42:11,244 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /admin/loglevel -> putAdminLoglevel 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/memory -> getAdminMemory 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/postgres_active_sessions -> getAdminPostgresActiveSessions 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/postgres_load -> getAdminPostgresLoad 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/postgres_table_access_stats -> getAdminPostgresTableAccessStats 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/postgres_table_size -> getAdminPostgresTableSize 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/slow_queries -> getAdminSlowQueries 2022-04-10T01:42:11,245 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/table_index_usage -> getAdminTableIndexUsage 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /admin/total_db_size -> getAdminTotalDbSize 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /admin/get_password -> postAdminGetPassword 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /admin/importSQL -> postAdminImportSQL 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /admin/postgres_maintenance -> postAdminPostgresMaintenance 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /admin/set_AES_key -> postAdminSetAESKey 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /admin/postgres_create_indexes -> putAdminPostgresCreateIndexes 2022-04-10T01:42:11,246 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /admin/postgres_drop_indexes -> putAdminPostgresDropIndexes 2022-04-10T01:42:11,278 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/pieces/{id} -> deleteOrdersStoragePiecesById 2022-04-10T01:42:11,278 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/pieces/{id} -> getOrdersStoragePiecesById 2022-04-10T01:42:11,278 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/pieces/{id} -> putOrdersStoragePiecesById 2022-04-10T01:42:11,278 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/pieces -> getOrdersStoragePieces 2022-04-10T01:42:11,278 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/pieces -> postOrdersStoragePieces 2022-04-10T01:42:11,340 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/reporting-codes/{id} -> deleteOrdersStorageReportingCodesById 2022-04-10T01:42:11,341 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/reporting-codes/{id} -> getOrdersStorageReportingCodesById 2022-04-10T01:42:11,341 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/reporting-codes/{id} -> putOrdersStorageReportingCodesById 2022-04-10T01:42:11,341 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/reporting-codes -> getOrdersStorageReportingCodes 2022-04-10T01:42:11,341 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/reporting-codes -> postOrdersStorageReportingCodes 2022-04-10T01:42:11,370 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /acquisitions-units-storage/memberships/{id} -> deleteAcquisitionsUnitsStorageMembershipsById 2022-04-10T01:42:11,370 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /acquisitions-units-storage/memberships/{id} -> getAcquisitionsUnitsStorageMembershipsById 2022-04-10T01:42:11,370 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /acquisitions-units-storage/memberships/{id} -> putAcquisitionsUnitsStorageMembershipsById 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /acquisitions-units-storage/units/{id} -> deleteAcquisitionsUnitsStorageUnitsById 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /acquisitions-units-storage/units/{id} -> getAcquisitionsUnitsStorageUnitsById 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /acquisitions-units-storage/units/{id} -> putAcquisitionsUnitsStorageUnitsById 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /acquisitions-units-storage/memberships -> getAcquisitionsUnitsStorageMemberships 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /acquisitions-units-storage/memberships -> postAcquisitionsUnitsStorageMemberships 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /acquisitions-units-storage/units -> getAcquisitionsUnitsStorageUnits 2022-04-10T01:42:11,371 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /acquisitions-units-storage/units -> postAcquisitionsUnitsStorageUnits 2022-04-10T01:42:11,399 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/purchase-orders/{id} -> deleteOrdersStoragePurchaseOrdersById 2022-04-10T01:42:11,400 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/purchase-orders/{id} -> getOrdersStoragePurchaseOrdersById 2022-04-10T01:42:11,400 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/purchase-orders/{id} -> putOrdersStoragePurchaseOrdersById 2022-04-10T01:42:11,400 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/purchase-orders -> getOrdersStoragePurchaseOrders 2022-04-10T01:42:11,400 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/purchase-orders -> postOrdersStoragePurchaseOrders 2022-04-10T01:42:11,425 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /_/tenant/{operation_id} -> deleteTenantByOperationId 2022-04-10T01:42:11,425 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /_/tenant/{operation_id} -> getTenantByOperationId 2022-04-10T01:42:11,425 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /_/tenant -> postTenant 2022-04-10T01:42:11,454 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /_/ramls -> getRamls 2022-04-10T01:42:11,511 INFO [vert.x-eventloop-thread-1] RestRouting Adding route DELETE /orders-storage/titles/{id} -> deleteOrdersStorageTitlesById 2022-04-10T01:42:11,511 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/titles/{id} -> getOrdersStorageTitlesById 2022-04-10T01:42:11,511 INFO [vert.x-eventloop-thread-1] RestRouting Adding route PUT /orders-storage/titles/{id} -> putOrdersStorageTitlesById 2022-04-10T01:42:11,511 INFO [vert.x-eventloop-thread-1] RestRouting Adding route GET /orders-storage/titles -> getOrdersStorageTitles 2022-04-10T01:42:11,511 INFO [vert.x-eventloop-thread-1] RestRouting Adding route POST /orders-storage/titles -> postOrdersStorageTitles 2022-04-10T01:42:11,542 INFO [vert.x-eventloop-thread-1] RestVerticle Init hook called with implemented class named org.folio.rest.impl.InitAPIs 2022-04-10T01:42:11,878 INFO [vert.x-worker-thread-1 ] KafkaConsumersVerticle Kafka config: KafkaConfig(kafkaHost=10.36.1.28, kafkaPort=9092, okapiUrl=http://okapi:9130, replicationFactor=1, envId=FOLIO, maxRequestSize=1048576) 2022-04-10T01:42:11,995 INFO [vert.x-worker-thread-2 ] KafkaConsumerWrapper Consumer created - id: 0 subscriptionPattern: SubscriptionDefinition(eventType=edi-export-history.create, subscriptionPattern=FOLIO\.Default\.\w{1,}\.edi-export-history.create) 2022-04-10T01:42:11,996 INFO [vert.x-eventloop-thread-1] InitAPIs KafkaConsumersVerticle was successfully started 2022-04-10T01:42:11,996 INFO [vert.x-eventloop-thread-1] RestVerticle Listening port 8081 2022-04-10T01:42:12,123 INFO [vert.x-eventloop-thread-1] RestVerticle No periodic implementation found, continuing with deployment 2022-04-10T01:42:12,187 INFO [vert.x-eventloop-thread-1] RestVerticle No Post Deploy Hook implementation found, continuing with deployment 2022-04-10T01:42:12,188 INFO [vert.x-eventloop-thread-0] VertxIsolatedDeployer Succeeded in deploying verticle 2022-04-10T01:50:59,062 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T01:50:59,079 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T01:50:59,089 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"folio_admin","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T01:50:59,506 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -1902284488 2022-04-10T01:50:59,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE ROLE diku_mod_orders_storage PASSWORD 'diku' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T01:50:59,519 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE ROLE diku_mod_orders_storage PASSWORD 'diku' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T01:50:59,519 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT diku_mod_orders_storage TO CURRENT_USER; 2022-04-10T01:50:59,520 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT diku_mod_orders_storage TO CURRENT_USER; 2022-04-10T01:50:59,520 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SCHEMA diku_mod_orders_storage AUTHORIZATION diku_mod_orders_storage; 2022-04-10T01:50:59,521 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SCHEMA diku_mod_orders_storage AUTHORIZATION diku_mod_orders_storage; 2022-04-10T01:50:59,521 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER ROLE diku_mod_orders_storage SET search_path = "$user"; 2022-04-10T01:50:59,522 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER ROLE diku_mod_orders_storage SET search_path = "$user"; 2022-04-10T01:50:59,522 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T01:50:59,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T01:50:59,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T01:50:59,526 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "unaccent" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,526 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T01:50:59,526 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T01:50:59,526 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "pg_trgm" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,526 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T01:50:59,526 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,536 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,536 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} insert into diku_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T01:50:59,536 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed insert into diku_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T01:50:59,536 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,543 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,624 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 POST /_/tenant null HTTP_1_1 201 430 743 tid=diku Created 2022-04-10T01:50:59,859 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 1904306907 2022-04-10T01:50:59,866 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T01:50:59,873 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} SET search_path TO diku_mod_orders_storage; 2022-04-10T01:50:59,874 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed SET search_path TO diku_mod_orders_storage; 2022-04-10T01:50:59,874 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T01:50:59,886 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 GET /_/tenant/3ad18ad9-2860-424e-87e3-4143aad5cb49 null HTTP_1_1 200 430 22 tid=diku OK 2022-04-10T01:50:59,887 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T01:50:59,887 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T01:50:59,888 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T01:50:59,888 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T01:50:59,891 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T01:50:59,892 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,893 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,893 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,898 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,898 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T01:50:59,899 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T01:50:59,899 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE diku_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = diku_mod_orders_storage.uuid_larger, combinefunc = diku_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T01:50:59,901 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE diku_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = diku_mod_orders_storage.uuid_larger, combinefunc = diku_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T01:50:59,901 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE diku_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = diku_mod_orders_storage.uuid_smaller, combinefunc = diku_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T01:50:59,901 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE diku_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = diku_mod_orders_storage.uuid_smaller, combinefunc = diku_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T01:50:59,901 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T01:50:59,902 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.count_estimate_smart2(pg_catalog.int8,pg_catalog.int8,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,902 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T01:50:59,902 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,903 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,903 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = diku_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T01:50:59,904 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = diku_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T01:50:59,904 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = diku_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T01:50:59,905 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = diku_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T01:50:59,905 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE diku_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO diku_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T01:50:59,906 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE diku_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO diku_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T01:50:59,906 INFO [vert.x-eventloop-thread-1] PostgresClient 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_orders_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_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T01:50:59,907 INFO [vert.x-eventloop-thread-1] PostgresClient 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_orders_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_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T01:50:59,907 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,908 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,908 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,908 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,909 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,909 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,909 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,910 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(diku_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,910 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,910 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_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; 2022-04-10T01:50:59,910 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_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'; 2022-04-10T01:50:59,911 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_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'; 2022-04-10T01:50:59,911 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function diku_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,912 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function diku_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T01:50:59,912 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,912 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,913 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,913 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,913 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function diku_mod_orders_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; 2022-04-10T01:50:59,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T01:50:59,915 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,915 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T01:50:59,915 INFO [vert.x-eventloop-thread-1] PostgresClient 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_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM diku_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM diku_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO diku_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T01:50:59,916 INFO [vert.x-eventloop-thread-1] PostgresClient 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 EXISTS %s', aname); EXECUTE 'DELETE FROM diku_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM diku_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM diku_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO diku_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T01:50:59,916 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM diku_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T01:50:59,917 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM diku_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T01:50:59,917 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alert ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,924 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_alert" for relation "diku_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,924 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alert ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,924 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,924 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,925 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,925 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:50:59,925 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:50:59,925 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:50:59,926 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:50:59,926 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alert_references ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,926 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_alert_references" for relation "diku_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,926 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alert_references ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,927 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_alert_references(); 2022-04-10T01:50:59,927 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_alert_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,927 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_alert_references(); 2022-04-10T01:50:59,927 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,928 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,928 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_trigger ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,928 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_trigger" for relation "diku_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,929 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_trigger ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,929 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON diku_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.alert_set_md(); 2022-04-10T01:50:59,929 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON diku_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.alert_set_md(); 2022-04-10T01:50:59,929 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,930 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_json_trigger" for relation "diku_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_alert_md_json(); 2022-04-10T01:50:59,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_alert_md_json(); 2022-04-10T01:50:59,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,932 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_ol_version_trigger" for relation "diku_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,934 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON diku_mod_orders_storage.alert CASCADE; 2022-04-10T01:50:59,934 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T01:50:59,935 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.alert_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,935 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T01:50:59,935 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,942 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,943 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,943 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reporting_code" for relation "diku_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,943 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,943 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,944 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,944 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,944 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:50:59,944 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:50:59,944 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:50:59,945 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:50:59,945 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reporting_code_references ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,945 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reporting_code_references" for relation "diku_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,946 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reporting_code_references ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,946 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_reporting_code_references(); 2022-04-10T01:50:59,946 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_reporting_code_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,946 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_reporting_code_references(); 2022-04-10T01:50:59,946 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,947 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,947 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,948 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_trigger" for relation "diku_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,948 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,948 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON diku_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.reporting_code_set_md(); 2022-04-10T01:50:59,948 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON diku_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.reporting_code_set_md(); 2022-04-10T01:50:59,948 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,949 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:50:59,949 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,949 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_json_trigger" for relation "diku_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,950 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,950 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T01:50:59,950 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T01:50:59,950 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,950 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_ol_version_trigger" for relation "diku_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON diku_mod_orders_storage.reporting_code CASCADE; 2022-04-10T01:50:59,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T01:50:59,951 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.reporting_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T01:50:59,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,974 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:50:59,974 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:50:59,975 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_purchase_order" for relation "diku_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,975 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:50:59,975 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:50:59,976 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:50:59,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:50:59,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:50:59,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:50:59,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:50:59,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,979 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,987 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,987 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,987 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_assignedto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_assignedTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,993 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,993 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,993 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:50:59,997 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,997 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T01:50:59,998 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createdbyuserid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdByUserId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,001 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,001 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,001 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_workflowstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_workflowStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,005 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,005 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_approved_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_approved_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,009 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,009 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,010 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_dateordered_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_dateOrdered_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,012 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,012 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,013 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ordertype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_orderType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,016 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,016 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,017 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_reencumber_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_reEncumber_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,022 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,022 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,023 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,023 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,023 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,024 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,024 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,024 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,025 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,025 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,025 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,026 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,029 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,029 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,029 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,033 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,036 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON diku_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,036 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T01:51:00,037 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_reason_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_reason_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,037 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T01:51:00,037 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T01:51:00,038 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_note_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_note_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,039 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T01:51:00,039 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T01:51:00,039 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,040 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON diku_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T01:51:00,040 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_purchase_order_references ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,040 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_purchase_order_references" for relation "diku_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,041 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_purchase_order_references ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,041 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_purchase_order_references(); 2022-04-10T01:51:00,041 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_purchase_order_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,041 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_purchase_order_references(); 2022-04-10T01:51:00,041 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,042 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,042 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,042 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_trigger" for relation "diku_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,042 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,042 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON diku_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.purchase_order_set_md(); 2022-04-10T01:51:00,043 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON diku_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.purchase_order_set_md(); 2022-04-10T01:51:00,043 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,043 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_json_trigger" for relation "diku_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T01:51:00,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T01:51:00,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,045 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_ol_version_trigger" for relation "diku_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON diku_mod_orders_storage.purchase_order CASCADE; 2022-04-10T01:51:00,045 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T01:51:00,045 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.purchase_order_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T01:51:00,046 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SEQUENCE IF NOT EXISTS diku_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T01:51:00,046 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SEQUENCE IF NOT EXISTS diku_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T01:51:00,046 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT USAGE ON SEQUENCE diku_mod_orders_storage.po_number TO diku_mod_orders_storage; 2022-04-10T01:51:00,047 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT USAGE ON SEQUENCE diku_mod_orders_storage.po_number TO diku_mod_orders_storage; 2022-04-10T01:51:00,047 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON diku_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T01:51:00,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON diku_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T01:51:00,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_po_line ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,056 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_po_line" for relation "diku_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_po_line ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,056 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,058 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_accessprovider_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_accessProvider_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,061 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,061 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,061 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_activated_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_activated_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,064 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,064 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,065 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_expectedactivation_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_expectedActivation_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,068 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,068 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,068 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_trial_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_trial_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,071 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,071 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,071 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,073 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,074 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionfrom_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionFrom_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,077 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,077 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,077 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,080 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,080 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,081 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_location_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_location_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,083 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,083 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,084 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_receiptdue_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_receiptDue_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,087 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_expectedreceiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_expectedReceiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,089 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,089 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,090 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,092 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,092 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,093 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,095 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,095 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,096 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_grace_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_grace_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,098 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,098 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,099 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_sent_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_sent_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,101 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,101 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,102 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_collection_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_collection_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,106 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,106 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,106 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,109 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,109 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,109 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_paymentstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_paymentStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,112 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,112 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,112 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_orderformat_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_orderFormat_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,115 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,115 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,116 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,118 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,118 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,119 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,122 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,122 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,122 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_rush_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_rush_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,124 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,125 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,125 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_source_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_source_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,128 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON diku_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,128 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,129 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_funddistribution_code_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_fundDistribution_code_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,130 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,130 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,130 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_productids_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_productIds_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,131 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,131 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,132 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_title_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_title_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,132 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,132 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,132 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_titleorpackage_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_titleOrPackage_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,133 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,133 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,133 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_vendoraccount_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_vendorAccount_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,134 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,134 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,135 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_tags_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_tags_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,135 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,135 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,136 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_contributors_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_contributors_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,137 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,137 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,137 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_requester_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_requester_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,138 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,138 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,138 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_polinenumber_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_poLineNumber_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,139 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,139 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,139 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,140 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,140 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,140 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,141 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,141 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,142 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,142 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,142 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,143 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,143 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,143 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,144 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,144 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,144 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T01:51:00,145 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,145 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T01:51:00,145 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T01:51:00,145 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,146 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T01:51:00,146 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T01:51:00,146 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,147 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T01:51:00,147 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T01:51:00,147 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,148 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON diku_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T01:51:00,148 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T01:51:00,148 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T01:51:00,148 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,151 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,151 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON diku_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T01:51:00,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON diku_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T01:51:00,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T01:51:00,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T01:51:00,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_po_line_references ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,155 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_po_line_references" for relation "diku_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,155 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_po_line_references ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,155 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_po_line_references(); 2022-04-10T01:51:00,155 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_po_line_references(); 2022-04-10T01:51:00,155 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,156 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,156 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,157 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_trigger ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,157 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_trigger" for relation "diku_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,157 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_trigger ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.po_line_set_md(); 2022-04-10T01:51:00,158 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.po_line_set_md(); 2022-04-10T01:51:00,158 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,158 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,158 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,159 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_json_trigger" for relation "diku_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,159 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,159 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_po_line_md_json(); 2022-04-10T01:51:00,159 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_po_line_md_json(); 2022-04-10T01:51:00,159 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,160 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_ol_version_trigger" for relation "diku_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,160 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON diku_mod_orders_storage.po_line CASCADE; 2022-04-10T01:51:00,160 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T01:51:00,160 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.po_line_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,160 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T01:51:00,160 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,166 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,166 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_titles ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,166 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_titles" for relation "diku_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,166 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_titles ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,166 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,167 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,167 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,167 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,167 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,167 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,168 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,168 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T01:51:00,168 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T01:51:00,168 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,169 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,169 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON diku_mod_orders_storage.titles (poLineId); 2022-04-10T01:51:00,172 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON diku_mod_orders_storage.titles (poLineId); 2022-04-10T01:51:00,172 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T01:51:00,173 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T01:51:00,173 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,173 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,173 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_titles_references ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,173 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_titles_references" for relation "diku_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,173 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_titles_references ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,173 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_titles_references(); 2022-04-10T01:51:00,174 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_titles_references(); 2022-04-10T01:51:00,174 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,174 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,174 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,175 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,175 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_trigger ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,176 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_trigger" for relation "diku_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,176 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_trigger ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,176 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.titles_set_md(); 2022-04-10T01:51:00,176 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.titles_set_md(); 2022-04-10T01:51:00,177 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,177 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,177 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,177 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_json_trigger" for relation "diku_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,178 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,178 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_titles_md_json(); 2022-04-10T01:51:00,178 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_titles_md_json(); 2022-04-10T01:51:00,178 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,178 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_ol_version_trigger" for relation "diku_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,178 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON diku_mod_orders_storage.titles CASCADE; 2022-04-10T01:51:00,178 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T01:51:00,179 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.titles_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,179 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T01:51:00,179 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,185 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,185 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_pieces ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,185 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_pieces" for relation "diku_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,185 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_pieces ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,185 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,185 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,186 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,186 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,186 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,186 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,186 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,186 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,187 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_format_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_format_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,189 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T01:51:00,190 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,190 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,191 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_itemid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_itemId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,192 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 GET /_/tenant/3ad18ad9-2860-424e-87e3-4143aad5cb49 null HTTP_1_1 200 430 3 tid=diku OK 2022-04-10T01:51:00,193 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,193 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,194 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,196 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,196 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,197 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receivingstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivingStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,199 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,199 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,200 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receiveddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivedDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,202 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,202 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,202 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_supplement_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_supplement_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,205 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON diku_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,205 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON diku_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,205 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_caption_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_caption_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON diku_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,206 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON diku_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T01:51:00,206 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON diku_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T01:51:00,206 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_comment_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_comment_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON diku_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,207 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON diku_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T01:51:00,207 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T01:51:00,208 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T01:51:00,208 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,210 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,210 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON diku_mod_orders_storage.pieces (poLineId); 2022-04-10T01:51:00,213 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON diku_mod_orders_storage.pieces (poLineId); 2022-04-10T01:51:00,213 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T01:51:00,213 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T01:51:00,213 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T01:51:00,213 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T01:51:00,213 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,214 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,214 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON diku_mod_orders_storage.pieces (titleId); 2022-04-10T01:51:00,218 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON diku_mod_orders_storage.pieces (titleId); 2022-04-10T01:51:00,218 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T01:51:00,218 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T01:51:00,218 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,219 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,219 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_pieces_references ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,219 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_pieces_references" for relation "diku_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,219 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_pieces_references ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,219 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_pieces_references(); 2022-04-10T01:51:00,219 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_pieces_references(); 2022-04-10T01:51:00,219 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,220 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,220 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,221 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,221 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_trigger ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,221 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_trigger" for relation "diku_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,221 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_trigger ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,221 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.pieces_set_md(); 2022-04-10T01:51:00,222 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.pieces_set_md(); 2022-04-10T01:51:00,222 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,222 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,222 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,222 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_json_trigger" for relation "diku_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,223 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,223 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_pieces_md_json(); 2022-04-10T01:51:00,223 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_pieces_md_json(); 2022-04-10T01:51:00,223 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,223 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_ol_version_trigger" for relation "diku_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,223 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON diku_mod_orders_storage.pieces CASCADE; 2022-04-10T01:51:00,223 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T01:51:00,224 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.pieces_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,224 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T01:51:00,224 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,229 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,229 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,230 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_invoice_relationship" for relation "diku_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,230 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,230 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,230 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,230 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,230 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,231 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,231 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,231 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,231 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,231 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,231 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON diku_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T01:51:00,232 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_invoice_relationship_purchaseorderid_invoiceid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON diku_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,235 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON diku_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T01:51:00,235 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T01:51:00,235 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T01:51:00,236 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,237 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,237 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON diku_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T01:51:00,240 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON diku_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T01:51:00,240 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T01:51:00,241 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T01:51:00,241 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,241 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,241 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,241 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_invoice_relationship_references" for relation "diku_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,242 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,242 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T01:51:00,242 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T01:51:00,242 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,243 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,243 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T01:51:00,243 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.order_invoice_relationship_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,243 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T01:51:00,243 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,243 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_trigger" for relation "diku_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T01:51:00,244 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.set_order_invoice_relationship_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T01:51:00,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,244 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_json_trigger" for relation "diku_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,245 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_ol_version_trigger" for relation "diku_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,245 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON diku_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T01:51:00,245 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T01:51:00,245 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.order_invoice_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,245 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T01:51:00,245 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,251 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,251 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,252 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit" for relation "diku_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,252 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,252 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,252 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,252 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,252 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,253 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,253 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,253 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,253 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,254 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_isdeleted_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_isDeleted_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,257 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,257 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,257 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_protectread_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_protectRead_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,260 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,260 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T01:51:00,260 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,263 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON diku_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T01:51:00,263 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,263 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_references" for relation "diku_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,263 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,263 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T01:51:00,264 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_acquisitions_unit_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,264 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T01:51:00,264 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,264 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,264 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,265 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_trigger" for relation "diku_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,265 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,265 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON diku_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T01:51:00,265 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON diku_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T01:51:00,265 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,266 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,266 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,266 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_json_trigger" for relation "diku_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,266 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,266 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T01:51:00,267 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T01:51:00,267 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,267 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_ol_version_trigger" for relation "diku_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,267 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON diku_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T01:51:00,267 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T01:51:00,267 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.acquisitions_unit_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,268 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T01:51:00,268 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS diku_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T01:51:00,268 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "acquisitions_unit_assignments" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,268 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS diku_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T01:51:00,268 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS diku_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T01:51:00,268 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "not_existing_auditing_table" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,268 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS diku_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T01:51:00,268 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T01:51:00,269 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_acquisitions_unit_assignments_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,269 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T01:51:00,269 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T01:51:00,269 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,269 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T01:51:00,269 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,275 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,275 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,275 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit_membership" for relation "diku_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,275 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,275 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,276 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,276 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,276 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,276 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,276 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,277 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,277 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON diku_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,277 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_membership_userid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_membership_userId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON diku_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,280 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON diku_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,280 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T01:51:00,280 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T01:51:00,280 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,281 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T01:51:00,281 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON diku_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T01:51:00,284 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON diku_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T01:51:00,284 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T01:51:00,284 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T01:51:00,284 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,285 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,285 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,285 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_membership_references" for relation "diku_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,285 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,285 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T01:51:00,285 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T01:51:00,285 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,286 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T01:51:00,286 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,286 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,286 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,287 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_trigger" for relation "diku_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,287 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,287 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T01:51:00,287 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T01:51:00,287 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,288 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,288 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,288 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_json_trigger" for relation "diku_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,288 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,288 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T01:51:00,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T01:51:00,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,289 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_ol_version_trigger" for relation "diku_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON diku_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T01:51:00,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T01:51:00,289 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.acquisitions_unit_membership_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T01:51:00,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,294 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,295 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_templates ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,295 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_templates" for relation "diku_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,295 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_templates ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,295 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,295 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,295 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,295 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,296 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,296 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,296 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,296 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,296 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,296 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON diku_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T01:51:00,297 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_templates_templatename_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_templates_templateName_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON diku_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,299 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON diku_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T01:51:00,299 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_templates_references ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_templates_references" for relation "diku_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_templates_references ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,300 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_order_templates_references(); 2022-04-10T01:51:00,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_order_templates_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_order_templates_references(); 2022-04-10T01:51:00,300 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T01:51:00,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.order_templates_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T01:51:00,301 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,301 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_trigger" for relation "diku_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,301 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,301 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T01:51:00,301 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.set_order_templates_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,301 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T01:51:00,301 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,302 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_json_trigger" for relation "diku_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,302 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,302 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,302 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_ol_version_trigger" for relation "diku_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,302 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON diku_mod_orders_storage.order_templates CASCADE; 2022-04-10T01:51:00,302 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T01:51:00,303 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.order_templates_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,303 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T01:51:00,303 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,308 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,309 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,309 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reasons_for_closure" for relation "diku_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,309 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,309 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,309 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,309 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,309 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,310 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,310 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,310 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,310 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,310 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,310 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON diku_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T01:51:00,311 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "reasons_for_closure_reason_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS reasons_for_closure_reason_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON diku_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,314 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON diku_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T01:51:00,314 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reasons_for_closure_references" for relation "diku_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T01:51:00,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_reasons_for_closure_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T01:51:00,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T01:51:00,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.reasons_for_closure_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T01:51:00,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,316 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_trigger" for relation "diku_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,316 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,316 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T01:51:00,316 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.set_reasons_for_closure_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,316 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T01:51:00,316 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,316 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_json_trigger" for relation "diku_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,317 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,317 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,317 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_ol_version_trigger" for relation "diku_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,317 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON diku_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T01:51:00,317 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T01:51:00,317 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.reasons_for_closure_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,317 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T01:51:00,317 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,323 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,323 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_prefixes ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,323 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_prefixes" for relation "diku_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,323 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_prefixes ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,323 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,323 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,323 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,323 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,324 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,324 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,324 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,324 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,324 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,324 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON diku_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T01:51:00,325 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "prefixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS prefixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON diku_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,327 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON diku_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T01:51:00,327 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_prefixes_references ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,327 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_prefixes_references" for relation "diku_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,327 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_prefixes_references ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,327 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_prefixes_references(); 2022-04-10T01:51:00,328 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_prefixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,328 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_prefixes_references(); 2022-04-10T01:51:00,328 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T01:51:00,328 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.prefixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,328 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T01:51:00,328 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,328 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_trigger" for relation "diku_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,328 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,328 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T01:51:00,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.set_prefixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T01:51:00,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_json_trigger" for relation "diku_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_ol_version_trigger" for relation "diku_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON diku_mod_orders_storage.prefixes CASCADE; 2022-04-10T01:51:00,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T01:51:00,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.prefixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,330 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T01:51:00,330 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,336 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,336 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_suffixes ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,336 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_suffixes" for relation "diku_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,336 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_suffixes ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,336 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,337 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,337 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,337 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON diku_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T01:51:00,338 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "suffixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS suffixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON diku_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,340 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON diku_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T01:51:00,340 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_suffixes_references ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,341 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_suffixes_references" for relation "diku_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_suffixes_references ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_suffixes_references(); 2022-04-10T01:51:00,341 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_suffixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_suffixes_references(); 2022-04-10T01:51:00,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T01:51:00,341 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.suffixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T01:51:00,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,342 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_trigger" for relation "diku_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T01:51:00,342 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.set_suffixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T01:51:00,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,342 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_json_trigger" for relation "diku_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,343 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_ol_version_trigger" for relation "diku_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,343 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON diku_mod_orders_storage.suffixes CASCADE; 2022-04-10T01:51:00,343 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T01:51:00,343 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.suffixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,343 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T01:51:00,343 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,348 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,348 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,349 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisition_method" for relation "diku_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,349 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,349 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,349 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,349 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,349 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,350 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,350 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,350 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,350 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,350 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T01:51:00,350 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON diku_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T01:51:00,351 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisition_method_value_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisition_method_value_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON diku_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,353 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON diku_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T01:51:00,354 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisition_method_references ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,354 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisition_method_references" for relation "diku_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,354 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisition_method_references ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,354 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T01:51:00,354 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_acquisition_method_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,354 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T01:51:00,354 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T01:51:00,355 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.acquisition_method_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,355 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_trigger" for relation "diku_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T01:51:00,355 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.set_acquisition_method_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,355 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_json_trigger" for relation "diku_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,355 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,356 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_ol_version_trigger" for relation "diku_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,356 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON diku_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T01:51:00,356 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T01:51:00,356 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.acquisition_method_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,356 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T01:51:00,356 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,361 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS diku_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T01:51:00,361 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_export_history ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,361 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_export_history" for relation "diku_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,362 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_export_history ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,362 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,362 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "diku_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,362 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,362 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,362 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON diku_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T01:51:00,362 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE diku_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,363 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE diku_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T01:51:00,363 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON diku_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,363 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON diku_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,366 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON diku_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T01:51:00,366 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON diku_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T01:51:00,366 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportjobid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportJobId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON diku_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,368 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON diku_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T01:51:00,368 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_export_history_references ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,369 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_export_history_references" for relation "diku_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,369 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_export_history_references ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,369 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_export_history_references(); 2022-04-10T01:51:00,369 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.update_export_history_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,369 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.update_export_history_references(); 2022-04-10T01:51:00,369 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,370 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,370 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_trigger ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,370 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_trigger" for relation "diku_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,370 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_trigger ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,370 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON diku_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.export_history_set_md(); 2022-04-10T01:51:00,370 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON diku_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.export_history_set_md(); 2022-04-10T01:51:00,370 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,371 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T01:51:00,371 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,371 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_json_trigger" for relation "diku_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,371 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,371 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_export_history_md_json(); 2022-04-10T01:51:00,371 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON diku_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE diku_mod_orders_storage.set_export_history_md_json(); 2022-04-10T01:51:00,371 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,372 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_ol_version_trigger" for relation "diku_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,372 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON diku_mod_orders_storage.export_history CASCADE; 2022-04-10T01:51:00,372 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS diku_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T01:51:00,372 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function diku_mod_orders_storage.export_history_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,372 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS diku_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T01:51:00,372 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T01:51:00,374 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T01:51:00,374 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS orders_view; 2022-04-10T01:51:00,375 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,375 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS orders_view; 2022-04-10T01:51:00,375 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS order_lines_view; 2022-04-10T01:51:00,375 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "order_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,375 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS order_lines_view; 2022-04-10T01:51:00,375 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T01:51:00,375 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "purchase_orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,375 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T01:51:00,375 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS po_lines_view; 2022-04-10T01:51:00,376 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "po_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,376 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS po_lines_view; 2022-04-10T01:51:00,376 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T01:51:00,377 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T01:51:00,377 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T01:51:00,377 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,377 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T01:51:00,377 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO diku_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM diku_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T01:51:00,378 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO diku_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM diku_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T01:51:00,378 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T01:51:00,379 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T01:51:00,379 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T01:51:00,379 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T01:51:00,379 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T01:51:00,379 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T01:51:00,379 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T01:51:00,380 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T01:51:00,380 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T01:51:00,380 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T01:51:00,380 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from diku_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T01:51:00,381 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from diku_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T01:51:00,381 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from diku_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T01:51:00,381 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from diku_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T01:51:00,381 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM diku_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T01:51:00,381 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM diku_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T01:51:00,381 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from diku_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T01:51:00,382 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from diku_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T01:51:00,382 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T01:51:00,382 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,382 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T01:51:00,382 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE diku_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T01:51:00,383 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION diku_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE diku_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T01:51:00,383 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T01:51:00,383 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T01:51:00,383 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM diku_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T01:51:00,384 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM diku_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T01:51:00,384 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE diku_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T01:51:00,384 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE diku_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T01:51:00,384 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T01:51:00,385 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T01:51:00,385 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM diku_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T01:51:00,385 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM diku_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T01:51:00,385 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM diku_mod_orders_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_orders_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_orders_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 $$; 2022-04-10T01:51:00,386 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM diku_mod_orders_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_orders_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_orders_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 $$; 2022-04-10T01:51:00,386 INFO [vert.x-eventloop-thread-1] PostgresClient 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 $$; 2022-04-10T01:51:00,388 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$; 2022-04-10T01:51:00,388 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2022-04-10T01:51:00,391 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2022-04-10T01:51:00,391 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA diku_mod_orders_storage TO diku_mod_orders_storage; 2022-04-10T01:51:00,392 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA diku_mod_orders_storage TO diku_mod_orders_storage; 2022-04-10T01:51:00,392 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE diku_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T01:51:00,393 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE diku_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T01:51:00,406 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI postTenant 2022-04-10T01:51:00,487 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,533 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T01:51:00,533 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: diku 2022-04-10T01:51:00,533 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"diku_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T01:51:00,545 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/ebe73dd1-fa30-4c36-aad9-6c95ea5207ae null HTTP_1_1 404 9 78 tid=diku Not Found 2022-04-10T01:51:00,557 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,569 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 116 13 tid=diku Created 2022-04-10T01:51:00,570 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T01:51:00,574 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,577 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 GET /_/tenant/3ad18ad9-2860-424e-87e3-4143aad5cb49 null HTTP_1_1 200 430 6 tid=diku OK 2022-04-10T01:51:00,581 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/af55e63f-10f9-4919-add9-6feaf7097a6c null HTTP_1_1 404 9 7 tid=diku Not Found 2022-04-10T01:51:00,583 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,592 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 9 tid=diku Created 2022-04-10T01:51:00,595 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,601 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/22bddeeb-6cbe-45bd-b73d-7343e28c0626 null HTTP_1_1 404 9 6 tid=diku Not Found 2022-04-10T01:51:00,604 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,608 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 104 5 tid=diku Created 2022-04-10T01:51:00,611 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,613 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/b72e8ea6-67b3-4238-9257-5d8e29b95694 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,615 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,618 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 123 4 tid=diku Created 2022-04-10T01:51:00,621 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,622 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/29936d21-93e4-4ab3-9ac4-2d11fa40e942 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,624 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,627 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 3 tid=diku Created 2022-04-10T01:51:00,629 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,632 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/dcbb7f40-f2ae-4ad3-a367-27bff67ff6e6 null HTTP_1_1 404 9 3 tid=diku Not Found 2022-04-10T01:51:00,633 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,636 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 3 tid=diku Created 2022-04-10T01:51:00,638 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,640 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,641 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,644 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 100 2 tid=diku Created 2022-04-10T01:51:00,646 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,647 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/71a233f8-edac-4e8e-9600-d55222d64273 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,649 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,652 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 3 tid=diku Created 2022-04-10T01:51:00,654 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,656 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/d17f9d15-4520-49ad-9ffa-123e7739ae53 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,657 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,660 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 125 2 tid=diku Created 2022-04-10T01:51:00,661 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,664 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/8ab21f8d-1343-4228-ac5c-2979ba99412b null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,665 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,668 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 112 3 tid=diku Created 2022-04-10T01:51:00,670 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,671 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/7c11e86e-4776-4f4f-9aa4-13e83b4ef44d null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,673 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,675 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 3 tid=diku Created 2022-04-10T01:51:00,678 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,679 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/65a75ad7-fbbe-4139-9c69-79fbba805ce9 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,682 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,685 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 114 3 tid=diku Created 2022-04-10T01:51:00,687 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,689 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/71a83ae9-6af0-479e-b579-4904b24a3300 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,691 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,694 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 110 3 tid=diku Created 2022-04-10T01:51:00,696 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,698 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/8f11f23a-e101-4861-8df2-152da9ce4889 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,700 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,703 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 3 tid=diku Created 2022-04-10T01:51:00,705 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,707 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/cae85c3d-a839-420a-868d-283cedb1fd2f null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,709 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,712 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 97 3 tid=diku Created 2022-04-10T01:51:00,714 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,717 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/27d10e3b-66cc-490b-bee6-7c1b2b07394c null HTTP_1_1 404 9 3 tid=diku Not Found 2022-04-10T01:51:00,719 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,723 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 99 5 tid=diku Created 2022-04-10T01:51:00,725 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,727 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/89389f7b-54e9-4b95-b5d0-f89c29b71147 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,729 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,733 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 96 4 tid=diku Created 2022-04-10T01:51:00,735 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:00,736 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/a47051ec-7a4f-499f-9541-a5fc5deb2f41 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,738 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:00,741 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 121 3 tid=diku Created 2022-04-10T01:51:00,766 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,772 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/da6703b1-81fe-44af-927a-94f24d1ab8ee null HTTP_1_1 404 9 18 tid=diku Not Found 2022-04-10T01:51:00,775 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,780 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 222 5 tid=diku Created 2022-04-10T01:51:00,782 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,783 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/8a33895e-2c69-4a98-ab48-b7ec1fa852d0 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:00,785 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,787 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 225 2 tid=diku Created 2022-04-10T01:51:00,789 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,790 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,791 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,793 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 242 2 tid=diku Created 2022-04-10T01:51:00,795 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,796 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/0a4163a5-d225-4007-ad90-2fb41b73efab null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,798 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,800 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 221 2 tid=diku Created 2022-04-10T01:51:00,801 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,803 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/041035ad-b2a4-4aa0-b6a5-234b88bf938c null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,804 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,806 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 249 2 tid=diku Created 2022-04-10T01:51:00,808 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,810 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 404 9 3 tid=diku Not Found 2022-04-10T01:51:00,812 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,814 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 230 2 tid=diku Created 2022-04-10T01:51:00,815 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,816 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/86d12634-b848-4968-adf0-5a95ce41c41b null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,818 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,820 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 221 2 tid=diku Created 2022-04-10T01:51:00,822 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,823 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/d0d3811c-19f8-4c57-a462-958165cdbbea null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,826 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,828 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 226 3 tid=diku Created 2022-04-10T01:51:00,829 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,831 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/d2420b93-7b93-41b7-8b42-798f64cb6dd2 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,832 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,834 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 227 2 tid=diku Created 2022-04-10T01:51:00,835 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,836 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/df26d81b-9d63-4ff8-bf41-49bf75cfa70e null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,837 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,839 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 225 2 tid=diku Created 2022-04-10T01:51:00,841 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,842 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/0c9b09c9-b94f-4702-aa63-a7f43617a225 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,843 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,845 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 234 2 tid=diku Created 2022-04-10T01:51:00,847 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,848 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/5771a8a4-9323-49ee-9002-1b068d71ff42 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,849 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,851 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 227 2 tid=diku Created 2022-04-10T01:51:00,852 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T01:51:00,854 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/acquisition-methods/aaa541f3-39d2-4887-ab8f-6ba12d08ca52 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:00,855 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T01:51:00,857 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/acquisition-methods null HTTP_1_1 201 250 2 tid=diku Created 2022-04-10T01:51:00,865 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAlertsById 2022-04-10T01:51:00,875 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/alerts/dc08f15e-a3ec-423a-bd1c-86a8ce6c5872 null HTTP_1_1 404 9 12 tid=diku Not Found 2022-04-10T01:51:00,876 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAlerts 2022-04-10T01:51:00,880 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/alerts null HTTP_1_1 201 82 3 tid=diku Created 2022-04-10T01:51:00,890 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageReportingCodesById 2022-04-10T01:51:00,899 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/reporting-codes/5926dcd7-85f5-4504-8283-712595ebc38b null HTTP_1_1 404 9 12 tid=diku Not Found 2022-04-10T01:51:00,901 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageReportingCodes 2022-04-10T01:51:00,904 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/reporting-codes null HTTP_1_1 201 71 4 tid=diku Created 2022-04-10T01:51:00,929 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T01:51:00,943 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE ( purchaseOrderId = '589a6016-3463-49f6-8aa2-dc315d0665fd') >>>WHERE ( purchaseOrderId = '589a6016-3463-49f6-8aa2-dc315d0665fd') 2022-04-10T01:51:00,945 ERROR [vert.x-eventloop-thread-1] PurchaseOrdersAPI POL number sequence for order with id=null is not exist 2022-04-10T01:51:00,956 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=589a6016-3463-49f6-8aa2-dc315d0665fd 2022-04-10T01:51:00,962 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/purchase-orders/589a6016-3463-49f6-8aa2-dc315d0665fd null HTTP_1_1 404 9 52 tid=diku Not Found 2022-04-10T01:51:00,964 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T01:51:00,971 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42P07', message='relation "polNumber_589a6016-3463-49f6-8aa2-dc315d0665fd" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='sequence.c', line='152', routine='DefineSequence', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,972 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@e498a5d6 and associated data were successfully created 2022-04-10T01:51:00,978 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/purchase-orders null HTTP_1_1 201 708 14 tid=diku Created 2022-04-10T01:51:00,980 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T01:51:00,981 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE ( purchaseOrderId = '55b97a4a-6601-4488-84e1-8b0d47a3f523') >>>WHERE ( purchaseOrderId = '55b97a4a-6601-4488-84e1-8b0d47a3f523') 2022-04-10T01:51:00,981 ERROR [vert.x-eventloop-thread-1] PurchaseOrdersAPI POL number sequence for order with id=null is not exist 2022-04-10T01:51:00,983 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=55b97a4a-6601-4488-84e1-8b0d47a3f523 2022-04-10T01:51:00,985 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/purchase-orders/55b97a4a-6601-4488-84e1-8b0d47a3f523 null HTTP_1_1 404 9 5 tid=diku Not Found 2022-04-10T01:51:00,987 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T01:51:00,989 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42P07', message='relation "polNumber_55b97a4a-6601-4488-84e1-8b0d47a3f523" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='sequence.c', line='152', routine='DefineSequence', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:00,990 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@b4fbcc7d and associated data were successfully created 2022-04-10T01:51:00,991 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/purchase-orders null HTTP_1_1 201 600 4 tid=diku Created 2022-04-10T01:51:00,999 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T01:51:01,000 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE ( purchaseOrderId = 'cf4bfd64-e609-4ecb-b3e6-7a5a1ced1645') >>>WHERE ( purchaseOrderId = 'cf4bfd64-e609-4ecb-b3e6-7a5a1ced1645') 2022-04-10T01:51:01,000 ERROR [vert.x-eventloop-thread-1] PurchaseOrdersAPI POL number sequence for order with id=null is not exist 2022-04-10T01:51:01,002 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=cf4bfd64-e609-4ecb-b3e6-7a5a1ced1645 2022-04-10T01:51:01,003 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/purchase-orders/cf4bfd64-e609-4ecb-b3e6-7a5a1ced1645 null HTTP_1_1 404 9 11 tid=diku Not Found 2022-04-10T01:51:01,005 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T01:51:01,007 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42P07', message='relation "polNumber_cf4bfd64-e609-4ecb-b3e6-7a5a1ced1645" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='sequence.c', line='152', routine='DefineSequence', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:01,008 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@230a648f and associated data were successfully created 2022-04-10T01:51:01,009 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/purchase-orders null HTTP_1_1 201 452 4 tid=diku Created 2022-04-10T01:51:01,012 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T01:51:01,013 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE ( purchaseOrderId = 'c27e60f9-6361-44c1-976e-0c4821a33a7d') >>>WHERE ( purchaseOrderId = 'c27e60f9-6361-44c1-976e-0c4821a33a7d') 2022-04-10T01:51:01,013 ERROR [vert.x-eventloop-thread-1] PurchaseOrdersAPI POL number sequence for order with id=null is not exist 2022-04-10T01:51:01,015 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=c27e60f9-6361-44c1-976e-0c4821a33a7d 2022-04-10T01:51:01,017 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/purchase-orders/c27e60f9-6361-44c1-976e-0c4821a33a7d null HTTP_1_1 404 9 7 tid=diku Not Found 2022-04-10T01:51:01,019 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T01:51:01,021 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42P07', message='relation "polNumber_c27e60f9-6361-44c1-976e-0c4821a33a7d" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='sequence.c', line='152', routine='DefineSequence', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:01,022 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@878f7789 and associated data were successfully created 2022-04-10T01:51:01,027 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/purchase-orders null HTTP_1_1 201 671 8 tid=diku Created 2022-04-10T01:51:01,029 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T01:51:01,030 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE ( purchaseOrderId = '9447d062-89ec-486e-a14b-572f3efb9f8c') >>>WHERE ( purchaseOrderId = '9447d062-89ec-486e-a14b-572f3efb9f8c') 2022-04-10T01:51:01,030 ERROR [vert.x-eventloop-thread-1] PurchaseOrdersAPI POL number sequence for order with id=null is not exist 2022-04-10T01:51:01,032 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=9447d062-89ec-486e-a14b-572f3efb9f8c 2022-04-10T01:51:01,033 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/purchase-orders/9447d062-89ec-486e-a14b-572f3efb9f8c null HTTP_1_1 404 9 5 tid=diku Not Found 2022-04-10T01:51:01,035 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T01:51:01,037 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42P07', message='relation "polNumber_9447d062-89ec-486e-a14b-572f3efb9f8c" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='sequence.c', line='152', routine='DefineSequence', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:01,038 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@93647ec3 and associated data were successfully created 2022-04-10T01:51:01,038 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/purchase-orders null HTTP_1_1 201 462 4 tid=diku Created 2022-04-10T01:51:01,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T01:51:01,042 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE ( purchaseOrderId = '0610be6d-0ddd-494b-b867-19f63d8b5d6d') >>>WHERE ( purchaseOrderId = '0610be6d-0ddd-494b-b867-19f63d8b5d6d') 2022-04-10T01:51:01,042 ERROR [vert.x-eventloop-thread-1] PurchaseOrdersAPI POL number sequence for order with id=null is not exist 2022-04-10T01:51:01,044 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=0610be6d-0ddd-494b-b867-19f63d8b5d6d 2022-04-10T01:51:01,045 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/purchase-orders/0610be6d-0ddd-494b-b867-19f63d8b5d6d null HTTP_1_1 404 9 5 tid=diku Not Found 2022-04-10T01:51:01,047 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T01:51:01,048 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T01:51:01,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 GET /_/tenant/3ad18ad9-2860-424e-87e3-4143aad5cb49 null HTTP_1_1 200 430 4 tid=diku OK 2022-04-10T01:51:01,051 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42P07', message='relation "polNumber_0610be6d-0ddd-494b-b867-19f63d8b5d6d" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='sequence.c', line='152', routine='DefineSequence', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T01:51:01,052 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@54cf649b and associated data were successfully created 2022-04-10T01:51:01,053 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/purchase-orders null HTTP_1_1 201 487 5 tid=diku Created 2022-04-10T01:51:01,099 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T01:51:01,119 ERROR [vert.x-eventloop-thread-1] PoLinesAPI POLine io.vertx.ext.web.handler.HttpException: Not Found org.folio.rest.jaxrs.model.PoLine@18fa3798 updated 2022-04-10T01:51:01,120 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/po-lines/647c1dca-b9bf-47af-8456-bfb6dfef9eee null HTTP_1_1 404 9 58 tid=diku Not Found 2022-04-10T01:51:01,123 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T01:51:01,135 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@bf556688 and associated data were successfully created 2022-04-10T01:51:01,148 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/po-lines null HTTP_1_1 201 2841 26 tid=diku Created 2022-04-10T01:51:01,157 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T01:51:01,162 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/po-lines/baec48dd-1594-2712-be8f-de336bc83fcc null HTTP_1_1 404 9 11 tid=diku Not Found 2022-04-10T01:51:01,165 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T01:51:01,176 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/po-lines null HTTP_1_1 201 3416 12 tid=diku Created 2022-04-10T01:51:01,180 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T01:51:01,182 ERROR [vert.x-eventloop-thread-1] PoLinesAPI POLine io.vertx.ext.web.handler.HttpException: Not Found org.folio.rest.jaxrs.model.PoLine@a326c8b updated 2022-04-10T01:51:01,183 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/po-lines/556abc25-ebbf-3fb2-b478-1bfaff0af4dc null HTTP_1_1 404 9 5 tid=diku Not Found 2022-04-10T01:51:01,186 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T01:51:01,198 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@ba00b0c7 and associated data were successfully created 2022-04-10T01:51:01,201 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/po-lines null HTTP_1_1 201 2324 16 tid=diku Created 2022-04-10T01:51:01,204 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T01:51:01,207 ERROR [vert.x-eventloop-thread-1] PoLinesAPI POLine io.vertx.ext.web.handler.HttpException: Not Found org.folio.rest.jaxrs.model.PoLine@c6116f09 updated 2022-04-10T01:51:01,207 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/po-lines/ee0b9edb-5508-5f3e-a33b-0adb42fdcdc5 null HTTP_1_1 404 9 4 tid=diku Not Found 2022-04-10T01:51:01,210 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T01:51:01,217 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@75dfb345 and associated data were successfully created 2022-04-10T01:51:01,219 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/po-lines null HTTP_1_1 201 2581 10 tid=diku Created 2022-04-10T01:51:01,224 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T01:51:01,237 ERROR [vert.x-eventloop-thread-1] PoLinesAPI POLine io.vertx.ext.web.handler.HttpException: Not Found org.folio.rest.jaxrs.model.PoLine@7403eea7 updated 2022-04-10T01:51:01,238 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/po-lines/b9cc5473-bb40-1d61-afc0-d3a5ba0ed0a8 null HTTP_1_1 404 9 16 tid=diku Not Found 2022-04-10T01:51:01,242 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T01:51:01,248 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@3b770551 and associated data were successfully created 2022-04-10T01:51:01,250 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/po-lines null HTTP_1_1 201 2464 10 tid=diku Created 2022-04-10T01:51:01,261 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageTitlesById 2022-04-10T01:51:01,272 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/titles/7cef39f1-4fb1-49d5-9a6b-a072e632144d null HTTP_1_1 404 9 18 tid=diku Not Found 2022-04-10T01:51:01,274 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageTitles 2022-04-10T01:51:01,279 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/titles null HTTP_1_1 201 599 5 tid=diku Created 2022-04-10T01:51:01,302 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageOrderTemplatesById 2022-04-10T01:51:01,315 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/order-templates/5c56e4f6-1296-4b5f-a6dc-8309d9983a16 null HTTP_1_1 404 9 28 tid=diku Not Found 2022-04-10T01:51:01,318 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageOrderTemplates 2022-04-10T01:51:01,322 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/order-templates null HTTP_1_1 201 1036 5 tid=diku Created 2022-04-10T01:51:01,324 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageOrderTemplatesById 2022-04-10T01:51:01,326 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:01,328 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageOrderTemplates 2022-04-10T01:51:01,331 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/order-templates null HTTP_1_1 201 1067 3 tid=diku Created 2022-04-10T01:51:01,333 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageOrderTemplatesById 2022-04-10T01:51:01,334 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/order-templates/cc637c23-d1fb-47b9-bcda-1d6f0812dc01 null HTTP_1_1 404 9 2 tid=diku Not Found 2022-04-10T01:51:01,336 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageOrderTemplates 2022-04-10T01:51:01,338 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/order-templates null HTTP_1_1 201 1110 3 tid=diku Created 2022-04-10T01:51:01,340 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageOrderTemplatesById 2022-04-10T01:51:01,341 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/order-templates/43bb8a31-4e4b-463c-95c5-e163760f0092 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:01,342 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageOrderTemplates 2022-04-10T01:51:01,345 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/order-templates null HTTP_1_1 201 901 3 tid=diku Created 2022-04-10T01:51:01,347 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageOrderTemplatesById 2022-04-10T01:51:01,348 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/order-templates/2cec3275-a5c7-4ba1-afab-905ada8c5b65 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:01,349 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageOrderTemplates 2022-04-10T01:51:01,351 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/order-templates null HTTP_1_1 201 955 2 tid=diku Created 2022-04-10T01:51:01,360 INFO [vert.x-eventloop-thread-1] RestRouting invoking putAcquisitionsUnitsStorageUnitsById 2022-04-10T01:51:01,373 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /acquisitions-units-storage/units/0ebb1f7d-983f-3026-8a4c-5318e0ebc041 null HTTP_1_1 404 9 16 tid=diku Not Found 2022-04-10T01:51:01,374 INFO [vert.x-eventloop-thread-1] RestRouting invoking postAcquisitionsUnitsStorageUnits 2022-04-10T01:51:01,378 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /acquisitions-units-storage/units null HTTP_1_1 201 323 4 tid=diku Created 2022-04-10T01:51:01,384 INFO [vert.x-eventloop-thread-1] RestRouting invoking putAcquisitionsUnitsStorageMembershipsById 2022-04-10T01:51:01,387 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /acquisitions-units-storage/memberships/6bad4244-0922-450a-bcef-cfa4233a0f7f null HTTP_1_1 404 9 4 tid=diku Not Found 2022-04-10T01:51:01,388 INFO [vert.x-eventloop-thread-1] RestRouting invoking postAcquisitionsUnitsStorageMemberships 2022-04-10T01:51:01,391 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /acquisitions-units-storage/memberships null HTTP_1_1 201 296 4 tid=diku Created 2022-04-10T01:51:01,398 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T01:51:01,399 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/reasons-for-closure/41153a11-6bb8-4217-93b8-0c83c8b019f5 null HTTP_1_1 404 9 1 tid=diku Not Found 2022-04-10T01:51:01,400 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T01:51:01,402 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 2 tid=diku Created 2022-04-10T01:51:01,408 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationPrefixesById 2022-04-10T01:51:01,410 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/prefixes/db9f5d17-0ca3-4d14-ae49-16b63c8fc083 null HTTP_1_1 404 9 4 tid=diku Not Found 2022-04-10T01:51:01,412 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationPrefixes 2022-04-10T01:51:01,415 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/prefixes null HTTP_1_1 201 116 4 tid=diku Created 2022-04-10T01:51:01,425 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationSuffixesById 2022-04-10T01:51:01,428 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 PUT /orders-storage/configuration/suffixes/0c966bd2-0ca6-43a2-9388-3a4403f19e6f null HTTP_1_1 404 9 6 tid=diku Not Found 2022-04-10T01:51:01,430 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationSuffixes 2022-04-10T01:51:01,434 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33180 POST /orders-storage/configuration/suffixes null HTTP_1_1 201 115 4 tid=diku Created 2022-04-10T01:51:01,438 INFO [vert.x-eventloop-thread-1] TenantAPI job 3ad18ad9-2860-424e-87e3-4143aad5cb49 completed 2022-04-10T01:51:01,638 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T01:51:01,642 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 GET /_/tenant/3ad18ad9-2860-424e-87e3-4143aad5cb49 null HTTP_1_1 200 489 3 tid=diku OK 2022-04-10T01:51:01,643 INFO [vert.x-eventloop-thread-1] RestRouting invoking deleteTenantByOperationId 2022-04-10T01:51:01,643 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI deleteTenant 2022-04-10T01:51:01,653 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54074 DELETE /_/tenant/3ad18ad9-2860-424e-87e3-4143aad5cb49 null HTTP_1_1 204 0 10 tid=diku No Content 2022-04-10T04:44:35,300 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 4:44:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T04:44:35,317 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T04:44:35,317 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: diku 2022-04-10T04:44:35,317 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"diku_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} Apr 10, 2022 4:44:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) 2022-04-10T04:44:35,344 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: instanceId==cf23adf0-61ba-4887-bf82-956c4aae2260 >>>WHERE lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) LIMIT 5000 OFFSET 0 Apr 10, 2022 4:44:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) Apr 10, 2022 4:44:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) Apr 10, 2022 4:44:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) Apr 10, 2022 4:44:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) 2022-04-10T04:44:35,357 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54076 GET /orders-storage/titles offset=0&query=instanceId%3D%3Dcf23adf0-61ba-4887-bf82-956c4aae2260&limit=5000 HTTP_1_1 200 42 57 tid=diku OK 2022-04-10T04:45:06,841 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 4:45:06 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 4:45:06 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) Apr 10, 2022 4:45:06 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) 2022-04-10T04:45:06,850 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: instanceId==cf23adf0-61ba-4887-bf82-956c4aae2260 >>>WHERE lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) LIMIT 5000 OFFSET 0 Apr 10, 2022 4:45:06 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) Apr 10, 2022 4:45:06 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) Apr 10, 2022 4:45:06 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId == cf23adf0-61ba-4887-bf82-956c4aae2260 >>> lower(f_unaccent(titles.jsonb->>'instanceId')) LIKE lower(f_unaccent('cf23adf0-61ba-4887-bf82-956c4aae2260')) 2022-04-10T04:45:06,858 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54076 GET /orders-storage/titles offset=0&query=instanceId%3D%3Dcf23adf0-61ba-4887-bf82-956c4aae2260&limit=5000 HTTP_1_1 200 42 17 tid=diku OK 2022-04-10T05:11:15,171 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,199 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==c27e60f9-6361-44c1-976e-0c4821a33a7d >>>WHERE purchaseOrderId='c27e60f9-6361-44c1-976e-0c4821a33a7d' LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,230 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54078 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3Dc27e60f9-6361-44c1-976e-0c4821a33a7d HTTP_1_1 200 61 59 tid=diku OK 2022-04-10T05:11:15,433 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,493 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,497 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T05:11:15,503 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,511 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54078 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 79 tid=diku OK 2022-04-10T05:11:15,520 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54080 GET /orders-storage/purchase-orders/c27e60f9-6361-44c1-976e-0c4821a33a7d null HTTP_1_1 200 671 23 tid=diku OK 2022-04-10T05:11:15,526 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,527 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,534 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 31 tid=diku OK 2022-04-10T05:11:15,556 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,559 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,564 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,580 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 21 tid=diku OK 2022-04-10T05:11:15,583 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54080 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 56 tid=diku OK 2022-04-10T05:11:15,657 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,661 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,662 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,666 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,678 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 20 tid=diku OK 2022-04-10T05:11:15,681 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54080 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 19 tid=diku OK 2022-04-10T05:11:15,682 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,685 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,687 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,690 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,694 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,696 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,700 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 12 tid=diku OK 2022-04-10T05:11:15,701 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54078 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 18 tid=diku OK 2022-04-10T05:11:15,705 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 11 tid=diku OK 2022-04-10T05:11:15,706 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,710 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,715 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 8 tid=diku OK 2022-04-10T05:11:15,733 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,741 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==c27e60f9-6361-44c1-976e-0c4821a33a7d) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='c27e60f9-6361-44c1-976e-0c4821a33a7d') LIMIT 10 OFFSET 0 2022-04-10T05:11:15,758 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dc27e60f9-6361-44c1-976e-0c4821a33a7d%29&lang=en HTTP_1_1 200 772 26 tid=diku OK 2022-04-10T05:11:15,760 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T05:11:15,782 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (((metadata.createdDate=="Invalid date*" or dateOrdered=="Invalid date*" or poNumber=="***"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END) OR (CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END)) OR (lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')))) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T05:11:15,788 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,794 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==c27e60f9-6361-44c1-976e-0c4821a33a7d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='c27e60f9-6361-44c1-976e-0c4821a33a7d') LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,796 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,797 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==c27e60f9-6361-44c1-976e-0c4821a33a7d >>>WHERE purchaseOrderId='c27e60f9-6361-44c1-976e-0c4821a33a7d' LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,800 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,802 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T05:11:15,809 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28%28metadata.createdDate%3D%3D%22Invalid+date*%22+or+dateOrdered%3D%3D%22Invalid+date*%22+or+poNumber%3D%3D%22***%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 3673 49 tid=diku OK 2022-04-10T05:11:15,816 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dc27e60f9-6361-44c1-976e-0c4821a33a7d&limit=2147483647 HTTP_1_1 200 2534 20 tid=diku OK 2022-04-10T05:11:15,820 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,822 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,826 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54078 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 26 tid=diku OK 2022-04-10T05:11:15,830 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54080 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dc27e60f9-6361-44c1-976e-0c4821a33a7d%29&limit=1000 HTTP_1_1 200 2534 43 tid=diku OK 2022-04-10T05:11:15,832 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,834 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:15,836 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 15 tid=diku OK 2022-04-10T05:11:15,838 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T05:11:15,919 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 5:11:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:15,921 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(556abc25-ebbf-3fb2-b478-1bfaff0af4dc) >>>WHERE poLineId='556abc25-ebbf-3fb2-b478-1bfaff0af4dc' LIMIT 15 OFFSET 0 2022-04-10T05:11:15,924 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28556abc25-ebbf-3fb2-b478-1bfaff0af4dc%29&limit=15 HTTP_1_1 200 564 5 tid=diku OK 2022-04-10T05:11:16,562 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:11:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:16,564 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:16,565 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:16,567 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:16,569 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T05:11:16,571 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T05:11:25,460 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:25 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:25,462 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T05:11:25,465 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T05:11:25,589 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:11:25 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:25,591 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:25,594 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T05:11:25,604 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:11:25 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:11:25,606 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:11:25,610 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T05:12:04,036 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,047 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==55b97a4a-6601-4488-84e1-8b0d47a3f523 >>>WHERE purchaseOrderId='55b97a4a-6601-4488-84e1-8b0d47a3f523' LIMIT 1000 OFFSET 0 2022-04-10T05:12:04,049 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T05:12:04,052 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,054 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,057 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D55b97a4a-6601-4488-84e1-8b0d47a3f523 HTTP_1_1 200 61 20 tid=diku OK 2022-04-10T05:12:04,057 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,060 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,061 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,062 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,064 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,066 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,068 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /orders-storage/purchase-orders/55b97a4a-6601-4488-84e1-8b0d47a3f523 null HTTP_1_1 200 600 20 tid=diku OK 2022-04-10T05:12:04,070 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54080 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 12 tid=diku OK 2022-04-10T05:12:04,071 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54082 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 19 tid=diku OK 2022-04-10T05:12:04,072 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54078 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 10 tid=diku OK 2022-04-10T05:12:04,073 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T05:12:04,075 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,077 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==55b97a4a-6601-4488-84e1-8b0d47a3f523 >>>WHERE purchaseOrderId='55b97a4a-6601-4488-84e1-8b0d47a3f523' LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,080 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,083 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==55b97a4a-6601-4488-84e1-8b0d47a3f523) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='55b97a4a-6601-4488-84e1-8b0d47a3f523') LIMIT 1000 OFFSET 0 2022-04-10T05:12:04,085 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,087 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==55b97a4a-6601-4488-84e1-8b0d47a3f523) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='55b97a4a-6601-4488-84e1-8b0d47a3f523') LIMIT 10 OFFSET 0 2022-04-10T05:12:04,091 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D55b97a4a-6601-4488-84e1-8b0d47a3f523&limit=2147483647 HTTP_1_1 200 2678 15 tid=diku OK 2022-04-10T05:12:04,093 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54084 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D55b97a4a-6601-4488-84e1-8b0d47a3f523%29&lang=en HTTP_1_1 200 695 9 tid=diku OK 2022-04-10T05:12:04,096 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D55b97a4a-6601-4488-84e1-8b0d47a3f523%29&limit=1000 HTTP_1_1 200 2678 15 tid=diku OK 2022-04-10T05:12:04,098 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,100 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(b9cc5473-bb40-1d61-afc0-d3a5ba0ed0a8) >>>WHERE poLineId='b9cc5473-bb40-1d61-afc0-d3a5ba0ed0a8' LIMIT 15 OFFSET 0 2022-04-10T05:12:04,103 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28b9cc5473-bb40-1d61-afc0-d3a5ba0ed0a8%29&limit=15 HTTP_1_1 200 605 4 tid=diku OK 2022-04-10T05:12:04,219 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,221 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,223 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:12:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:04,225 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:12:04,227 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 8 tid=diku OK 2022-04-10T05:12:04,231 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T05:12:16,684 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 5:12:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:16,686 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:12:16,688 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 4 tid=diku OK 2022-04-10T05:12:16,689 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 5:12:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:16,690 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:12:16,692 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54088 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 3 tid=diku OK 2022-04-10T05:12:16,933 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T05:12:16,937 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /orders-storage/po-number null HTTP_1_1 200 32 4 tid=diku OK 2022-04-10T05:12:16,949 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 5:12:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:16,952 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T05:12:16,957 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 8 tid=diku OK 2022-04-10T05:12:17,268 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:12:17,270 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 1000 OFFSET 0 2022-04-10T05:12:17,272 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=1000 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T05:12:17,580 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T05:12:17,583 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectCreate==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false'))) LIMIT 1000 OFFSET 0 Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 5:12:17 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T05:12:17,587 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54090 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectCreate%3D%3Dfalse%29&limit=1000 HTTP_1_1 200 53 6 tid=diku OK 2022-04-10T05:14:54,778 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:14:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:14:54,783 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:14:54,792 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 14 tid=diku OK 2022-04-10T05:14:54,797 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:14:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:14:54,803 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:14:54,810 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 13 tid=diku OK 2022-04-10T05:14:58,810 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:14:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:14:58,815 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted=*) and (id==(0ebb1f7d-983f-3026-8a4c-5318e0ebc041)) >>>WHERE (true) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 2147483647 OFFSET 0 2022-04-10T05:14:58,821 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29%29&limit=2147483647 HTTP_1_1 200 401 11 tid=diku OK 2022-04-10T05:14:58,827 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:14:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:14:58,832 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted=*) and (id==(0ebb1f7d-983f-3026-8a4c-5318e0ebc041)) >>>WHERE (true) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 2147483647 OFFSET 0 2022-04-10T05:14:58,838 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D*%29+and+%28id%3D%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29%29&limit=2147483647 HTTP_1_1 200 401 11 tid=diku OK 2022-04-10T05:14:58,860 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:14:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:14:58,865 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd AND acquisitionsUnitId==(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END) AND (acquisitionsUnitId='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 0 OFFSET 0 2022-04-10T05:14:58,869 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd+AND+acquisitionsUnitId%3D%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=0 HTTP_1_1 200 63 10 tid=diku OK 2022-04-10T05:14:59,068 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:14:59,069 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 1000 OFFSET 0 2022-04-10T05:14:59,072 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=1000 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T05:14:59,371 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T05:14:59,374 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: protectCreate==false or ((id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) and (isDeleted==false or isDeleted==true)) >>>WHERE (lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false'))) OR ((id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') AND ((CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) OR (CASE WHEN length(lower(f_unaccent('true'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('true')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('true')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('true')) END))) LIMIT 1000 OFFSET 0 Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 5:14:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T05:14:59,463 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units offset=0&query=protectCreate%3D%3Dfalse+or+%28%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+and+%28isDeleted%3D%3Dfalse+or+isDeleted%3D%3Dtrue%29%29&limit=1000 HTTP_1_1 200 401 91 tid=diku OK 2022-04-10T05:15:22,473 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 5:15:22 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 5:15:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 5:15:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T05:15:22,483 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10000 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) LIMIT 1 OFFSET 0 Apr 10, 2022 5:15:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 5:15:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 5:15:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T05:15:22,487 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10000&limit=1 HTTP_1_1 200 50 14 tid=diku OK 2022-04-10T05:15:22,538 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T05:15:22,544 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@b6b74978 and associated data were successfully created 2022-04-10T05:15:22,545 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 POST /orders-storage/purchase-orders null HTTP_1_1 201 845 25 tid=diku Created 2022-04-10T05:15:23,056 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,059 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,066 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 9 tid=diku OK 2022-04-10T05:15:23,090 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,092 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,095 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 4 tid=diku OK 2022-04-10T05:15:23,122 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,124 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,126 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 4 tid=diku OK 2022-04-10T05:15:23,152 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,154 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,158 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 5 tid=diku OK 2022-04-10T05:15:23,168 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,169 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,171 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T05:15:23,184 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,185 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,189 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T05:15:23,234 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,240 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,243 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50 HTTP_1_1 200 61 9 tid=diku OK 2022-04-10T05:15:23,255 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,257 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,260 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 5 tid=diku OK 2022-04-10T05:15:23,267 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,269 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,271 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T05:15:23,283 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T05:15:23,285 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 2 tid=diku OK 2022-04-10T05:15:23,315 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,317 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,320 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T05:15:23,334 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,336 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,340 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T05:15:23,351 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,365 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,367 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,370 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,372 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=2147483647 HTTP_1_1 200 43 20 tid=diku OK 2022-04-10T05:15:23,374 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T05:15:23,382 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,384 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,386 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T05:15:23,397 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,398 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:23,402 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T05:15:23,413 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T05:15:23,416 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (((metadata.createdDate=="Invalid date*" or dateOrdered=="Invalid date*" or poNumber=="***"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END) OR (CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END)) OR (lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')))) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T05:15:23,428 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28%28metadata.createdDate%3D%3D%22Invalid+date*%22+or+dateOrdered%3D%3D%22Invalid+date*%22+or+poNumber%3D%3D%22***%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 4576 15 tid=diku OK 2022-04-10T05:15:23,448 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,449 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50') LIMIT 1000 OFFSET 0 2022-04-10T05:15:23,455 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50%29&limit=1000 HTTP_1_1 200 43 7 tid=diku OK 2022-04-10T05:15:23,467 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 5:15:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:23,468 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==87878e5e-2028-47a1-b6bd-033e9fd89a50) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='87878e5e-2028-47a1-b6bd-033e9fd89a50') LIMIT 10 OFFSET 0 2022-04-10T05:15:23,473 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50%29&lang=en HTTP_1_1 200 952 6 tid=diku OK 2022-04-10T05:15:25,020 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:15:25 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:25,021 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:25,022 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:25 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:25,023 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:15:25,024 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T05:15:25,026 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54092 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T05:15:25,049 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:15:25 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:15:25,051 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T05:15:25,053 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T05:15:25,343 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T05:15:25,346 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54094 GET /orders-storage/order-templates/43bb8a31-4e4b-463c-95c5-e163760f0092 null HTTP_1_1 200 901 2 tid=diku OK 2022-04-10T05:23:59,871 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:23:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:23:59,880 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:23:59,886 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 15 tid=diku OK 2022-04-10T05:23:59,896 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:23:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:23:59,902 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:23:59,913 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 17 tid=diku OK 2022-04-10T05:23:59,978 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 5:23:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:23:59,984 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T05:23:59,991 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 12 tid=diku OK 2022-04-10T05:24:00,044 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:24:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:00,050 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50') LIMIT 1000 OFFSET 0 2022-04-10T05:24:00,061 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50%29&limit=1000 HTTP_1_1 200 43 18 tid=diku OK 2022-04-10T05:24:00,081 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T05:24:00,088 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 7 tid=diku OK 2022-04-10T05:24:00,121 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 5:24:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:00,122 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 2147483647 OFFSET 0 2022-04-10T05:24:00,126 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=2147483647 HTTP_1_1 200 43 5 tid=diku OK 2022-04-10T05:24:01,062 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:24:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:01,064 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:24:01,066 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T05:24:01,088 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:24:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:01,089 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:24:01,092 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T05:24:01,218 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 5:24:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:01,220 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T05:24:01,221 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 5:24:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:01,223 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T05:24:01,224 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54096 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T05:24:01,226 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54098 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T05:24:01,281 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 5:24:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T05:24:01,284 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T05:24:01,291 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54098 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 9 tid=diku OK 2022-04-10T07:14:10,651 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,663 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 1000 OFFSET 0 2022-04-10T07:14:10,669 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54100 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50 HTTP_1_1 200 61 18 tid=diku OK 2022-04-10T07:14:10,704 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,710 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,712 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:10,715 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:10,720 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,723 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54100 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 19 tid=diku OK 2022-04-10T07:14:10,724 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54102 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 14 tid=diku OK 2022-04-10T07:14:10,727 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:10,734 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 13 tid=diku OK 2022-04-10T07:14:10,735 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,740 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:10,747 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 11 tid=diku OK 2022-04-10T07:14:10,752 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T07:14:10,765 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 13 tid=diku OK 2022-04-10T07:14:10,888 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,890 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==87878e5e-2028-47a1-b6bd-033e9fd89a50) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='87878e5e-2028-47a1-b6bd-033e9fd89a50') LIMIT 10 OFFSET 0 2022-04-10T07:14:10,895 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50%29&lang=en HTTP_1_1 200 952 7 tid=diku OK 2022-04-10T07:14:10,935 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,937 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:10,939 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:14:10,952 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,955 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:14:10,958 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T07:14:10,968 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:10,969 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:10,971 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:14:10,984 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T07:14:10,988 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (((metadata.createdDate=="Invalid date*" or dateOrdered=="Invalid date*" or poNumber=="***"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END) OR (CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END)) OR (lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')))) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:14:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T07:14:10,996 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28%28metadata.createdDate%3D%3D%22Invalid+date*%22+or+dateOrdered%3D%3D%22Invalid+date*%22+or+poNumber%3D%3D%22***%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 4576 12 tid=diku OK 2022-04-10T07:14:11,003 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,012 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:11,016 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=2147483647 HTTP_1_1 200 43 13 tid=diku OK 2022-04-10T07:14:11,067 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,069 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:14:11,071 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 3 tid=diku OK 2022-04-10T07:14:11,083 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,084 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:11,087 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:14:11,098 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,099 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:11,101 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:14:11,128 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,129 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T07:14:11,132 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T07:14:11,143 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,144 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50') LIMIT 1000 OFFSET 0 2022-04-10T07:14:11,149 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50%29&limit=1000 HTTP_1_1 200 43 6 tid=diku OK 2022-04-10T07:14:11,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,159 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:14:11,161 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 3 tid=diku OK 2022-04-10T07:14:11,226 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,227 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T07:14:11,231 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 5 tid=diku OK 2022-04-10T07:14:11,587 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,588 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:11,591 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:14:11,602 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,604 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:14:11,607 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T07:14:11,705 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:14:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:14:11,707 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T07:14:11,709 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:14:12,177 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T07:14:12,180 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54104 GET /orders-storage/order-templates/43bb8a31-4e4b-463c-95c5-e163760f0092 null HTTP_1_1 200 901 2 tid=diku OK 2022-04-10T07:22:29,076 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,081 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:29,088 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 11 tid=diku OK 2022-04-10T07:22:29,090 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,095 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:29,102 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 12 tid=diku OK 2022-04-10T07:22:29,160 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,166 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50') LIMIT 1000 OFFSET 0 2022-04-10T07:22:29,178 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50%29&limit=1000 HTTP_1_1 200 43 17 tid=diku OK 2022-04-10T07:22:29,214 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T07:22:29,222 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 7 tid=diku OK 2022-04-10T07:22:29,231 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,235 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T07:22:29,242 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 11 tid=diku OK 2022-04-10T07:22:29,246 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,248 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:29,252 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=2147483647 HTTP_1_1 200 43 5 tid=diku OK 2022-04-10T07:22:29,955 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,957 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:29,959 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T07:22:29,972 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:22:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:29,973 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:29,976 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:22:30,052 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:22:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:30,053 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:30,056 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:22:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:30,058 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:22:30,059 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54108 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T07:22:30,061 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54110 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T07:22:30,090 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 7:22:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:22:30,091 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T07:22:30,097 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54110 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 7 tid=diku OK 2022-04-10T07:30:11,524 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:11,529 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:11,535 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 11 tid=diku OK 2022-04-10T07:30:11,538 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:11,545 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:11,551 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 13 tid=diku OK 2022-04-10T07:30:11,572 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:30:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:11,586 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id<>"undefined" and titleOrPackage=="*American Bar Association journal.*" and (details.productIds=="*0002-7596*" and details.productIds=="*0002-7596*")) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (((true /* id <> invalid UUID */) AND (lower(f_unaccent(po_line.jsonb->>'titleOrPackage')) LIKE lower(f_unaccent('%American Bar Association journal.%')))) AND ((lower(f_unaccent(po_line.jsonb->'details'->>'productIds')) LIKE lower(f_unaccent('%0002-7596%'))) AND (lower(f_unaccent(po_line.jsonb->'details'->>'productIds')) LIKE lower(f_unaccent('%0002-7596%'))))) LIMIT 1000 OFFSET 0 2022-04-10T07:30:11,599 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3C%3E%22undefined%22+and+titleOrPackage%3D%3D%22*American+Bar+Association+journal.*%22+and+%28details.productIds%3D%3D%22*0002-7596*%22+and+details.productIds%3D%3D%22*0002-7596*%22%29%29&limit=1000 HTTP_1_1 200 43 27 tid=diku OK 2022-04-10T07:30:11,886 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:30:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:11,891 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 0 OFFSET 0 2022-04-10T07:30:11,895 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=0 HTTP_1_1 200 43 9 tid=diku OK 2022-04-10T07:30:11,948 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T07:30:11,961 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 13 tid=diku OK 2022-04-10T07:30:11,997 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T07:30:12,007 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/po-line-number purchaseOrderId=87878e5e-2028-47a1-b6bd-033e9fd89a50 HTTP_1_1 200 33 11 tid=diku OK 2022-04-10T07:30:12,055 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T07:30:12,066 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@58ba56f9 and associated data were successfully created 2022-04-10T07:30:12,068 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 POST /orders-storage/po-lines null HTTP_1_1 201 2224 40 tid=diku Created 2022-04-10T07:30:13,561 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 7:30:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:13,565 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:30:13,568 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 7 tid=diku OK 2022-04-10T07:30:13,605 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 7:30:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:13,607 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:30:13,609 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 4 tid=diku OK 2022-04-10T07:30:13,667 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:13,668 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:30:13,671 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:30:14,035 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 7:30:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:14,037 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T07:30:14,040 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T07:30:14,155 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:14,156 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:14,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:14,159 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:14,160 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T07:30:14,162 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:30:14,165 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:30:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:14,166 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==e946047c-7f76-4fd7-8cb5-1dc1397fbf99) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='e946047c-7f76-4fd7-8cb5-1dc1397fbf99') LIMIT 10 OFFSET 0 2022-04-10T07:30:14,171 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3De946047c-7f76-4fd7-8cb5-1dc1397fbf99%29&limit=10 HTTP_1_1 200 2412 6 tid=diku OK 2022-04-10T07:30:14,212 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:14,213 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:14,215 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:30:14,228 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:14,229 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:14,232 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:30:16,924 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T07:30:16,927 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/order-templates/43bb8a31-4e4b-463c-95c5-e163760f0092 null HTTP_1_1 200 901 3 tid=diku OK 2022-04-10T07:30:16,940 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:16,942 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:16,944 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:30:16,955 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:16,956 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:16,959 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:30:16,978 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T07:30:16,981 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (((metadata.createdDate=="Invalid date*" or dateOrdered=="Invalid date*" or poNumber=="***"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END) OR (CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END)) OR (lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')))) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:30:16 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T07:30:16,989 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28%28metadata.createdDate%3D%3D%22Invalid+date*%22+or+dateOrdered%3D%3D%22Invalid+date*%22+or+poNumber%3D%3D%22***%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 4576 11 tid=diku OK 2022-04-10T07:30:17,014 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T07:30:17,016 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 2 tid=diku OK 2022-04-10T07:30:17,036 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:30:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:17,038 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:17,042 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=2147483647 HTTP_1_1 200 2412 5 tid=diku OK 2022-04-10T07:30:17,063 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 7:30:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:17,068 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(e946047c-7f76-4fd7-8cb5-1dc1397fbf99) >>>WHERE poLineId='e946047c-7f76-4fd7-8cb5-1dc1397fbf99' LIMIT 15 OFFSET 0 2022-04-10T07:30:17,070 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28e946047c-7f76-4fd7-8cb5-1dc1397fbf99%29&limit=15 HTTP_1_1 200 919 7 tid=diku OK 2022-04-10T07:30:22,597 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:22 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:22,598 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:22,599 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:22 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:22,599 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:22,601 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T07:30:22,602 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54112 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:30:23,707 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:23,709 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:23,711 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:30:23,724 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:23,726 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:23,728 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:30:23,861 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:23 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:23,862 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T07:30:23,865 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:30:24,004 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T07:30:24,007 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 200 242 2 tid=diku OK 2022-04-10T07:30:24,058 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T07:30:24,062 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=e946047c-7f76-4fd7-8cb5-1dc1397fbf99 and instanceId="" sortby title >>>WHERE (poLineId='e946047c-7f76-4fd7-8cb5-1dc1397fbf99') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T07:30:24,065 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /orders-storage/titles offset=0&query=poLineId%3De946047c-7f76-4fd7-8cb5-1dc1397fbf99+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 42 7 tid=diku OK 2022-04-10T07:30:24,309 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:24,311 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:24,314 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:30:24,323 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:30:24 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:30:24,325 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:30:24,327 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54114 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:34:43,302 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,307 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:34:43,313 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 11 tid=diku OK 2022-04-10T07:34:43,335 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,340 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:34:43,346 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 10 tid=diku OK 2022-04-10T07:34:43,412 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,417 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:34:43,424 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 12 tid=diku OK 2022-04-10T07:34:43,499 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,503 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T07:34:43,510 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 11 tid=diku OK 2022-04-10T07:34:43,598 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,602 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:43,609 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 11 tid=diku OK 2022-04-10T07:34:43,612 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,613 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:43,616 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:34:43,642 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,644 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==e946047c-7f76-4fd7-8cb5-1dc1397fbf99) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='e946047c-7f76-4fd7-8cb5-1dc1397fbf99') LIMIT 10 OFFSET 0 2022-04-10T07:34:43,654 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3De946047c-7f76-4fd7-8cb5-1dc1397fbf99%29&limit=10 HTTP_1_1 200 2412 11 tid=diku OK 2022-04-10T07:34:43,659 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,660 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:43,663 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:34:43,674 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:34:43 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:43,676 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:43,678 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:34:46,335 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T07:34:46,337 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/purchase-orders/87878e5e-2028-47a1-b6bd-033e9fd89a50 null HTTP_1_1 200 845 2 tid=diku OK 2022-04-10T07:34:46,350 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:46,351 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:46,353 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:34:46,365 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:46,366 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:46,368 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:34:46,380 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:46,381 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==87878e5e-2028-47a1-b6bd-033e9fd89a50 >>>WHERE purchaseOrderId='87878e5e-2028-47a1-b6bd-033e9fd89a50' LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:46,385 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D87878e5e-2028-47a1-b6bd-033e9fd89a50&limit=2147483647 HTTP_1_1 200 2412 5 tid=diku OK 2022-04-10T07:34:46,399 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T07:34:46,401 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (((metadata.createdDate=="Invalid date*" or dateOrdered=="Invalid date*" or poNumber=="***"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END) OR (CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END)) OR (lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')))) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->'metadata'->>'createdDate', CQL >>> SQL: metadata.createdDate == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->'metadata'->>'createdDate')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'dateOrdered', CQL >>> SQL: dateOrdered == "Invalid date*" >>> CASE WHEN length(lower(f_unaccent('Invalid date%'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE lower(f_unaccent('Invalid date%')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')),600) LIKE left(lower(f_unaccent('Invalid date%')),600) AND lower(f_unaccent(purchase_order.jsonb->>'dateOrdered')) LIKE lower(f_unaccent('Invalid date%')) END Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == *** >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('%%%')) 2022-04-10T07:34:46,409 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28%28metadata.createdDate%3D%3D%22Invalid+date*%22+or+dateOrdered%3D%3D%22Invalid+date*%22+or+poNumber%3D%3D%22***%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 4576 10 tid=diku OK 2022-04-10T07:34:46,417 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 7:34:46 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:46,418 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(e946047c-7f76-4fd7-8cb5-1dc1397fbf99) >>>WHERE poLineId='e946047c-7f76-4fd7-8cb5-1dc1397fbf99' LIMIT 15 OFFSET 0 2022-04-10T07:34:46,420 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28e946047c-7f76-4fd7-8cb5-1dc1397fbf99%29&limit=15 HTTP_1_1 200 919 3 tid=diku OK 2022-04-10T07:34:57,876 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:34:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:57,878 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:57,880 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:34:57,891 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:34:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:57,892 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:34:57,896 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:34:57,910 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:34:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:34:57,911 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T07:34:57,913 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:34:59,571 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T07:34:59,573 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /orders-storage/order-templates/43bb8a31-4e4b-463c-95c5-e163760f0092 null HTTP_1_1 200 901 1 tid=diku OK 2022-04-10T07:35:00,181 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:35:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:35:00,182 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:35:00,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:35:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:35:00,184 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:35:00,185 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54116 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T07:35:00,187 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54118 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:35:05,379 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T07:35:05,381 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54118 GET /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 200 242 1 tid=diku OK 2022-04-10T07:35:05,459 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:35:05,460 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:35:05,463 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54118 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:35:05,471 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:35:05,473 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:35:05,475 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54118 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:35:05,488 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T07:35:05,489 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=e946047c-7f76-4fd7-8cb5-1dc1397fbf99 and instanceId="" sortby title >>>WHERE (poLineId='e946047c-7f76-4fd7-8cb5-1dc1397fbf99') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 7:35:05 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T07:35:05,492 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54118 GET /orders-storage/titles offset=0&query=poLineId%3De946047c-7f76-4fd7-8cb5-1dc1397fbf99+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 42 4 tid=diku OK 2022-04-10T07:59:01,298 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,303 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:59:01,310 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 11 tid=diku OK 2022-04-10T07:59:01,427 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,432 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:59:01,437 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 10 tid=diku OK 2022-04-10T07:59:01,442 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,447 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T07:59:01,454 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 11 tid=diku OK 2022-04-10T07:59:01,459 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,464 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T07:59:01,470 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 10 tid=diku OK 2022-04-10T07:59:01,491 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,496 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:59:01,503 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 11 tid=diku OK 2022-04-10T07:59:01,510 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,511 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T07:59:01,514 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T07:59:01,530 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,532 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:59:01,534 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T07:59:01,545 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T07:59:01,546 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T07:59:01,548 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T07:59:01,575 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate >= 2022-04-07T00:00:00.000 >>> po_line.jsonb->>'lastEDIExportDate' >='2022-04-07T00:00:00.000' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate <= 2022-04-08T23:59:59.999 >>> po_line.jsonb->>'lastEDIExportDate' <='2022-04-08T23:59:59.999' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate >= 2022-04-07T00:00:00.000 >>> po_line.jsonb->>'lastEDIExportDate' >='2022-04-07T00:00:00.000' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate <= 2022-04-08T23:59:59.999 >>> po_line.jsonb->>'lastEDIExportDate' <='2022-04-08T23:59:59.999' 2022-04-10T07:59:01,584 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (((lastEDIExportDate>="2022-04-07T00:00:00.000" and lastEDIExportDate<="2022-04-08T23:59:59.999"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND ((po_line.jsonb->>'lastEDIExportDate' >='2022-04-07T00:00:00.000') AND (po_line.jsonb->>'lastEDIExportDate' <='2022-04-08T23:59:59.999')) ORDER BY left(lower(f_unaccent(po_line.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(po_line.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate >= 2022-04-07T00:00:00.000 >>> po_line.jsonb->>'lastEDIExportDate' >='2022-04-07T00:00:00.000' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate <= 2022-04-08T23:59:59.999 >>> po_line.jsonb->>'lastEDIExportDate' <='2022-04-08T23:59:59.999' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate >= 2022-04-07T00:00:00.000 >>> po_line.jsonb->>'lastEDIExportDate' >='2022-04-07T00:00:00.000' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate <= 2022-04-08T23:59:59.999 >>> po_line.jsonb->>'lastEDIExportDate' <='2022-04-08T23:59:59.999' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate >= 2022-04-07T00:00:00.000 >>> po_line.jsonb->>'lastEDIExportDate' >='2022-04-07T00:00:00.000' Apr 10, 2022 7:59:01 AM org.folio.cql2pgjson.CQL2PgJSON queryBySql WARNING: Doing SQL query without index for po_line.jsonb->>'lastEDIExportDate', CQL >>> SQL: lastEDIExportDate <= 2022-04-08T23:59:59.999 >>> po_line.jsonb->>'lastEDIExportDate' <='2022-04-08T23:59:59.999' 2022-04-10T07:59:01,595 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54120 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28%28lastEDIExportDate%3E%3D%222022-04-07T00%3A00%3A00.000%22+and+lastEDIExportDate%3C%3D%222022-04-08T23%3A59%3A59.999%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&limit=50 HTTP_1_1 200 43 20 tid=diku OK 2022-04-10T08:00:20,379 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,381 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,383 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,386 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:20,388 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:20,388 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:20,392 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54122 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 13 tid=diku OK 2022-04-10T08:00:20,395 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 12 tid=diku OK 2022-04-10T08:00:20,397 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 15 tid=diku OK 2022-04-10T08:00:20,591 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,596 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:20,603 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 11 tid=diku OK 2022-04-10T08:00:20,607 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,612 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:20,620 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 12 tid=diku OK 2022-04-10T08:00:20,626 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,627 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:20,631 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:20,650 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:00:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:20,652 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:00:20,657 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 50 7 tid=diku OK 2022-04-10T08:00:21,944 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:00:21 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:21,945 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:21,946 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:00:21 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:21,947 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:21,948 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 4 tid=diku OK 2022-04-10T08:00:21,949 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 3 tid=diku OK 2022-04-10T08:00:22,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:00:22,160 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/po-number null HTTP_1_1 200 32 2 tid=diku OK 2022-04-10T08:00:22,173 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:22,174 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:22,177 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 3 tid=diku OK 2022-04-10T08:00:22,523 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:22,524 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 1000 OFFSET 0 2022-04-10T08:00:22,526 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=1000 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:00:22,816 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T08:00:22,818 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectCreate==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false'))) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:00:22 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T08:00:22,820 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectCreate%3D%3Dfalse%29&limit=1000 HTTP_1_1 200 53 4 tid=diku OK 2022-04-10T08:00:29,286 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:00:29,287 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10001 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:00:29,289 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10001&limit=1 HTTP_1_1 200 50 4 tid=diku OK 2022-04-10T08:00:29,317 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:00:29,322 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@a7cf7d7d and associated data were successfully created 2022-04-10T08:00:29,323 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 POST /orders-storage/purchase-orders null HTTP_1_1 201 817 15 tid=diku Created 2022-04-10T08:00:29,604 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,605 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,607 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 3 tid=diku OK 2022-04-10T08:00:29,609 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,610 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,615 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,616 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,623 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 14 tid=diku OK 2022-04-10T08:00:29,625 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 10 tid=diku OK 2022-04-10T08:00:29,626 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,627 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,630 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T08:00:29,635 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,637 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,637 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,638 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,639 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:29,641 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:00:29,691 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,692 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,692 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,694 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,695 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:29,697 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:29,700 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,701 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:00:29,704 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 50 4 tid=diku OK 2022-04-10T08:00:29,763 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,765 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,766 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,767 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,769 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,770 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,775 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,776 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,777 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 13 tid=diku OK 2022-04-10T08:00:29,778 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 12 tid=diku OK 2022-04-10T08:00:29,779 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54122 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 9 tid=diku OK 2022-04-10T08:00:29,780 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:00:29,782 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,784 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,786 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,787 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 10 OFFSET 0 2022-04-10T08:00:29,788 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,795 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,798 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5 HTTP_1_1 200 61 10 tid=diku OK 2022-04-10T08:00:29,798 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&limit=1000 HTTP_1_1 200 43 15 tid=diku OK 2022-04-10T08:00:29,801 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&lang=en HTTP_1_1 200 914 15 tid=diku OK 2022-04-10T08:00:29,806 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:00:29,808 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:00:29,826 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,827 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:29,828 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 43 2 tid=diku OK 2022-04-10T08:00:29,881 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:00:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:29,883 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:29,885 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 3 tid=diku OK 2022-04-10T08:00:30,386 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:00:30,388 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 2 tid=diku OK 2022-04-10T08:00:33,407 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:33,409 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:33,409 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:33,410 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:33,412 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:33,413 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:33,418 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:00:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:33,419 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:33,420 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:33,421 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 1000 OFFSET 0 2022-04-10T08:00:33,423 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 5 tid=diku OK 2022-04-10T08:00:33,429 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&limit=1000 HTTP_1_1 200 43 9 tid=diku OK 2022-04-10T08:00:33,576 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:00:33,578 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:00:33,583 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:33,585 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:33,587 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 43 3 tid=diku OK 2022-04-10T08:00:34,349 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:34,351 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:34,351 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:34,352 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:34,353 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:34,355 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:00:34,515 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:34,516 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:34,517 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:34,518 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:34,519 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:34,520 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:00:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:34,521 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:34,521 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:34,523 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 3 tid=diku OK 2022-04-10T08:00:55,372 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,373 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:55,374 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,375 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:55,376 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:00:55,377 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:00:55,380 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,381 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id<>"undefined" and titleOrPackage=="*ABA Journal*" and (details.productIds=="*0747-0088*")) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (((true /* id <> invalid UUID */) AND (lower(f_unaccent(po_line.jsonb->>'titleOrPackage')) LIKE lower(f_unaccent('%ABA Journal%')))) AND (lower(f_unaccent(po_line.jsonb->'details'->>'productIds')) LIKE lower(f_unaccent('%0747-0088%')))) LIMIT 1000 OFFSET 0 2022-04-10T08:00:55,390 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3C%3E%22undefined%22+and+titleOrPackage%3D%3D%22*ABA+Journal*%22+and+%28details.productIds%3D%3D%22*0747-0088*%22%29%29&limit=1000 HTTP_1_1 200 2534 10 tid=diku OK 2022-04-10T08:00:55,671 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,672 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:55,673 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,674 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:55,675 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:55,677 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:00:55,680 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,681 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id=="c27e60f9-6361-44c1-976e-0c4821a33a7d") >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='c27e60f9-6361-44c1-976e-0c4821a33a7d') LIMIT 1000 OFFSET 0 2022-04-10T08:00:55,684 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders limit=1000&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D%22c27e60f9-6361-44c1-976e-0c4821a33a7d%22%29&lang=en HTTP_1_1 200 772 4 tid=diku OK 2022-04-10T08:00:55,950 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,952 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:55,954 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:55,955 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:55,957 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:00:55,959 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:56,040 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:56 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:56,042 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:56,042 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:56 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:56,043 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:56,044 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:00:56 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:56,044 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:56,047 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:00:56,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 6 tid=diku OK 2022-04-10T08:00:56,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 9 tid=diku OK 2022-04-10T08:00:58,491 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,492 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 0 OFFSET 0 2022-04-10T08:00:58,494 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=0 HTTP_1_1 200 43 3 tid=diku OK 2022-04-10T08:00:58,534 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:00:58,536 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:00:58,559 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:00:58,561 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-line-number purchaseOrderId=3d40445b-44f8-4146-9270-c3eb59dafbf5 HTTP_1_1 200 33 2 tid=diku OK 2022-04-10T08:00:58,581 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:00:58,587 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@b6ac0a09 and associated data were successfully created 2022-04-10T08:00:58,588 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 POST /orders-storage/po-lines null HTTP_1_1 201 2061 9 tid=diku Created 2022-04-10T08:00:58,820 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,821 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:58,823 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 3 tid=diku OK 2022-04-10T08:00:58,824 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,825 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:58,826 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,827 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:58,829 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 4 tid=diku OK 2022-04-10T08:00:58,830 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:58,840 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,841 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:00:58,845 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T08:00:58,854 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,856 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,856 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,857 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,859 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:58,860 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:00:58,917 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:00:58,917 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:00:58,918 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,919 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,919 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,920 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,921 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 5 tid=diku OK 2022-04-10T08:00:58,922 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 4 tid=diku OK 2022-04-10T08:00:58,923 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:00:58,924 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54122 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:58,927 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,928 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,931 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2239 4 tid=diku OK 2022-04-10T08:00:58,932 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,934 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:00:58,938 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 50 6 tid=diku OK 2022-04-10T08:00:58,953 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,960 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 2022-04-10T08:00:58,962 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 9 tid=diku OK 2022-04-10T08:00:58,976 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,977 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,978 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,979 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:58,980 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:58,982 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:00:58,984 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:00:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:58,985 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166') LIMIT 10 OFFSET 0 2022-04-10T08:00:58,991 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=10 HTTP_1_1 200 2239 7 tid=diku OK 2022-04-10T08:00:59,227 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:59,228 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:59,228 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:59,229 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:59,231 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:59,233 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:59,406 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:59,408 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:59,408 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:59,410 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:59,411 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:00:59,412 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:00:59,708 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:59,710 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:59,713 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:00:59,724 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:00:59,726 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 and instanceId="" sortby title >>>WHERE (poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:00:59,731 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/titles offset=0&query=poLineId%3D4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 592 7 tid=diku OK 2022-04-10T08:00:59,743 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T08:00:59,744 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 200 242 1 tid=diku OK 2022-04-10T08:00:59,762 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:00:59 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:00:59,764 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:00:59,766 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:03,765 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,766 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:03,767 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,768 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:03,770 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:03,774 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:01:03,782 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,784 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:03,787 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 4 tid=diku OK 2022-04-10T08:01:03,787 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,789 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 1000 OFFSET 0 2022-04-10T08:01:03,802 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&limit=1000 HTTP_1_1 200 2239 14 tid=diku OK 2022-04-10T08:01:03,808 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:03,810 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:01:03,817 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,819 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:03,823 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2239 5 tid=diku OK 2022-04-10T08:01:03,830 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles 2022-04-10T08:01:03,831 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,835 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 5 tid=diku OK 2022-04-10T08:01:03,911 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,912 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:03,913 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:03,914 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:03,916 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:01:03,918 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:04,204 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:04,205 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:04,206 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:04,207 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:04,209 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:04,211 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:04,271 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:04,272 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:04,274 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:04,275 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:04,277 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:01:04,277 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:01:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:04,278 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:04,281 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:01:04,284 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 6 tid=diku OK 2022-04-10T08:01:10,970 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:10,971 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:10,972 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:10,973 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:10,974 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:01:10,975 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:01:10,978 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:10,979 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id<>"4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166" and titleOrPackage=="*ABA Journal*" and (details.productIds=="*0747-0088*")) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (((id<>'4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166') AND (lower(f_unaccent(po_line.jsonb->>'titleOrPackage')) LIKE lower(f_unaccent('%ABA Journal%')))) AND (lower(f_unaccent(po_line.jsonb->'details'->>'productIds')) LIKE lower(f_unaccent('%0747-0088%')))) LIMIT 1000 OFFSET 0 2022-04-10T08:01:10,984 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3C%3E%224e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%22+and+titleOrPackage%3D%3D%22*ABA+Journal*%22+and+%28details.productIds%3D%3D%22*0747-0088*%22%29%29&limit=1000 HTTP_1_1 200 2534 6 tid=diku OK 2022-04-10T08:01:11,181 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,182 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:11,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,184 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:11,185 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:01:11,187 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:01:11,190 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,191 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id=="c27e60f9-6361-44c1-976e-0c4821a33a7d") >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='c27e60f9-6361-44c1-976e-0c4821a33a7d') LIMIT 1000 OFFSET 0 2022-04-10T08:01:11,194 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders limit=1000&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D%22c27e60f9-6361-44c1-976e-0c4821a33a7d%22%29&lang=en HTTP_1_1 200 772 4 tid=diku OK 2022-04-10T08:01:11,428 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,429 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:11,430 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,431 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:11,432 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:11,434 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:11,548 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,549 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:11,550 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,551 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:11,552 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:11,553 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:11,554 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:01:11,556 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 8 tid=diku OK 2022-04-10T08:01:11,557 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:01:13,366 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:01:13,368 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines/4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 null HTTP_1_1 200 2061 2 tid=diku OK 2022-04-10T08:01:13,387 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:13,389 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 1 tid=diku OK 2022-04-10T08:01:13,446 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:01:13,449 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@caaad5c3 was successfully updated 2022-04-10T08:01:13,450 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' >>>WHERE poLineId = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' 2022-04-10T08:01:13,453 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@caaad5c3 and associated data were successfully updated 2022-04-10T08:01:13,453 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 PUT /orders-storage/po-lines/4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 lang=en HTTP_1_1 204 0 8 tid=diku No Content 2022-04-10T08:01:13,681 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,682 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:13,685 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 3 tid=diku OK 2022-04-10T08:01:13,685 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,686 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:13,688 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 3 tid=diku OK 2022-04-10T08:01:13,691 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,692 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:13,697 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:01:13,710 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,713 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:13,714 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,715 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,715 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,716 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,717 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships 2022-04-10T08:01:13,718 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,721 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 10 tid=diku OK 2022-04-10T08:01:13,723 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 9 tid=diku OK 2022-04-10T08:01:13,725 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 10 tid=diku OK 2022-04-10T08:01:13,726 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54122 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 8 tid=diku OK 2022-04-10T08:01:13,727 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,729 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,730 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,732 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166') LIMIT 10 OFFSET 0 2022-04-10T08:01:13,734 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:01:13,738 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=10 HTTP_1_1 200 2238 7 tid=diku OK 2022-04-10T08:01:13,773 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:13,775 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:01:13,776 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:01:13,777 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,778 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,779 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,780 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,781 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,781 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,782 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 6 tid=diku OK 2022-04-10T08:01:13,783 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:01:13,786 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:01:13,787 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2238 6 tid=diku OK 2022-04-10T08:01:13,790 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,791 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:01:13,792 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,793 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 2022-04-10T08:01:13,795 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 2 tid=diku OK 2022-04-10T08:01:13,795 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 50 5 tid=diku OK 2022-04-10T08:01:13,869 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,871 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,873 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:13,874 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:13,875 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:13,878 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:01:14,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:14,184 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:14,185 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:14,186 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:14,187 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:01:14,188 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:01:14,354 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:01:14,356 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 and instanceId="" sortby title >>>WHERE (poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:01:14,360 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/titles offset=0&query=poLineId%3D4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 592 5 tid=diku OK 2022-04-10T08:01:14,365 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:14,366 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:14,368 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:14,368 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:14,369 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:14,371 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:01:14,456 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T08:01:14,460 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 200 230 1 tid=diku OK 2022-04-10T08:01:15,890 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:15,891 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:01:15,892 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,893 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 1000 OFFSET 0 2022-04-10T08:01:15,895 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5 HTTP_1_1 200 61 3 tid=diku OK 2022-04-10T08:01:15,896 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,897 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,898 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,899 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,899 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,900 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,901 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:01:15,902 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:15,902 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,903 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,905 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,906 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,907 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,908 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 1000 OFFSET 0 2022-04-10T08:01:15,910 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2238 10 tid=diku OK 2022-04-10T08:01:15,910 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:01:15,911 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,912 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:15,913 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T08:01:15,915 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54122 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T08:01:15,916 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,917 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,919 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&limit=1000 HTTP_1_1 200 2238 12 tid=diku OK 2022-04-10T08:01:15,919 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,920 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:15,922 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:01:15,923 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,924 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 2022-04-10T08:01:15,925 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:01:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:15,927 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 10 OFFSET 0 2022-04-10T08:01:15,928 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T08:01:15,933 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 10 tid=diku OK 2022-04-10T08:01:15,934 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54124 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&lang=en HTTP_1_1 200 914 9 tid=diku OK 2022-04-10T08:01:16,020 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:16,021 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:16,022 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:16 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:16,023 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:16,024 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:16,026 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:16,355 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:01:16,356 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 1 tid=diku OK 2022-04-10T08:01:18,975 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:18,976 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:18,979 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2238 4 tid=diku OK 2022-04-10T08:01:19,005 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:19,007 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:01:19,010 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,010 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,013 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2238 3 tid=diku OK 2022-04-10T08:01:19,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,047 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=2147483647 HTTP_1_1 200 42 9 tid=diku OK 2022-04-10T08:01:19,082 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:01:19,085 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@342e89eb was successfully updated 2022-04-10T08:01:19,085 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' >>>WHERE poLineId = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' 2022-04-10T08:01:19,087 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@342e89eb and associated data were successfully updated 2022-04-10T08:01:19,088 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 PUT /orders-storage/po-lines/4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 lang=en HTTP_1_1 204 0 7 tid=diku No Content 2022-04-10T08:01:19,116 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,117 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,118 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=2147483647 HTTP_1_1 200 42 2 tid=diku OK 2022-04-10T08:01:19,289 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,290 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,291 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,291 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,292 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:01:19,294 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:01:19,475 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,476 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 2022-04-10T08:01:19,478 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 3 tid=diku OK 2022-04-10T08:01:19,672 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,673 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,675 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166&limit=2147483647 HTTP_1_1 200 42 3 tid=diku OK 2022-04-10T08:01:19,707 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:01:19,710 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines/4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 null HTTP_1_1 200 2060 2 tid=diku OK 2022-04-10T08:01:19,715 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:19,717 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:01:19,722 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:19,723 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:19,731 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2238 9 tid=diku OK 2022-04-10T08:01:20,121 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:01:20,132 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 POST /orders-storage/pieces null HTTP_1_1 201 358 17 tid=diku Created 2022-04-10T08:01:20,406 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:01:20,409 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@526ab474 was successfully updated 2022-04-10T08:01:20,409 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' >>>WHERE poLineId = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' 2022-04-10T08:01:20,412 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@526ab474 and associated data were successfully updated 2022-04-10T08:01:20,412 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 PUT /orders-storage/po-lines/4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166 null HTTP_1_1 204 0 7 tid=diku No Content 2022-04-10T08:01:20,433 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:01:20,433 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=3d40445b-44f8-4146-9270-c3eb59dafbf5 2022-04-10T08:01:20,436 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=3d40445b-44f8-4146-9270-c3eb59dafbf5 successfully updated 2022-04-10T08:01:20,438 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 PUT /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 204 0 5 tid=diku No Content 2022-04-10T08:01:20,742 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:01:20,744 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 976 1 tid=diku OK 2022-04-10T08:01:20,747 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,747 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,750 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2317 3 tid=diku OK 2022-04-10T08:01:20,754 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,755 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 1000 OFFSET 0 2022-04-10T08:01:20,756 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,757 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 2022-04-10T08:01:20,758 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5 HTTP_1_1 200 61 4 tid=diku OK 2022-04-10T08:01:20,760 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 4 tid=diku OK 2022-04-10T08:01:20,773 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,774 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,774 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,775 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,777 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:01:20,779 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:20,782 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,783 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 1000 OFFSET 0 2022-04-10T08:01:20,788 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&limit=1000 HTTP_1_1 200 2317 6 tid=diku OK 2022-04-10T08:01:20,794 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,798 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,799 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,800 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,802 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 8 tid=diku OK 2022-04-10T08:01:20,803 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:01:20,807 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,808 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,809 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:01:20,810 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,814 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:01:20,814 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,822 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==3d40445b-44f8-4146-9270-c3eb59dafbf5) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='3d40445b-44f8-4146-9270-c3eb59dafbf5') LIMIT 10 OFFSET 0 2022-04-10T08:01:20,823 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,824 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:20,825 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 16 tid=diku OK 2022-04-10T08:01:20,829 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 6 tid=diku OK 2022-04-10T08:01:20,833 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54128 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5%29&lang=en HTTP_1_1 200 1079 18 tid=diku OK 2022-04-10T08:01:20,834 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,836 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:01:20,842 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 1079 8 tid=diku OK 2022-04-10T08:01:20,857 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,858 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,859 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,861 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:20,864 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:01:20,867 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54130 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T08:01:20,973 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:01:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:20,974 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:01:20,977 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T08:01:21,214 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:01:21 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:21,218 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:21,224 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 10 tid=diku OK 2022-04-10T08:01:21,230 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:01:21 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:01:21,231 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:01:21,234 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:02:14,363 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:02:14,363 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=diku OK 2022-04-10T08:02:14,384 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:14,385 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:14,387 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 3 tid=diku OK 2022-04-10T08:02:14,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:14,424 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:14,426 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 3 tid=diku OK 2022-04-10T08:02:14,440 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:14,441 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:14,443 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 3 tid=diku OK 2022-04-10T08:02:14,543 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:14,544 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 1000 OFFSET 0 2022-04-10T08:02:14,546 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=1000 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:02:14,738 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T08:02:14,739 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectCreate==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false'))) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:02:14 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T08:02:14,741 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectCreate%3D%3Dfalse%29&limit=1000 HTTP_1_1 200 53 3 tid=diku OK 2022-04-10T08:02:27,973 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:02:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:02:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) Apr 10, 2022 8:02:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) 2022-04-10T08:02:27,977 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10002 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:02:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) Apr 10, 2022 8:02:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) Apr 10, 2022 8:02:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) 2022-04-10T08:02:27,984 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10002&limit=1 HTTP_1_1 200 50 11 tid=diku OK 2022-04-10T08:02:27,988 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:02:28,001 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@8d4ba07c and associated data were successfully created 2022-04-10T08:02:28,001 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 POST /orders-storage/purchase-orders null HTTP_1_1 201 817 14 tid=diku Created 2022-04-10T08:02:28,359 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,367 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,375 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 15 tid=diku OK 2022-04-10T08:02:28,377 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,385 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,387 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,388 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,390 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,390 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,391 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,392 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,392 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,393 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,395 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54134 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T08:02:28,397 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54136 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 7 tid=diku OK 2022-04-10T08:02:28,397 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:02:28,398 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 21 tid=diku OK 2022-04-10T08:02:28,398 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:02:28,405 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,407 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:02:28,410 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 1079 5 tid=diku OK 2022-04-10T08:02:28,420 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,421 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,423 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:02:28,436 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,437 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,439 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:02:28,565 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,567 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,569 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d HTTP_1_1 200 61 4 tid=diku OK 2022-04-10T08:02:28,573 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:02:28,575 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:02:28,576 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,578 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,579 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,580 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,581 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,582 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,583 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,584 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,585 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 9 tid=diku OK 2022-04-10T08:02:28,585 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54136 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:02:28,587 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54134 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 6 tid=diku OK 2022-04-10T08:02:28,589 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 43 6 tid=diku OK 2022-04-10T08:02:28,590 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,591 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 10 OFFSET 0 2022-04-10T08:02:28,595 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&lang=en HTTP_1_1 200 914 5 tid=diku OK 2022-04-10T08:02:28,621 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,622 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,624 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:02:28,637 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,638 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,641 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:02:28,660 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,661 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 1000 OFFSET 0 2022-04-10T08:02:28,665 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&limit=1000 HTTP_1_1 200 43 5 tid=diku OK 2022-04-10T08:02:28,859 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,861 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,864 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:28 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:28,865 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:28,867 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:02:28,868 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:02:29,195 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:02:29,196 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 1 tid=diku OK 2022-04-10T08:02:31,704 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:31,705 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:31,705 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:31,706 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:31,708 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:02:31,709 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:02:31,715 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:02:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:31,717 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 1000 OFFSET 0 2022-04-10T08:02:31,721 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&limit=1000 HTTP_1_1 200 43 6 tid=diku OK 2022-04-10T08:02:31,722 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:02:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:31,723 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:31,725 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 3 tid=diku OK 2022-04-10T08:02:31,861 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:02:31,863 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:02:31,865 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:02:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:31,866 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:31,868 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 43 2 tid=diku OK 2022-04-10T08:02:32,394 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:32 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:32,395 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:32,395 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:32 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:32,396 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:32,398 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:02:32,399 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:02:32,417 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:02:32 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:32,419 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:32,419 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:02:32 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:32,420 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:02:32,423 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:02:32,424 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:02:32,458 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:02:32 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:02:32,458 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:02:32,461 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 3 tid=diku OK 2022-04-10T08:03:10,503 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:10,504 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:10,505 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:10,505 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:10,507 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:10,508 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:03:10,510 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:10,511 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id<>"undefined" and titleOrPackage=="*Agile Organisation, Risiko- und Change Management Harald Augustin (Hrsg.)*" and (details.productIds=="*9783844057430*" and details.productIds=="*9783844057430*")) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (((true /* id <> invalid UUID */) AND (lower(f_unaccent(po_line.jsonb->>'titleOrPackage')) LIKE lower(f_unaccent('%Agile Organisation, Risiko- und Change Management Harald Augustin (Hrsg.)%')))) AND ((lower(f_unaccent(po_line.jsonb->'details'->>'productIds')) LIKE lower(f_unaccent('%9783844057430%'))) AND (lower(f_unaccent(po_line.jsonb->'details'->>'productIds')) LIKE lower(f_unaccent('%9783844057430%'))))) LIMIT 1000 OFFSET 0 2022-04-10T08:03:10,515 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3C%3E%22undefined%22+and+titleOrPackage%3D%3D%22*Agile+Organisation%2C+Risiko-+und+Change+Management+Harald+Augustin+%28Hrsg.%29*%22+and+%28details.productIds%3D%3D%22*9783844057430*%22+and+details.productIds%3D%3D%22*9783844057430*%22%29%29&limit=1000 HTTP_1_1 200 43 4 tid=diku OK 2022-04-10T08:03:10,678 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:10,679 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 0 OFFSET 0 2022-04-10T08:03:10,681 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=0 HTTP_1_1 200 43 2 tid=diku OK 2022-04-10T08:03:10,724 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:03:10,725 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 1 tid=diku OK 2022-04-10T08:03:10,728 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:03:10,730 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-line-number purchaseOrderId=0fcf7614-0638-475a-baf3-d787e22cea9d HTTP_1_1 200 33 1 tid=diku OK 2022-04-10T08:03:10,733 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:03:10,737 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@beb126ad and associated data were successfully created 2022-04-10T08:03:10,738 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 POST /orders-storage/po-lines null HTTP_1_1 201 2367 5 tid=diku Created 2022-04-10T08:03:11,116 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,117 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:11,118 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,119 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:11,120 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,121 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:11,121 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,122 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:11,124 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,124 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,126 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 9 tid=diku OK 2022-04-10T08:03:11,126 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 8 tid=diku OK 2022-04-10T08:03:11,128 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,129 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,135 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54136 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 14 tid=diku OK 2022-04-10T08:03:11,136 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54134 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 14 tid=diku OK 2022-04-10T08:03:11,137 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 9 tid=diku OK 2022-04-10T08:03:11,137 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 13 tid=diku OK 2022-04-10T08:03:11,242 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:03:11,244 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 1 tid=diku OK 2022-04-10T08:03:11,244 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:03:11,245 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,246 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,247 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,247 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,248 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,249 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,249 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,250 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,250 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 6 tid=diku OK 2022-04-10T08:03:11,251 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,251 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,252 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:03:11,253 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54136 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:03:11,253 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:03:11,254 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54134 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:03:11,255 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2559 4 tid=diku OK 2022-04-10T08:03:11,257 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,258 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:03:11,261 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,262 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47') LIMIT 10 OFFSET 0 2022-04-10T08:03:11,263 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles 2022-04-10T08:03:11,264 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:03:11,265 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 1079 7 tid=diku OK 2022-04-10T08:03:11,267 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 3 tid=diku OK Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,271 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=10 HTTP_1_1 200 2559 10 tid=diku OK 2022-04-10T08:03:11,334 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,335 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,336 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,337 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,339 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:03:11,342 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:03:11,640 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,641 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,642 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,643 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,644 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:03:11,646 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:03:11,795 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T08:03:11,798 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,799 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:11,800 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 200 230 5 tid=diku OK 2022-04-10T08:03:11,801 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:03:11,802 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:03:11 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:11,804 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:03:11,805 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:03:12,010 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:03:12,016 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47 and instanceId="" sortby title >>>WHERE (poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:03:12,017 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:12,018 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:12,018 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:12 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:12,019 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:12,021 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:12,022 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/titles offset=0&query=poLineId%3D14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 911 11 tid=diku OK 2022-04-10T08:03:12,023 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:03:13,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,424 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 1000 OFFSET 0 2022-04-10T08:03:13,427 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d HTTP_1_1 200 61 4 tid=diku OK 2022-04-10T08:03:13,430 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,431 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,432 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,434 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,435 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:03:13,437 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:03:13,443 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:03:13,444 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,445 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,447 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,447 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,448 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,449 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,449 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,450 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,450 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,452 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:13,452 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 9 tid=diku OK 2022-04-10T08:03:13,453 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 9 tid=diku OK 2022-04-10T08:03:13,455 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54132 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T08:03:13,455 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54136 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:03:13,456 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 9 tid=diku OK 2022-04-10T08:03:13,456 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54134 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:03:13,459 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,460 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,462 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,463 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 1000 OFFSET 0 2022-04-10T08:03:13,465 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2559 6 tid=diku OK 2022-04-10T08:03:13,468 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,469 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 10 OFFSET 0 2022-04-10T08:03:13,471 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&limit=1000 HTTP_1_1 200 2559 8 tid=diku OK 2022-04-10T08:03:13,474 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&lang=en HTTP_1_1 200 914 5 tid=diku OK 2022-04-10T08:03:13,474 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,475 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:03:13,477 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 2 tid=diku OK 2022-04-10T08:03:13,539 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,540 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,540 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:13 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:13,541 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:13,543 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:13,544 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:03:14,039 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:03:14,041 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 1 tid=diku OK 2022-04-10T08:03:17,970 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:17,971 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:17,974 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2559 3 tid=diku OK 2022-04-10T08:03:17,982 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:03:17,983 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 1 tid=diku OK 2022-04-10T08:03:17,985 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:17,986 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:17,989 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2559 3 tid=diku OK 2022-04-10T08:03:17,993 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:03:17 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:17,993 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:17,995 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=2147483647 HTTP_1_1 200 42 2 tid=diku OK 2022-04-10T08:03:17,999 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:03:18,001 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@636dee81 was successfully updated 2022-04-10T08:03:18,001 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' >>>WHERE poLineId = '14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' 2022-04-10T08:03:18,003 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@636dee81 and associated data were successfully updated 2022-04-10T08:03:18,004 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 PUT /orders-storage/po-lines/14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47 lang=en HTTP_1_1 204 0 5 tid=diku No Content 2022-04-10T08:03:18,014 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,014 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,016 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=2147483647 HTTP_1_1 200 42 2 tid=diku OK 2022-04-10T08:03:18,052 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,053 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,054 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,055 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,056 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:18,057 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:03:18,088 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,089 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:03:18,091 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 2 tid=diku OK 2022-04-10T08:03:18,159 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,161 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47 >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,163 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47&limit=2147483647 HTTP_1_1 200 42 3 tid=diku OK 2022-04-10T08:03:18,166 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:03:18,169 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines/14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47 null HTTP_1_1 200 2367 2 tid=diku OK 2022-04-10T08:03:18,174 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:03:18,176 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 817 2 tid=diku OK 2022-04-10T08:03:18,182 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,183 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,186 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2559 3 tid=diku OK 2022-04-10T08:03:18,279 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:03:18,285 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 POST /orders-storage/pieces null HTTP_1_1 201 358 6 tid=diku Created 2022-04-10T08:03:18,348 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:03:18,351 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@72035c3 was successfully updated 2022-04-10T08:03:18,351 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' >>>WHERE poLineId = '14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' 2022-04-10T08:03:18,354 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@72035c3 and associated data were successfully updated 2022-04-10T08:03:18,354 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 PUT /orders-storage/po-lines/14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47 null HTTP_1_1 204 0 7 tid=diku No Content 2022-04-10T08:03:18,360 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:03:18,360 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=0fcf7614-0638-475a-baf3-d787e22cea9d 2022-04-10T08:03:18,362 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=0fcf7614-0638-475a-baf3-d787e22cea9d successfully updated 2022-04-10T08:03:18,363 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 PUT /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 204 0 4 tid=diku No Content 2022-04-10T08:03:18,641 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:03:18,643 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 976 2 tid=diku OK 2022-04-10T08:03:18,646 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,646 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,649 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2638 3 tid=diku OK 2022-04-10T08:03:18,652 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,653 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:03:18,654 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,654 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 1000 OFFSET 0 2022-04-10T08:03:18,656 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 3 tid=diku OK 2022-04-10T08:03:18,657 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d HTTP_1_1 200 61 3 tid=diku OK 2022-04-10T08:03:18,675 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,677 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,677 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,678 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,679 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:03:18,681 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:03:18,686 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,688 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 1000 OFFSET 0 2022-04-10T08:03:18,688 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,689 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,690 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,691 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,692 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:18,694 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&limit=1000 HTTP_1_1 200 2638 7 tid=diku OK 2022-04-10T08:03:18,695 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54140 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:03:18,700 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,701 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,702 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,703 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,705 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:03:18,706 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,708 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 10 OFFSET 0 2022-04-10T08:03:18,709 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:03:18,713 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&lang=en HTTP_1_1 200 1079 6 tid=diku OK 2022-04-10T08:03:18,715 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,716 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:18,717 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,718 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:03:18,720 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 5 tid=diku OK 2022-04-10T08:03:18,723 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 2109 6 tid=diku OK 2022-04-10T08:03:18,730 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,732 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,732 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,733 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,735 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:03:18,737 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:03:18,865 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,866 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:18,871 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 6 tid=diku OK 2022-04-10T08:03:18,938 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,939 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,940 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:18 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:18,941 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:18,942 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:18,943 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:03:39,295 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:39,296 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:03:39,299 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:03:44,410 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:03:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:44,411 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:44,411 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:03:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:03:44,412 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:03:44,413 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54144 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:03:44,415 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54142 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:06:16,116 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:06:16,180 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 243401166 2022-04-10T08:06:16,184 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE ROLE test_finance1649577966040_mod_orders_storage PASSWORD 'test_finance1649577966040' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:06:16,184 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE ROLE test_finance1649577966040_mod_orders_storage PASSWORD 'test_finance1649577966040' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:06:16,184 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT test_finance1649577966040_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:06:16,185 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT test_finance1649577966040_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:06:16,185 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SCHEMA test_finance1649577966040_mod_orders_storage AUTHORIZATION test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,185 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SCHEMA test_finance1649577966040_mod_orders_storage AUTHORIZATION test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,185 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER ROLE test_finance1649577966040_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:06:16,185 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER ROLE test_finance1649577966040_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:06:16,185 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:06:16,187 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:06:16,187 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:06:16,187 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "unaccent" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,187 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:06:16,187 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:06:16,187 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "pg_trgm" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,187 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:06:16,188 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,194 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,194 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} insert into test_finance1649577966040_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:06:16,194 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed insert into test_finance1649577966040_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:06:16,194 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,200 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,207 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54146 POST /_/tenant null HTTP_1_1 201 393 98 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,323 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -2062751427 2022-04-10T08:06:16,325 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:06:16,327 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} SET search_path TO test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,328 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed SET search_path TO test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,328 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:06:16,331 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54146 GET /_/tenant/c90240f1-4538-42a2-86cc-dabd654dffc5 null HTTP_1_1 200 393 6 tid=test_finance1649577966040 OK 2022-04-10T08:06:16,335 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:06:16,335 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:06:16,335 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:06:16,335 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:06:16,338 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:06:16,338 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,339 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,339 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,340 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,340 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649577966040_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649577966040_mod_orders_storage.uuid_larger, combinefunc = test_finance1649577966040_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:06:16,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649577966040_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649577966040_mod_orders_storage.uuid_larger, combinefunc = test_finance1649577966040_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:06:16,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649577966040_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649577966040_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649577966040_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:06:16,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649577966040_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649577966040_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649577966040_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:06:16,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:06:16,342 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.count_estimate_smart2(pg_catalog.int8,pg_catalog.int8,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:06:16,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649577966040_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:06:16,343 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649577966040_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:06:16,343 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649577966040_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:06:16,343 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649577966040_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:06:16,343 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649577966040_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649577966040_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,344 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649577966040_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649577966040_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,344 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649577966040_mod_orders_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_finance1649577966040_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:06:16,345 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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_finance1649577966040_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:06:16,345 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,345 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,345 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,346 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,346 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649577966040_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,346 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649577966040_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,346 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649577966040_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,347 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649577966040_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,347 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,347 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,347 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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'; 2022-04-10T08:06:16,347 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_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'; 2022-04-10T08:06:16,347 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649577966040_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,348 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649577966040_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:06:16,348 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,348 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,348 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,349 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,349 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,349 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,349 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,349 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649577966040_mod_orders_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; 2022-04-10T08:06:16,349 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:06:16,350 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,350 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:06:16,350 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649577966040_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649577966040_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649577966040_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649577966040_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,350 INFO [vert.x-eventloop-thread-1] PostgresClient 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 EXISTS %s', aname); EXECUTE 'DELETE FROM test_finance1649577966040_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649577966040_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649577966040_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649577966040_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,350 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649577966040_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:06:16,351 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649577966040_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:06:16,351 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,357 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,357 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,357 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_alert" for relation "test_finance1649577966040_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,357 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,357 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,357 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,357 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,357 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,358 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_alert_references" for relation "test_finance1649577966040_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_alert_references(); 2022-04-10T08:06:16,358 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_alert_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_alert_references(); 2022-04-10T08:06:16,358 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,359 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,359 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,359 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,359 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,359 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.alert_set_md(); 2022-04-10T08:06:16,359 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.alert_set_md(); 2022-04-10T08:06:16,359 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,360 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,360 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,360 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,360 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,360 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:06:16,360 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:06:16,361 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,361 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,361 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.alert CASCADE; 2022-04-10T08:06:16,361 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:06:16,361 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.alert_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,361 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:06:16,361 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,365 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,365 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,366 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reporting_code" for relation "test_finance1649577966040_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,366 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,366 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,367 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reporting_code_references" for relation "test_finance1649577966040_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,367 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,367 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:06:16,367 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_reporting_code_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,367 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:06:16,367 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,367 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,367 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,368 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,368 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,368 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:06:16,368 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:06:16,368 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,368 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,368 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,369 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,369 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:06:16,369 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.reporting_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:06:16,369 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,374 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,374 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,374 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_purchase_order" for relation "test_finance1649577966040_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,374 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,374 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,374 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,374 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,374 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,375 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,375 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,375 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,375 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,376 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,379 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,379 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,379 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_assignedto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_assignedTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,381 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,381 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,382 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,384 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,384 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,385 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createdbyuserid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdByUserId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,387 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,387 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,387 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_workflowstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_workflowStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,389 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,389 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,390 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_approved_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_approved_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,392 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,392 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,392 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_dateordered_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_dateOrdered_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,395 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,395 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,395 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ordertype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_orderType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,397 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,397 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,398 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_reencumber_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_reEncumber_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,400 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,400 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,400 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,400 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,400 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,401 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,401 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,401 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,401 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,401 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,401 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,402 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,404 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,404 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,404 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,407 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,407 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,407 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,409 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,409 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:06:16,409 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_reason_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_reason_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,410 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:06:16,410 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:06:16,411 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_note_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_note_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,411 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:06:16,411 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:06:16,411 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,412 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649577966040_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:06:16,412 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,412 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_purchase_order_references" for relation "test_finance1649577966040_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,412 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,412 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:06:16,412 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_purchase_order_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,412 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,413 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:06:16,413 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,414 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,414 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,414 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,414 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,414 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:06:16,414 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:06:16,414 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,415 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,415 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:06:16,415 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:06:16,415 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.purchase_order_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,415 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:06:16,415 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SEQUENCE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:06:16,415 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SEQUENCE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:06:16,415 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT USAGE ON SEQUENCE test_finance1649577966040_mod_orders_storage.po_number TO test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,416 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT USAGE ON SEQUENCE test_finance1649577966040_mod_orders_storage.po_number TO test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,416 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:06:16,418 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649577966040_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:06:16,418 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,423 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,423 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,423 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_po_line" for relation "test_finance1649577966040_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,423 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,423 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,423 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,423 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,423 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,424 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,424 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,424 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,424 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,424 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_accessprovider_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_accessProvider_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,427 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,427 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,427 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_activated_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_activated_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,429 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,429 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,430 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_expectedactivation_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_expectedActivation_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,432 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,432 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,432 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_trial_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_trial_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,435 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,435 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,435 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,437 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,437 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,437 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionfrom_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionFrom_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,440 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,440 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,440 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,442 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,442 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,442 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_location_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_location_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,445 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,445 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,445 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_receiptdue_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_receiptDue_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,447 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,447 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,447 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_expectedreceiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_expectedReceiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,450 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,450 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,450 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,453 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,453 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,453 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,455 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,455 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,455 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_grace_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_grace_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,458 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,458 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,458 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_sent_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_sent_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,460 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,460 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,461 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_collection_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_collection_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,463 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,463 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,464 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,466 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,466 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,466 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_paymentstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_paymentStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,469 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,469 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,469 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_orderformat_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_orderFormat_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,471 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,471 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,472 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,474 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,474 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,474 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,477 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,477 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,477 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_rush_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_rush_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,480 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,480 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,480 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_source_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_source_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,482 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649577966040_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,482 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,483 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_funddistribution_code_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_fundDistribution_code_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,483 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,484 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,484 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_productids_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_productIds_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,484 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,484 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,485 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_title_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_title_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,485 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,485 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,485 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_titleorpackage_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_titleOrPackage_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,486 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,486 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,486 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_vendoraccount_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_vendorAccount_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,486 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,486 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,487 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_tags_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_tags_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,487 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,487 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,488 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_contributors_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_contributors_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,488 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,488 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,488 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_requester_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_requester_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,489 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,489 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,489 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_polinenumber_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_poLineNumber_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,490 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,490 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,490 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,491 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,491 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,491 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,491 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,491 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,492 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,492 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,492 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,493 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,493 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,493 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,493 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,494 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,494 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:06:16,494 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,494 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:06:16,494 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:06:16,495 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,495 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:06:16,495 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:06:16,495 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,495 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:06:16,495 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:06:16,495 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,496 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649577966040_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:06:16,496 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:06:16,496 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:06:16,496 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,498 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,498 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649577966040_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649577966040_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,501 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_po_line_references" for relation "test_finance1649577966040_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,501 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,502 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_po_line_references(); 2022-04-10T08:06:16,502 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_po_line_references(); 2022-04-10T08:06:16,502 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,502 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,502 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,503 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,503 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,503 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,503 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,503 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.po_line_set_md(); 2022-04-10T08:06:16,504 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.po_line_set_md(); 2022-04-10T08:06:16,504 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,504 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,504 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,504 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,504 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,504 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:06:16,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:06:16,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,505 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.po_line CASCADE; 2022-04-10T08:06:16,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:06:16,505 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.po_line_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:06:16,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,511 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,511 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,511 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_titles" for relation "test_finance1649577966040_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,511 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,511 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,511 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,511 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,511 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,512 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,512 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,512 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,512 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:06:16,512 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:06:16,512 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,513 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,513 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649577966040_mod_orders_storage.titles (poLineId); 2022-04-10T08:06:16,515 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649577966040_mod_orders_storage.titles (poLineId); 2022-04-10T08:06:16,515 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:06:16,515 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:06:16,515 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,516 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,516 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_titles_references" for relation "test_finance1649577966040_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,516 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_titles_references(); 2022-04-10T08:06:16,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_titles_references(); 2022-04-10T08:06:16,516 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,517 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.titles_set_md(); 2022-04-10T08:06:16,518 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.titles_set_md(); 2022-04-10T08:06:16,518 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,518 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,518 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,518 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,518 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,518 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:06:16,519 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:06:16,519 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,519 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,519 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.titles CASCADE; 2022-04-10T08:06:16,519 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:06:16,519 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.titles_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,519 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:06:16,519 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,524 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_pieces" for relation "test_finance1649577966040_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,524 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,525 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,525 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,525 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,525 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,525 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_format_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_format_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,528 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,528 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,528 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_itemid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_itemId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,531 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,531 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,531 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,534 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,534 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,534 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receivingstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivingStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,536 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,536 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,536 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receiveddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivedDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,539 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,539 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,539 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_supplement_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_supplement_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,541 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649577966040_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,541 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649577966040_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,542 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_caption_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_caption_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649577966040_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,542 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649577966040_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:06:16,542 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649577966040_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:06:16,542 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_comment_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_comment_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649577966040_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,543 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649577966040_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:06:16,543 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:06:16,543 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:06:16,543 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,544 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,544 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649577966040_mod_orders_storage.pieces (poLineId); 2022-04-10T08:06:16,546 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649577966040_mod_orders_storage.pieces (poLineId); 2022-04-10T08:06:16,546 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:06:16,547 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:06:16,547 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:06:16,547 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:06:16,547 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,548 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,548 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649577966040_mod_orders_storage.pieces (titleId); 2022-04-10T08:06:16,550 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649577966040_mod_orders_storage.pieces (titleId); 2022-04-10T08:06:16,550 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:06:16,550 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:06:16,550 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,550 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,551 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,551 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_pieces_references" for relation "test_finance1649577966040_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,551 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,551 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_pieces_references(); 2022-04-10T08:06:16,551 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_pieces_references(); 2022-04-10T08:06:16,551 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,552 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,552 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,552 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,552 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,552 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,552 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,552 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.pieces_set_md(); 2022-04-10T08:06:16,553 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.pieces_set_md(); 2022-04-10T08:06:16,553 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,553 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,553 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,553 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,553 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,553 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:06:16,554 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:06:16,554 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,554 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,554 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.pieces CASCADE; 2022-04-10T08:06:16,554 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:06:16,554 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.pieces_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,554 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:06:16,554 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,560 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,560 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,560 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_invoice_relationship" for relation "test_finance1649577966040_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,560 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,560 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,560 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,560 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,560 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,561 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,561 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,561 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,561 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,561 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,561 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:06:16,561 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_invoice_relationship_purchaseorderid_invoiceid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,564 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:06:16,564 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:06:16,564 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:06:16,564 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,565 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,565 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,568 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_invoice_relationship_references" for relation "test_finance1649577966040_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:06:16,569 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:06:16,569 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,569 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,569 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:06:16,569 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.order_invoice_relationship_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,569 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:06:16,569 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:06:16,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.set_order_invoice_relationship_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:06:16,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:06:16,571 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.order_invoice_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,571 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:06:16,571 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,575 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,575 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,576 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,576 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,576 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,576 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,576 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,576 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,576 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,576 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,577 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,577 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,577 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_isdeleted_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_isDeleted_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,580 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,580 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,580 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_protectread_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_protectRead_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,582 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,582 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:06:16,583 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,585 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649577966040_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:06:16,585 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,585 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_references" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,585 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,585 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:06:16,586 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,586 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:06:16,586 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,586 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,586 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,586 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,586 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,586 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:06:16,587 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:06:16,587 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,587 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,587 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,587 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,587 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,587 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,588 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:06:16,588 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:06:16,588 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "acquisitions_unit_assignments" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649577966040_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:06:16,588 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "not_existing_auditing_table" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649577966040_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:06:16,588 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:06:16,589 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_assignments_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,589 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:06:16,589 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:06:16,589 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,589 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:06:16,589 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,596 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,596 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,596 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit_membership" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,597 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,597 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,598 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_membership_userid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_membership_userId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,600 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,600 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:06:16,600 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:06:16,600 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,601 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:06:16,601 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:06:16,604 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:06:16,604 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:06:16,604 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:06:16,604 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,604 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,605 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_membership_references" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:06:16,605 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,606 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,606 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,606 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,606 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,606 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:06:16,607 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:06:16,607 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,607 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,607 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,607 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,607 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,607 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:06:16,608 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:06:16,608 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,608 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,608 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:06:16,608 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:06:16,608 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,608 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:06:16,608 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,613 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_templates" for relation "test_finance1649577966040_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,613 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,613 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,613 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,613 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649577966040_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:06:16,614 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_templates_templatename_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_templates_templateName_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649577966040_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,616 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649577966040_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:06:16,616 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,616 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_templates_references" for relation "test_finance1649577966040_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,616 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,616 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:06:16,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_order_templates_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:06:16,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.order_templates_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:06:16,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.set_order_templates_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,618 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,618 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:06:16,618 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:06:16,618 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.order_templates_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,618 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:06:16,618 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,623 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,623 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,623 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reasons_for_closure" for relation "test_finance1649577966040_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,623 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,623 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,623 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,623 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,623 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,624 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,624 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,624 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,624 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,624 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,624 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649577966040_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:06:16,624 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "reasons_for_closure_reason_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS reasons_for_closure_reason_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649577966040_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649577966040_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,627 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reasons_for_closure_references" for relation "test_finance1649577966040_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:06:16,627 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_reasons_for_closure_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:06:16,627 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.reasons_for_closure_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,627 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:06:16,627 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.set_reasons_for_closure_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:06:16,627 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,628 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,628 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,628 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,628 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,628 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:06:16,628 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:06:16,628 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.reasons_for_closure_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,628 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:06:16,628 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,632 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:06:16,633 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,633 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54146 GET /_/tenant/c90240f1-4538-42a2-86cc-dabd654dffc5 null HTTP_1_1 200 393 1 tid=test_finance1649577966040 OK 2022-04-10T08:06:16,634 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_prefixes" for relation "test_finance1649577966040_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,634 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,634 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,635 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,635 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,635 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,635 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649577966040_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:06:16,635 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "prefixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS prefixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649577966040_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,637 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649577966040_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:06:16,637 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,638 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_prefixes_references" for relation "test_finance1649577966040_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:06:16,638 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_prefixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:06:16,638 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.prefixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,638 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:06:16,638 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.set_prefixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:06:16,638 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,639 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,639 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,639 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,639 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,639 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:06:16,639 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:06:16,639 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.prefixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,639 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:06:16,639 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,644 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,644 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,644 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_suffixes" for relation "test_finance1649577966040_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,644 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,644 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,644 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,644 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,644 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,645 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,645 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,645 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,645 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,645 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,645 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649577966040_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:06:16,645 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "suffixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS suffixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649577966040_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,648 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649577966040_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:06:16,648 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,649 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_suffixes_references" for relation "test_finance1649577966040_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:06:16,649 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_suffixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:06:16,649 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.suffixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,649 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:06:16,649 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.set_suffixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:06:16,649 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,650 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,650 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,650 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,650 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,650 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:06:16,650 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:06:16,650 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.suffixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,650 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:06:16,650 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,655 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,655 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,655 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisition_method" for relation "test_finance1649577966040_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,655 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,655 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,655 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,655 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,655 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,656 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,656 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,656 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,656 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,656 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:06:16,656 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649577966040_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:06:16,656 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisition_method_value_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisition_method_value_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649577966040_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649577966040_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,659 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisition_method_references" for relation "test_finance1649577966040_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:06:16,659 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_acquisition_method_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:06:16,659 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.acquisition_method_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,659 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,659 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:06:16,660 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.set_acquisition_method_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,660 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,660 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:06:16,660 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.acquisition_method_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:06:16,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649577966040_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,666 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_export_history" for relation "test_finance1649577966040_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,666 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649577966040_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649577966040_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649577966040_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649577966040_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:06:16,666 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649577966040_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,667 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649577966040_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,669 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649577966040_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:06:16,669 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649577966040_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:06:16,670 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportjobid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportJobId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649577966040_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,672 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649577966040_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:06:16,672 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,672 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_export_history_references" for relation "test_finance1649577966040_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,672 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,672 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_export_history_references(); 2022-04-10T08:06:16,673 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.update_export_history_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.update_export_history_references(); 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,673 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_trigger" for relation "test_finance1649577966040_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.export_history_set_md(); 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649577966040_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.export_history_set_md(); 2022-04-10T08:06:16,673 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,674 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_json_trigger" for relation "test_finance1649577966040_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649577966040_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649577966040_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,674 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_ol_version_trigger" for relation "test_finance1649577966040_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,674 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649577966040_mod_orders_storage.export_history CASCADE; 2022-04-10T08:06:16,675 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:06:16,675 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649577966040_mod_orders_storage.export_history_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,675 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649577966040_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:06:16,675 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS orders_view; 2022-04-10T08:06:16,681 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS orders_view; 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:06:16,681 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "order_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:06:16,681 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "purchase_orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:06:16,681 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "po_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:06:16,681 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:06:16,682 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:06:16,682 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:06:16,682 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,682 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:06:16,683 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO test_finance1649577966040_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649577966040_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:06:16,683 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO test_finance1649577966040_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649577966040_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:06:16,683 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:06:16,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:06:16,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:06:16,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649577966040_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:06:16,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649577966040_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:06:16,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649577966040_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:06:16,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649577966040_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:06:16,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649577966040_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:06:16,686 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649577966040_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:06:16,686 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649577966040_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:06:16,686 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649577966040_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:06:16,686 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:06:16,686 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:06:16,686 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:06:16,686 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,687 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649577966040_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:06:16,687 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:06:16,687 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:06:16,687 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649577966040_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:06:16,687 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649577966040_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649577966040_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649577966040_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649577966040_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:06:16,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649577966040_mod_orders_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_finance1649577966040_mod_orders_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_finance1649577966040_mod_orders_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 $$; 2022-04-10T08:06:16,689 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649577966040_mod_orders_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_finance1649577966040_mod_orders_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_finance1649577966040_mod_orders_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 $$; 2022-04-10T08:06:16,689 INFO [vert.x-eventloop-thread-1] PostgresClient 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 $$; 2022-04-10T08:06:16,691 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$; 2022-04-10T08:06:16,691 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2022-04-10T08:06:16,693 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2022-04-10T08:06:16,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649577966040_mod_orders_storage TO test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,697 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649577966040_mod_orders_storage TO test_finance1649577966040_mod_orders_storage; 2022-04-10T08:06:16,697 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649577966040_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:06:16,699 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649577966040_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:06:16,710 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI postTenant 2022-04-10T08:06:16,718 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,718 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:06:16,718 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649577966040 2022-04-10T08:06:16,718 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649577966040_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:06:16,723 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/ebe73dd1-fa30-4c36-aad9-6c95ea5207ae null HTTP_1_1 404 9 7 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,725 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,732 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 116 7 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,733 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,737 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/af55e63f-10f9-4919-add9-6feaf7097a6c null HTTP_1_1 404 9 4 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,738 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,745 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 6 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,746 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,750 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/22bddeeb-6cbe-45bd-b73d-7343e28c0626 null HTTP_1_1 404 9 4 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,751 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,756 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 104 4 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,757 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,758 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/b72e8ea6-67b3-4238-9257-5d8e29b95694 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,758 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,760 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 123 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,761 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,762 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/29936d21-93e4-4ab3-9ac4-2d11fa40e942 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,762 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,764 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,765 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,765 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/dcbb7f40-f2ae-4ad3-a367-27bff67ff6e6 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,766 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,768 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,769 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,769 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,770 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,771 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 100 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,772 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,773 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/71a233f8-edac-4e8e-9600-d55222d64273 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,774 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,775 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,776 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,777 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/d17f9d15-4520-49ad-9ffa-123e7739ae53 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,778 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,779 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 125 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,780 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,781 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/8ab21f8d-1343-4228-ac5c-2979ba99412b null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,782 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,783 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 112 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,784 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,785 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/7c11e86e-4776-4f4f-9aa4-13e83b4ef44d null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,785 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,787 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,788 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,788 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/65a75ad7-fbbe-4139-9c69-79fbba805ce9 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,789 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,790 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 114 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,791 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,792 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/71a83ae9-6af0-479e-b579-4904b24a3300 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,793 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,794 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 110 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,795 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,796 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/8f11f23a-e101-4861-8df2-152da9ce4889 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,796 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,798 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,799 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,799 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/cae85c3d-a839-420a-868d-283cedb1fd2f null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,800 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,802 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 97 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,803 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,804 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/27d10e3b-66cc-490b-bee6-7c1b2b07394c null HTTP_1_1 404 9 1 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,804 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,806 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 99 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,807 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,808 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/89389f7b-54e9-4b95-b5d0-f89c29b71147 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,809 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,810 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 96 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,811 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:06:16,811 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/configuration/reasons-for-closure/a47051ec-7a4f-499f-9541-a5fc5deb2f41 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,812 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:06:16,813 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 121 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,820 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,821 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/da6703b1-81fe-44af-927a-94f24d1ab8ee null HTTP_1_1 404 9 2 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,822 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,823 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 350 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,824 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,825 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/8a33895e-2c69-4a98-ab48-b7ec1fa852d0 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,825 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,827 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,828 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,829 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 404 9 1 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,829 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,831 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 370 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,832 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,832 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/0a4163a5-d225-4007-ad90-2fb41b73efab null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,833 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,834 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,835 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,836 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/041035ad-b2a4-4aa0-b6a5-234b88bf938c null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,836 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,838 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 377 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,838 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,839 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,840 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,841 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 358 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,842 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,842 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/86d12634-b848-4968-adf0-5a95ce41c41b null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,843 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,844 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,845 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,846 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/d0d3811c-19f8-4c57-a462-958165cdbbea null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,847 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,848 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 354 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,849 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,850 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/d2420b93-7b93-41b7-8b42-798f64cb6dd2 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,850 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,852 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,853 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,853 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/df26d81b-9d63-4ff8-bf41-49bf75cfa70e null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,854 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,855 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,856 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,857 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/0c9b09c9-b94f-4702-aa63-a7f43617a225 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,857 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,859 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 362 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,860 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,860 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/5771a8a4-9323-49ee-9002-1b068d71ff42 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,861 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,862 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,863 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:06:16,864 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 PUT /orders-storage/acquisition-methods/aaa541f3-39d2-4887-ab8f-6ba12d08ca52 null HTTP_1_1 404 9 0 tid=test_finance1649577966040 Not Found 2022-04-10T08:06:16,865 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:06:16,866 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33182 POST /orders-storage/acquisition-methods null HTTP_1_1 201 378 1 tid=test_finance1649577966040 Created 2022-04-10T08:06:16,866 INFO [vert.x-eventloop-thread-1] TenantAPI job c90240f1-4538-42a2-86cc-dabd654dffc5 completed 2022-04-10T08:06:17,010 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:06:17,012 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54146 GET /_/tenant/c90240f1-4538-42a2-86cc-dabd654dffc5 null HTTP_1_1 200 452 2 tid=test_finance1649577966040 OK 2022-04-10T08:06:17,013 INFO [vert.x-eventloop-thread-1] RestRouting invoking deleteTenantByOperationId 2022-04-10T08:06:17,013 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI deleteTenant 2022-04-10T08:06:17,016 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54146 DELETE /_/tenant/c90240f1-4538-42a2-86cc-dabd654dffc5 null HTTP_1_1 204 0 3 tid=test_finance1649577966040 No Content 2022-04-10T08:07:33,417 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:07:33,417 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:07:33,417 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649577966040 2022-04-10T08:07:33,417 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649577966040_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:07:33,423 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/po-number null HTTP_1_1 200 32 5 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,429 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:07:33,434 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10000 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:07:33,441 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10000&limit=1 HTTP_1_1 200 50 11 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,448 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:07:33,459 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@163eb725 and associated data were successfully created 2022-04-10T08:07:33,460 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 12 tid=test_finance1649577966040 Created 2022-04-10T08:07:33,467 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:07:33,472 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/po-line-number purchaseOrderId=cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a HTTP_1_1 200 33 5 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,480 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:07:33,494 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@af366644 and associated data were successfully created 2022-04-10T08:07:33,495 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 POST /orders-storage/po-lines null HTTP_1_1 201 1504 15 tid=test_finance1649577966040 Created 2022-04-10T08:07:33,514 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:33,515 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(61ed1372-6df8-4527-aa17-d87aaca88e37) >>>WHERE poLineId='61ed1372-6df8-4527-aa17-d87aaca88e37' LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:33,521 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2861ed1372-6df8-4527-aa17-d87aaca88e37%29&limit=2147483647 HTTP_1_1 200 42 7 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,595 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:33,596 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:33,599 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 4 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,602 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:33,602 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:33,604 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,671 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:33,672 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(61ed1372-6df8-4527-aa17-d87aaca88e37) >>>WHERE poLineId='61ed1372-6df8-4527-aa17-d87aaca88e37' LIMIT 15 OFFSET 0 2022-04-10T08:07:33,674 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2861ed1372-6df8-4527-aa17-d87aaca88e37%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,676 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:33,677 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==61ed1372-6df8-4527-aa17-d87aaca88e37 >>>WHERE poLineId='61ed1372-6df8-4527-aa17-d87aaca88e37' LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:33,678 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D61ed1372-6df8-4527-aa17-d87aaca88e37&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,690 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:07:33,693 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/po-lines/61ed1372-6df8-4527-aa17-d87aaca88e37 null HTTP_1_1 200 1504 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,703 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:07:33,705 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/purchase-orders/cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a null HTTP_1_1 200 527 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,712 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:07:33 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:33,713 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a >>>WHERE purchaseOrderId='cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a' LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:33,715 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dcd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a&limit=2147483647 HTTP_1_1 200 1644 3 tid=test_finance1649577966040 OK 2022-04-10T08:07:33,727 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:07:33,731 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 POST /orders-storage/pieces null HTTP_1_1 201 249 4 tid=test_finance1649577966040 Created 2022-04-10T08:07:33,841 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:07:33,845 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@b0f05cd was successfully updated 2022-04-10T08:07:33,845 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '61ed1372-6df8-4527-aa17-d87aaca88e37' >>>WHERE poLineId = '61ed1372-6df8-4527-aa17-d87aaca88e37' 2022-04-10T08:07:33,848 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@b0f05cd and associated data were successfully updated 2022-04-10T08:07:33,848 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 PUT /orders-storage/po-lines/61ed1372-6df8-4527-aa17-d87aaca88e37 null HTTP_1_1 204 0 7 tid=test_finance1649577966040 No Content 2022-04-10T08:07:33,857 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:07:33,857 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a 2022-04-10T08:07:33,860 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a successfully updated 2022-04-10T08:07:33,860 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 PUT /orders-storage/purchase-orders/cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a null HTTP_1_1 204 0 3 tid=test_finance1649577966040 No Content 2022-04-10T08:07:34,392 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:07:34,393 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,395 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:07:34,396 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10001 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:07:34,398 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10001&limit=1 HTTP_1_1 200 50 3 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,400 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:07:34,407 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@10d65608 and associated data were successfully created 2022-04-10T08:07:34,408 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 7 tid=test_finance1649577966040 Created 2022-04-10T08:07:34,410 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:07:34,418 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/po-line-number purchaseOrderId=11566316-bcbc-4bb8-a69f-ab09d9e5cc06 HTTP_1_1 200 33 8 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,421 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:07:34,430 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9bbd6639 and associated data were successfully created 2022-04-10T08:07:34,430 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 POST /orders-storage/po-lines null HTTP_1_1 201 1506 10 tid=test_finance1649577966040 Created 2022-04-10T08:07:34,441 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:34,442 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(2688dcff-2c00-4d52-bb8d-7ba88907f466) >>>WHERE poLineId='2688dcff-2c00-4d52-bb8d-7ba88907f466' LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:34,444 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%282688dcff-2c00-4d52-bb8d-7ba88907f466%29&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,486 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:34,488 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:34,491 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:34,492 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:34,493 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 6 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,496 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 5 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,533 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:34,534 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(2688dcff-2c00-4d52-bb8d-7ba88907f466) >>>WHERE poLineId='2688dcff-2c00-4d52-bb8d-7ba88907f466' LIMIT 15 OFFSET 0 2022-04-10T08:07:34,536 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%282688dcff-2c00-4d52-bb8d-7ba88907f466%29&limit=15 HTTP_1_1 200 321 3 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,539 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:34,540 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==2688dcff-2c00-4d52-bb8d-7ba88907f466 >>>WHERE poLineId='2688dcff-2c00-4d52-bb8d-7ba88907f466' LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:34,541 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D2688dcff-2c00-4d52-bb8d-7ba88907f466&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,544 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:07:34,546 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/po-lines/2688dcff-2c00-4d52-bb8d-7ba88907f466 null HTTP_1_1 200 1506 2 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,548 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:07:34,549 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/purchase-orders/11566316-bcbc-4bb8-a69f-ab09d9e5cc06 null HTTP_1_1 200 527 1 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,552 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:07:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:34,553 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==11566316-bcbc-4bb8-a69f-ab09d9e5cc06 >>>WHERE purchaseOrderId='11566316-bcbc-4bb8-a69f-ab09d9e5cc06' LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:34,555 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D11566316-bcbc-4bb8-a69f-ab09d9e5cc06&limit=2147483647 HTTP_1_1 200 1646 3 tid=test_finance1649577966040 OK 2022-04-10T08:07:34,558 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:07:34,560 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649577966040 Created 2022-04-10T08:07:34,625 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:07:34,627 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@890694e2 was successfully updated 2022-04-10T08:07:34,627 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '2688dcff-2c00-4d52-bb8d-7ba88907f466' >>>WHERE poLineId = '2688dcff-2c00-4d52-bb8d-7ba88907f466' 2022-04-10T08:07:34,629 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@890694e2 and associated data were successfully updated 2022-04-10T08:07:34,629 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 PUT /orders-storage/po-lines/2688dcff-2c00-4d52-bb8d-7ba88907f466 null HTTP_1_1 204 0 5 tid=test_finance1649577966040 No Content 2022-04-10T08:07:34,633 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:07:34,633 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=11566316-bcbc-4bb8-a69f-ab09d9e5cc06 2022-04-10T08:07:34,635 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=11566316-bcbc-4bb8-a69f-ab09d9e5cc06 successfully updated 2022-04-10T08:07:34,636 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 PUT /orders-storage/purchase-orders/11566316-bcbc-4bb8-a69f-ab09d9e5cc06 null HTTP_1_1 204 0 3 tid=test_finance1649577966040 No Content 2022-04-10T08:07:35,243 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:35,244 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:35,244 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:35,245 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:35,247 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 4 tid=test_finance1649577966040 OK 2022-04-10T08:07:35,248 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649577966040 OK 2022-04-10T08:07:35,260 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) 2022-04-10T08:07:35,262 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) 2022-04-10T08:07:35,266 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22e6b0678b-0ce1-42b3-b749-a4ea9a74f567%5C%22*%22%29&limit=0 HTTP_1_1 200 50 5 tid=test_finance1649577966040 OK 2022-04-10T08:07:35,269 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) 2022-04-10T08:07:35,273 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e6b0678b-0ce1-42b3-b749-a4ea9a74f567\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e6b0678b-0ce1-42b3-b749-a4ea9a74f567"%')) 2022-04-10T08:07:35,281 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22e6b0678b-0ce1-42b3-b749-a4ea9a74f567%5C%22*%22%29&limit=200 HTTP_1_1 200 1501 12 tid=test_finance1649577966040 OK 2022-04-10T08:07:35,288 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:07:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:07:35,289 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a) or (purchaseOrderId == 11566316-bcbc-4bb8-a69f-ab09d9e5cc06) >>>WHERE (purchaseOrderId='cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a') OR (purchaseOrderId='11566316-bcbc-4bb8-a69f-ab09d9e5cc06') LIMIT 2147483647 OFFSET 0 2022-04-10T08:07:35,292 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+cd20c9c6-ae08-4e25-8c3b-e3f5a05f7c6a%29+or+%28purchaseOrderId+%3D%3D+11566316-bcbc-4bb8-a69f-ab09d9e5cc06%29&limit=2147483647 HTTP_1_1 200 3532 4 tid=test_finance1649577966040 OK 2022-04-10T08:07:35,327 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:07:35,329 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:07:35,331 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:07:35,332 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:07:35,335 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@476e72cd was successfully updated 2022-04-10T08:07:35,335 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '2688dcff-2c00-4d52-bb8d-7ba88907f466' >>>WHERE poLineId = '2688dcff-2c00-4d52-bb8d-7ba88907f466' 2022-04-10T08:07:35,337 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@476e72cd and associated data were successfully updated 2022-04-10T08:07:35,337 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54150 PUT /orders-storage/po-lines/2688dcff-2c00-4d52-bb8d-7ba88907f466 null HTTP_1_1 204 0 11 tid=test_finance1649577966040 No Content 2022-04-10T08:07:35,339 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@d63b7d2 was successfully updated 2022-04-10T08:07:35,339 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '61ed1372-6df8-4527-aa17-d87aaca88e37' >>>WHERE poLineId = '61ed1372-6df8-4527-aa17-d87aaca88e37' 2022-04-10T08:07:35,342 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@d63b7d2 and associated data were successfully updated 2022-04-10T08:07:35,342 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54152 PUT /orders-storage/po-lines/61ed1372-6df8-4527-aa17-d87aaca88e37 null HTTP_1_1 204 0 13 tid=test_finance1649577966040 No Content 2022-04-10T08:07:35,343 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@af4500ff was successfully updated 2022-04-10T08:07:35,343 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '2688dcff-2c00-4d52-bb8d-7ba88907f466' >>>WHERE poLineId = '2688dcff-2c00-4d52-bb8d-7ba88907f466' 2022-04-10T08:07:35,344 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@9d5323e6 was successfully updated 2022-04-10T08:07:35,344 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '61ed1372-6df8-4527-aa17-d87aaca88e37' >>>WHERE poLineId = '61ed1372-6df8-4527-aa17-d87aaca88e37' 2022-04-10T08:07:35,346 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@af4500ff and associated data were successfully updated 2022-04-10T08:07:35,346 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54158 PUT /orders-storage/po-lines/2688dcff-2c00-4d52-bb8d-7ba88907f466 null HTTP_1_1 204 0 14 tid=test_finance1649577966040 No Content 2022-04-10T08:07:35,347 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9d5323e6 and associated data were successfully updated 2022-04-10T08:07:35,347 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54156 PUT /orders-storage/po-lines/61ed1372-6df8-4527-aa17-d87aaca88e37 null HTTP_1_1 204 0 17 tid=test_finance1649577966040 No Content 2022-04-10T08:07:39,898 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:07:39,912 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -755433910 2022-04-10T08:07:39,917 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP SCHEMA IF EXISTS test_finance1649577966040_mod_orders_storage CASCADE; 2022-04-10T08:07:39,928 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='drop cascades to 67 other objects', detail='drop cascades to table test_finance1649577966040_mod_orders_storage.rmb_internal drop cascades to table test_finance1649577966040_mod_orders_storage.rmb_job drop cascades to table test_finance1649577966040_mod_orders_storage.rmb_internal_index drop cascades to table test_finance1649577966040_mod_orders_storage.rmb_internal_analyze drop cascades to function test_finance1649577966040_mod_orders_storage.uuid_smaller(uuid,uuid) drop cascades to function test_finance1649577966040_mod_orders_storage.uuid_larger(uuid,uuid) drop cascades to function test_finance1649577966040_mod_orders_storage.next_uuid(uuid) drop cascades to function test_finance1649577966040_mod_orders_storage.max(uuid) drop cascades to function test_finance1649577966040_mod_orders_storage.min(uuid) drop cascades to function test_finance1649577966040_mod_orders_storage.count_estimate_smart2(bigint,bigint,text) drop cascades to function test_finance1649577966040_mod_orders_storage.count_estimate_default(text) drop cascades to function test_finance1649577966040_mod_orders_storage.count_estimate(text) drop cascades to function test_finance1649577966040_mod_orders_storage.upsert(text,uuid,anyelement) drop cascades to function test_finance1649577966040_mod_orders_storage.f_unaccent(text) drop cascades to function test_finance1649577966040_mod_orders_storage.get_tsvector(text) drop cascades to function test_finance1649577966040_mod_orders_storage.tsquery_and(text) drop cascades to function test_finance1649577966040_mod_orders_storage.tsquery_or(text) drop cascades to function test_finance1649577966040_mod_orders_storage.tsquery_phrase(text) drop cascades to function test_finance1649577966040_mod_orders_storage.normalize_digits(text) drop cascades to function test_finance1649577966040_mod_orders_storage.set_id_in_jsonb() drop cascades to function test_finance1649577966040_mod_orders_storage.concat_space_sql(text[]) drop cascades to function test_finance1649577966040_mod_orders_storage.concat_array_object_values(jsonb,text) drop cascades to function test_finance1649577966040_mod_orders_storage.concat_array_object_values(jsonb,text,text,text) drop cascades to function test_finance1649577966040_mod_orders_storage.first_array_object_value(jsonb,text,text,text) drop cascades to function test_finance1649577966040_mod_orders_storage.concat_array_object(jsonb) drop cascades to function test_finance1649577966040_mod_orders_storage.rmb_internal_index(text,text,text,text) drop cascades to table test_finance1649577966040_mod_orders_storage.alert drop cascades to function test_finance1649577966040_mod_orders_storage.alert_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_alert_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.reporting_code drop cascades to function test_finance1649577966040_mod_orders_storage.reporting_code_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_reporting_code_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.purchase_order drop cascades to function test_finance1649577966040_mod_orders_storage.purchase_order_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_purchase_order_md_json() drop cascades to sequence test_finance1649577966040_mod_orders_storage.po_number drop cascades to table test_finance1649577966040_mod_orders_storage.po_line drop cascades to function test_finance1649577966040_mod_orders_storage.update_po_line_references() drop cascades to function test_finance1649577966040_mod_orders_storage.po_line_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_po_line_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.titles drop cascades to function test_finance1649577966040_mod_orders_storage.update_titles_references() drop cascades to function test_finance1649577966040_mod_orders_storage.titles_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_titles_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.pieces drop cascades to function test_finance1649577966040_mod_orders_storage.update_pieces_references() drop cascades to function test_finance1649577966040_mod_orders_storage.pieces_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_pieces_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.order_invoice_relationship drop cascades to function test_finance1649577966040_mod_orders_storage.update_order_invoice_relationship_references() drop cascades to table test_finance1649577966040_mod_orders_storage.acquisitions_unit drop cascades to function test_finance1649577966040_mod_orders_storage.acquisitions_unit_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership drop cascades to function test_finance1649577966040_mod_orders_storage.update_acquisitions_unit_membership_references() drop cascades to function test_finance1649577966040_mod_orders_storage.acquisitions_unit_membership_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_acquisitions_unit_membership_md_json() drop cascades to table test_finance1649577966040_mod_orders_storage.order_templates drop cascades to table test_finance1649577966040_mod_orders_storage.reasons_for_closure drop cascades to table test_finance1649577966040_mod_orders_storage.prefixes drop cascades to table test_finance1649577966040_mod_orders_storage.suffixes drop cascades to table test_finance1649577966040_mod_orders_storage.acquisition_method drop cascades to table test_finance1649577966040_mod_orders_storage.export_history drop cascades to function test_finance1649577966040_mod_orders_storage.export_history_set_md() drop cascades to function test_finance1649577966040_mod_orders_storage.set_export_history_md_json() drop cascades to view test_finance1649577966040_mod_orders_storage.receiving_history_view drop cascades to function test_finance1649577966040_mod_orders_storage.set_fund_code_into_pol(jsonb)', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dependency.c', line='1214', routine='reportDependentObjects', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:07:39,941 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP SCHEMA IF EXISTS test_finance1649577966040_mod_orders_storage CASCADE; 2022-04-10T08:07:39,941 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP ROLE IF EXISTS test_finance1649577966040_mod_orders_storage; 2022-04-10T08:07:39,941 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP ROLE IF EXISTS test_finance1649577966040_mod_orders_storage; 2022-04-10T08:07:39,956 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54158 POST /_/tenant null HTTP_1_1 204 0 58 tid=test_finance1649577966040 No Content 2022-04-10T08:20:00,820 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'vendor', CQL >>> SQL: vendor == e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1 >>> lower(f_unaccent(purchase_order.jsonb->>'vendor')) LIKE lower(f_unaccent('e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for po_line.jsonb->>'automaticExport', CQL >>> SQL: poLine.automaticExport == true >>> lower(f_unaccent(po_line.jsonb->>'automaticExport')) LIKE lower(f_unaccent('true')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'vendor', CQL >>> SQL: vendor == e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1 >>> lower(f_unaccent(purchase_order.jsonb->>'vendor')) LIKE lower(f_unaccent('e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1')) 2022-04-10T08:20:00,829 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (workflowStatus==Open and vendor==e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1 and poLine.automaticExport==true) >>>WHERE ((CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) AND (lower(f_unaccent(purchase_order.jsonb->>'vendor')) LIKE lower(f_unaccent('e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1')))) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'automaticExport')) LIKE lower(f_unaccent('true')))) LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for po_line.jsonb->>'automaticExport', CQL >>> SQL: poLine.automaticExport == true >>> lower(f_unaccent(po_line.jsonb->>'automaticExport')) LIKE lower(f_unaccent('true')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'vendor', CQL >>> SQL: vendor == e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1 >>> lower(f_unaccent(purchase_order.jsonb->>'vendor')) LIKE lower(f_unaccent('e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for po_line.jsonb->>'automaticExport', CQL >>> SQL: poLine.automaticExport == true >>> lower(f_unaccent(po_line.jsonb->>'automaticExport')) LIKE lower(f_unaccent('true')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'vendor', CQL >>> SQL: vendor == e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1 >>> lower(f_unaccent(purchase_order.jsonb->>'vendor')) LIKE lower(f_unaccent('e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for po_line.jsonb->>'automaticExport', CQL >>> SQL: poLine.automaticExport == true >>> lower(f_unaccent(po_line.jsonb->>'automaticExport')) LIKE lower(f_unaccent('true')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'vendor', CQL >>> SQL: vendor == e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1 >>> lower(f_unaccent(purchase_order.jsonb->>'vendor')) LIKE lower(f_unaccent('e0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1')) Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for po_line.jsonb->>'automaticExport', CQL >>> SQL: poLine.automaticExport == true >>> lower(f_unaccent(po_line.jsonb->>'automaticExport')) LIKE lower(f_unaccent('true')) 2022-04-10T08:20:00,848 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/purchase-orders query=%28workflowStatus%3D%3DOpen%20and%20vendor%3D%3De0fb5df2-cdf1-11e8-a8d5-f2801f1b9fd1%20and%20poLine.automaticExport%3D%3Dtrue%29&limit=2147483647 HTTP_1_1 200 2109 28 tid=diku OK 2022-04-10T08:20:00,884 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:20:00,891 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/purchase-orders/3d40445b-44f8-4146-9270-c3eb59dafbf5 null HTTP_1_1 200 976 7 tid=diku OK 2022-04-10T08:20:00,896 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:00,901 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3d40445b-44f8-4146-9270-c3eb59dafbf5 >>>WHERE purchaseOrderId='3d40445b-44f8-4146-9270-c3eb59dafbf5' LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:00,908 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3d40445b-44f8-4146-9270-c3eb59dafbf5&limit=2147483647 HTTP_1_1 200 2317 12 tid=diku OK 2022-04-10T08:20:00,912 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:20:00 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:00,917 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166) >>>WHERE poLineId='4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' LIMIT 15 OFFSET 0 2022-04-10T08:20:00,921 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284e0f2fc5-f589-41f5-8b1f-ca9bdb58b166%29&limit=15 HTTP_1_1 200 592 9 tid=diku OK 2022-04-10T08:20:01,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:01,045 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:01,046 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:01,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:20:01,051 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==c1139912-841e-475b-8e26-c92bb25c2e4e >>>WHERE CASE WHEN length(lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:01,058 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3Dc1139912-841e-475b-8e26-c92bb25c2e4e HTTP_1_1 200 63 18 tid=diku OK 2022-04-10T08:20:01,154 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:20:01,156 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 976 1 tid=diku OK 2022-04-10T08:20:01,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:20:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:01,159 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:01,161 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2638 3 tid=diku OK 2022-04-10T08:20:01,165 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:20:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:01,165 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:20:01,167 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 2 tid=diku OK 2022-04-10T08:20:01,223 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:01,224 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==c1139912-841e-475b-8e26-c92bb25c2e4e >>>WHERE CASE WHEN length(lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('c1139912-841e-475b-8e26-c92bb25c2e4e')) END LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:20:01 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:01,225 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:20:01,225 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:01,228 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3Dc1139912-841e-475b-8e26-c92bb25c2e4e HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:20:01,234 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T08:20:04,352 INFO [vert.x-worker-thread-7 ] ExportHistoryPostgresRepository Creating new export history with id=579c7b5f-d1ee-404f-9757-8fc690ef772b 2022-04-10T08:20:04,360 INFO [vert.x-worker-thread-8 ] ExportHistoryPostgresRepository New export history with id=579c7b5f-d1ee-404f-9757-8fc690ef772b successfully created 2022-04-10T08:20:04,375 INFO [vert.x-worker-thread-8 ] CQLWrapper CRITERION >>> SQL: WHERE ( id = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' OR id = '14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47') >>>WHERE ( id = '4e0f2fc5-f589-41f5-8b1f-ca9bdb58b166' OR id = '14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47') 2022-04-10T08:20:05,359 INFO [vert.x-worker-thread-13 ] KafkaConsumerWrapper Consumer - id: 0 subscriptionPattern: SubscriptionDefinition(eventType=edi-export-history.create, subscriptionPattern=FOLIO\.Default\.\w{1,}\.edi-export-history.create) Committed offset: 1 2022-04-10T08:20:27,190 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:20:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:27,192 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:27,195 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 4 tid=diku OK 2022-04-10T08:20:27,206 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:27,207 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:27,209 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:27,221 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:20:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:27,222 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:27,224 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 3 tid=diku OK 2022-04-10T08:20:27,238 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:27,239 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:27,241 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:27,253 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:27,254 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:27,256 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:20:27,269 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:20:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:27,270 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:27,273 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 4 tid=diku OK 2022-04-10T08:20:30,769 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:20:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:30,770 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:30,771 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:20:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:30,772 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:30,772 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:30,773 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:30,775 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 6 tid=diku OK 2022-04-10T08:20:30,776 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 4 tid=diku OK 2022-04-10T08:20:30,778 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:20:30,976 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:20:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:30,977 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:30,980 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 3 tid=diku OK 2022-04-10T08:20:31,080 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:31,080 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:31,082 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:20:31,095 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:31,096 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:31,098 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:31,117 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:20:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:31,118 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus==("Open" or "Pending" or "Closed"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) OR (CASE WHEN length(lower(f_unaccent('Pending'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Pending')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Pending')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Pending')) END)) OR (CASE WHEN length(lower(f_unaccent('Closed'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Closed')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Closed')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Closed')) END)) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:20:31,123 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%28%22Open%22+or+%22Pending%22+or+%22Closed%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 6636 7 tid=diku OK 2022-04-10T08:20:31,560 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:31,561 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T08:20:31,564 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:31,576 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:31,577 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:31,579 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:31,592 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:31,593 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:31,595 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:20:34,448 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:20:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:34,449 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:34,449 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:20:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:34,450 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:34,451 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 3 tid=diku OK 2022-04-10T08:20:34,452 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 2 tid=diku OK 2022-04-10T08:20:34,666 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:20:34,668 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/po-number null HTTP_1_1 200 32 1 tid=diku OK 2022-04-10T08:20:34,681 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:20:34 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:34,682 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:34,684 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 3 tid=diku OK 2022-04-10T08:20:35,144 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:35,145 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 1000 OFFSET 0 2022-04-10T08:20:35,147 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=1000 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:20:35,528 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T08:20:35,529 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectCreate==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false'))) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) Apr 10, 2022 8:20:35 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for acquisitions_unit.jsonb->>'protectCreate', CQL >>> SQL: protectCreate == false >>> lower(f_unaccent(acquisitions_unit.jsonb->>'protectCreate')) LIKE lower(f_unaccent('false')) 2022-04-10T08:20:35,532 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectCreate%3D%3Dfalse%29&limit=1000 HTTP_1_1 200 53 4 tid=diku OK 2022-04-10T08:20:38,504 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:38 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:38,505 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:38,505 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:38 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:38,506 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:38,507 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:38,508 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:44,395 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) 2022-04-10T08:20:44,396 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10003 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) 2022-04-10T08:20:44,398 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10003&limit=1 HTTP_1_1 200 50 3 tid=diku OK 2022-04-10T08:20:44,415 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:20:44,421 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@9980abc8 and associated data were successfully created 2022-04-10T08:20:44,421 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 6 tid=diku Created 2022-04-10T08:20:44,805 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,806 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:44,807 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 2 tid=diku OK 2022-04-10T08:20:44,822 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,827 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:44,827 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,828 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:44,829 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,829 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:44,831 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 8 tid=diku OK 2022-04-10T08:20:44,832 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:20:44,835 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 6 tid=diku OK 2022-04-10T08:20:44,835 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,836 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,836 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:20:44,837 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:44,838 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:44,840 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:44,938 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,939 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:44,939 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,940 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:44,941 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:44,942 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:20:44,944 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:20:44 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:44,945 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus==("Open" or "Pending" or "Closed"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) OR (CASE WHEN length(lower(f_unaccent('Pending'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Pending')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Pending')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Pending')) END)) OR (CASE WHEN length(lower(f_unaccent('Closed'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Closed')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Closed')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Closed')) END)) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:20:44,950 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%28%22Open%22+or+%22Pending%22+or+%22Closed%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 7198 6 tid=diku OK 2022-04-10T08:20:45,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,042 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,042 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,043 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,044 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,045 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:45,047 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:20:45,048 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:20:45,050 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54160 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 6 tid=diku OK 2022-04-10T08:20:45,051 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:20:45,051 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,052 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 10 OFFSET 0 2022-04-10T08:20:45,054 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 3 tid=diku OK 2022-04-10T08:20:45,056 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&lang=en HTTP_1_1 200 610 5 tid=diku OK 2022-04-10T08:20:45,068 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,068 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 1000 OFFSET 0 2022-04-10T08:20:45,071 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426 HTTP_1_1 200 61 3 tid=diku OK 2022-04-10T08:20:45,101 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,102 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,103 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 43 2 tid=diku OK 2022-04-10T08:20:45,115 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,116 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,118 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:20:45,130 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,131 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,133 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:20:45,159 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,160 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 1000 OFFSET 0 2022-04-10T08:20:45,164 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&limit=1000 HTTP_1_1 200 43 4 tid=diku OK 2022-04-10T08:20:45,537 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,538 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,539 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,539 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:45,540 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:45,542 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 3 tid=diku OK Apr 10, 2022 8:20:45 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:45,576 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:20:45,577 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T08:20:45,579 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:20:48,408 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:48,408 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:48,409 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:48,410 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:48,411 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:48,412 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:20:48,415 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:20:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:48,416 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 1000 OFFSET 0 2022-04-10T08:20:48,420 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&limit=1000 HTTP_1_1 200 43 5 tid=diku OK 2022-04-10T08:20:48,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplates Apr 10, 2022 8:20:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:48,424 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby templateName >>>WHERE true ORDER BY left(lower(f_unaccent(order_templates.jsonb->>'templateName')),600), lower(f_unaccent(order_templates.jsonb->>'templateName')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:48,426 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/order-templates limit=1000&offset=0&query=cql.allRecords%3D1+sortby+templateName&lang=en HTTP_1_1 200 5444 3 tid=diku OK 2022-04-10T08:20:48,626 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:20:48,628 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 1 tid=diku OK 2022-04-10T08:20:48,630 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:20:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:48,631 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:48,633 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 43 2 tid=diku OK 2022-04-10T08:20:49,645 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:49,646 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:49,647 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:49,647 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:49,649 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:49,650 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:20:49,908 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:20:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:49,909 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:49,909 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethods Apr 10, 2022 8:20:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:49,910 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby value >>>WHERE true ORDER BY left(lower(f_unaccent(acquisition_method.jsonb->>'value')),600), lower(f_unaccent(acquisition_method.jsonb->>'value')) LIMIT 1000 OFFSET 0 2022-04-10T08:20:49,910 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:20:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:20:49,910 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:20:49,911 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54168 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:20:49,913 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54166 GET /orders-storage/acquisition-methods offset=0&query=cql.allRecords%3D1+sortby+value&limit=1000 HTTP_1_1 200 3287 3 tid=diku OK 2022-04-10T08:20:49,914 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54162 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:54,142 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,147 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 0 OFFSET 0 2022-04-10T08:21:54,151 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=0 HTTP_1_1 200 43 8 tid=diku OK 2022-04-10T08:21:54,169 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:21:54,175 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 6 tid=diku OK 2022-04-10T08:21:54,193 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:21:54,199 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /orders-storage/po-line-number purchaseOrderId=d1aa94ab-77f2-410a-a095-6355c7b5b426 HTTP_1_1 200 33 5 tid=diku OK 2022-04-10T08:21:54,217 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:21:54,232 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@e2c435bf and associated data were successfully created 2022-04-10T08:21:54,232 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 POST /orders-storage/po-lines null HTTP_1_1 201 1901 15 tid=diku Created 2022-04-10T08:21:54,696 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,701 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,702 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:21:54,705 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:21:54,706 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,707 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:21:54,710 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 8 tid=diku OK 2022-04-10T08:21:54,711 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 15 tid=diku OK 2022-04-10T08:21:54,713 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:21:54,736 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,737 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:21:54,738 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,739 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,740 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 3 tid=diku OK 2022-04-10T08:21:54,740 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,741 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,742 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:21:54,744 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:21:54,827 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:21:54,827 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,828 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,829 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,829 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,831 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:21:54,831 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 4 tid=diku OK 2022-04-10T08:21:54,833 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,834 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,836 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2073 2 tid=diku OK 2022-04-10T08:21:54,837 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 8 tid=diku OK 2022-04-10T08:21:54,840 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,842 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus==("Open" or "Pending" or "Closed"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) OR (CASE WHEN length(lower(f_unaccent('Pending'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Pending')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Pending')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Pending')) END)) OR (CASE WHEN length(lower(f_unaccent('Closed'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Closed')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Closed')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Closed')) END)) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:21:54,849 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%28%22Open%22+or+%22Pending%22+or+%22Closed%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 7198 8 tid=diku OK 2022-04-10T08:21:54,856 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,857 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:21:54,859 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 321 2 tid=diku OK 2022-04-10T08:21:54,907 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,908 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,908 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,909 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:54,910 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:21:54,912 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:54,914 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:21:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:54,915 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='c7ac156e-316d-4e20-b87f-6a28420b8133') LIMIT 10 OFFSET 0 2022-04-10T08:21:54,921 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dc7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=10 HTTP_1_1 200 2073 6 tid=diku OK 2022-04-10T08:21:55,134 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,136 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,136 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:21:55,137 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,138 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:21:55,140 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:55,429 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,430 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,431 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,432 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,433 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:21:55,434 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:55,463 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,464 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T08:21:55,467 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:55,549 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,550 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,551 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,551 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,552 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:21:55,554 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:55,879 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T08:21:55,880 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 200 230 1 tid=diku OK 2022-04-10T08:21:55,911 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,912 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,914 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:21:55,926 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:55,926 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:55,929 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:21:55,939 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:21:55,941 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=c7ac156e-316d-4e20-b87f-6a28420b8133 and instanceId="" sortby title >>>WHERE (poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:21:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:21:55,942 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/titles offset=0&query=poLineId%3Dc7ac156e-316d-4e20-b87f-6a28420b8133+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 42 3 tid=diku OK 2022-04-10T08:21:57,765 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,766 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 1000 OFFSET 0 2022-04-10T08:21:57,769 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426 HTTP_1_1 200 61 3 tid=diku OK 2022-04-10T08:21:57,769 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:21:57,770 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,770 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,772 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,773 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,774 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 4 tid=diku OK 2022-04-10T08:21:57,774 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:21:57,776 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:57,776 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,777 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,777 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,778 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,779 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships 2022-04-10T08:21:57,780 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,781 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 5 tid=diku OK Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,782 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:21:57,784 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2073 6 tid=diku OK 2022-04-10T08:21:57,784 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,786 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 1000 OFFSET 0 2022-04-10T08:21:57,787 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,790 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 10 OFFSET 0 2022-04-10T08:21:57,791 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,792 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:21:57,794 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&limit=1000 HTTP_1_1 200 2073 9 tid=diku OK 2022-04-10T08:21:57,794 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,795 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,797 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 321 5 tid=diku OK 2022-04-10T08:21:57,798 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&lang=en HTTP_1_1 200 610 10 tid=diku OK 2022-04-10T08:21:57,798 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,799 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:21:57,799 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,800 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,802 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:21:57,803 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:21:57,804 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54170 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 5 tid=diku OK 2022-04-10T08:21:57,863 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,864 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,864 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:21:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:21:57,865 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:21:57,867 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:21:57,868 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:22:03,240 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,241 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:03,244 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2073 3 tid=diku OK 2022-04-10T08:22:03,278 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:22:03,279 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 1 tid=diku OK 2022-04-10T08:22:03,282 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,283 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:03,285 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2073 2 tid=diku OK 2022-04-10T08:22:03,305 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,306 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:03,308 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=2147483647 HTTP_1_1 200 42 3 tid=diku OK 2022-04-10T08:22:03,327 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:22:03,331 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@e382479b was successfully updated 2022-04-10T08:22:03,331 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'c7ac156e-316d-4e20-b87f-6a28420b8133' >>>WHERE poLineId = 'c7ac156e-316d-4e20-b87f-6a28420b8133' 2022-04-10T08:22:03,333 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@e382479b and associated data were successfully updated 2022-04-10T08:22:03,333 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 PUT /orders-storage/po-lines/c7ac156e-316d-4e20-b87f-6a28420b8133 lang=en HTTP_1_1 204 0 6 tid=diku No Content 2022-04-10T08:22:03,356 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,357 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:03,358 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=2147483647 HTTP_1_1 200 42 2 tid=diku OK 2022-04-10T08:22:03,586 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,586 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:03,587 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,588 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:03,588 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:22:03,590 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:22:03,782 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:22:03 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:03,786 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:22:03,787 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 321 4 tid=diku OK 2022-04-10T08:22:04,048 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:22:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:04,049 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==c7ac156e-316d-4e20-b87f-6a28420b8133 >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:04,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/pieces offset=0&query=poLineId%3D%3Dc7ac156e-316d-4e20-b87f-6a28420b8133&limit=2147483647 HTTP_1_1 200 42 3 tid=diku OK 2022-04-10T08:22:04,076 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:22:04,078 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines/c7ac156e-316d-4e20-b87f-6a28420b8133 null HTTP_1_1 200 1901 2 tid=diku OK 2022-04-10T08:22:04,083 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:22:04,084 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 527 1 tid=diku OK 2022-04-10T08:22:04,086 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:04,087 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:04,090 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2073 3 tid=diku OK 2022-04-10T08:22:04,419 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:22:04,423 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 POST /orders-storage/pieces null HTTP_1_1 201 358 4 tid=diku Created 2022-04-10T08:22:04,556 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:22:04,558 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@642f68fc was successfully updated 2022-04-10T08:22:04,558 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'c7ac156e-316d-4e20-b87f-6a28420b8133' >>>WHERE poLineId = 'c7ac156e-316d-4e20-b87f-6a28420b8133' 2022-04-10T08:22:04,561 INFO [vert.x-eventloop-thread-1] PoLinesAPI Title record org.folio.rest.jaxrs.model.Title@31b9ce8 was successfully updated 2022-04-10T08:22:04,562 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@642f68fc and associated data were successfully updated 2022-04-10T08:22:04,562 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 PUT /orders-storage/po-lines/c7ac156e-316d-4e20-b87f-6a28420b8133 null HTTP_1_1 204 0 6 tid=diku No Content 2022-04-10T08:22:04,591 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:22:04,591 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=d1aa94ab-77f2-410a-a095-6355c7b5b426 2022-04-10T08:22:04,594 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=d1aa94ab-77f2-410a-a095-6355c7b5b426 successfully updated 2022-04-10T08:22:04,594 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 PUT /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 204 0 3 tid=diku No Content 2022-04-10T08:22:04,981 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:22:04,983 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 686 1 tid=diku OK 2022-04-10T08:22:04,985 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:04,986 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:04,988 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2273 3 tid=diku OK 2022-04-10T08:22:04,991 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:22:04 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:04,992 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:22:04,993 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 380 2 tid=diku OK 2022-04-10T08:22:05,037 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,037 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 1000 OFFSET 0 2022-04-10T08:22:05,040 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426 HTTP_1_1 200 61 3 tid=diku OK 2022-04-10T08:22:05,044 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,045 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,045 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,046 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,046 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,047 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,047 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,048 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,050 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:22:05,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:22:05,054 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 7 tid=diku OK 2022-04-10T08:22:05,055 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:22:05,067 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,068 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,068 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,069 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,069 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,070 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 1000 OFFSET 0 2022-04-10T08:22:05,071 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:22:05,072 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:22:05,078 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&limit=1000 HTTP_1_1 200 2273 8 tid=diku OK 2022-04-10T08:22:05,079 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,080 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,081 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,082 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,084 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:22:05,085 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:22:05,086 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,087 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 10 OFFSET 0 2022-04-10T08:22:05,090 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,091 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus==("Open" or "Pending" or "Closed"))) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (((CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) OR (CASE WHEN length(lower(f_unaccent('Pending'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Pending')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Pending')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Pending')) END)) OR (CASE WHEN length(lower(f_unaccent('Closed'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Closed')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Closed')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Closed')) END)) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:22:05,092 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&lang=en HTTP_1_1 200 775 6 tid=diku OK 2022-04-10T08:22:05,099 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%28%22Open%22+or+%22Pending%22+or+%22Closed%22%29%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 7363 8 tid=diku OK 2022-04-10T08:22:05,122 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,123 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:22:05,125 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 2 tid=diku OK 2022-04-10T08:22:05,299 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,300 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:22:05,302 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 2 tid=diku OK 2022-04-10T08:22:05,373 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,373 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,374 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,374 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:05,375 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:22:05,377 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:22:05,416 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:05 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:05,417 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (id==0ebb1f7d-983f-3026-8a4c-5318e0ebc041) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (id='0ebb1f7d-983f-3026-8a4c-5318e0ebc041') LIMIT 1000 OFFSET 0 2022-04-10T08:22:05,419 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28id%3D%3D0ebb1f7d-983f-3026-8a4c-5318e0ebc041%29&limit=1000 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:22:09,695 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,696 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,696 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,697 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,697 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,698 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,698 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,699 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,700 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 5 tid=diku OK 2022-04-10T08:22:09,700 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54174 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:22:09,701 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:22:09,702 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54172 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:22:09,703 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,704 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='c7ac156e-316d-4e20-b87f-6a28420b8133') LIMIT 10 OFFSET 0 2022-04-10T08:22:09,709 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dc7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=10 HTTP_1_1 200 2273 5 tid=diku OK 2022-04-10T08:22:09,717 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:22:09,719 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 686 1 tid=diku OK 2022-04-10T08:22:09,721 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,722 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,724 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2273 3 tid=diku OK 2022-04-10T08:22:09,727 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,728 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:22:09,730 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 380 2 tid=diku OK 2022-04-10T08:22:09,794 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,795 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,796 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:09,797 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:09,799 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:22:09,801 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 5 tid=diku OK 2022-04-10T08:22:10,069 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:10,070 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:10,071 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:10,071 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:10,072 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:22:10,074 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:22:10,257 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T08:22:10,258 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 200 230 1 tid=diku OK 2022-04-10T08:22:10,259 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:22:10,260 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=c7ac156e-316d-4e20-b87f-6a28420b8133 and instanceId="" sortby title >>>WHERE (poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:22:10,263 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /orders-storage/titles offset=0&query=poLineId%3Dc7ac156e-316d-4e20-b87f-6a28420b8133+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 380 4 tid=diku OK 2022-04-10T08:22:10,267 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:10,268 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:10,269 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:22:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:22:10,270 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:22:10,271 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54178 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:22:10,272 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54176 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:23:37,646 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,649 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:23:37,651 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 1000 OFFSET 0 2022-04-10T08:23:37,655 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54182 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 686 6 tid=diku OK 2022-04-10T08:23:37,656 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54180 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426 HTTP_1_1 200 61 9 tid=diku OK 2022-04-10T08:23:37,657 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,661 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,664 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships 2022-04-10T08:23:37,667 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,670 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54182 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2273 13 tid=diku OK 2022-04-10T08:23:37,670 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,672 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,674 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,674 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:23:37,678 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54182 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 380 4 tid=diku OK 2022-04-10T08:23:37,679 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54180 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 15 tid=diku OK 2022-04-10T08:23:37,682 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 15 tid=diku OK 2022-04-10T08:23:37,691 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines 2022-04-10T08:23:37,692 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 1000 OFFSET 0 Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,721 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&limit=1000 HTTP_1_1 200 2273 29 tid=diku OK 2022-04-10T08:23:37,763 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,764 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,775 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 11 tid=diku OK 2022-04-10T08:23:37,784 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,785 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,788 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 4 tid=diku OK 2022-04-10T08:23:37,842 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,843 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 10 OFFSET 0 2022-04-10T08:23:37,847 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&lang=en HTTP_1_1 200 775 4 tid=diku OK 2022-04-10T08:23:37,860 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,861 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,862 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:23:37,874 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,875 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,877 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:23:37,889 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,890 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:23:37,893 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 3 tid=diku OK 2022-04-10T08:23:37,927 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,928 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,928 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:23:37 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:23:37,929 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:23:37,930 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:23:37,936 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54182 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:24:00,754 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:24:00,814 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 1623275397 2022-04-10T08:24:00,817 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE ROLE test_finance1649579030935_mod_orders_storage PASSWORD 'test_finance1649579030935' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:24:00,818 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE ROLE test_finance1649579030935_mod_orders_storage PASSWORD 'test_finance1649579030935' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:24:00,818 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT test_finance1649579030935_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:24:00,818 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT test_finance1649579030935_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:24:00,818 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SCHEMA test_finance1649579030935_mod_orders_storage AUTHORIZATION test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:00,819 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SCHEMA test_finance1649579030935_mod_orders_storage AUTHORIZATION test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:00,819 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER ROLE test_finance1649579030935_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:24:00,819 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER ROLE test_finance1649579030935_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:24:00,819 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:24:00,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:24:00,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:24:00,821 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "unaccent" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:24:00,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:24:00,821 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "pg_trgm" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:24:00,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:00,829 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:00,829 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} insert into test_finance1649579030935_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:24:00,829 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed insert into test_finance1649579030935_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:24:00,829 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:00,835 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:00,843 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 POST /_/tenant null HTTP_1_1 201 393 95 tid=test_finance1649579030935 Created 2022-04-10T08:24:00,959 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 190547194 2022-04-10T08:24:00,960 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:24:00,963 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} SET search_path TO test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:00,963 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed SET search_path TO test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:00,963 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:24:00,966 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /_/tenant/79a6c8d0-9bdf-4893-b450-cb8f9ba6ade4 null HTTP_1_1 200 393 6 tid=test_finance1649579030935 OK 2022-04-10T08:24:00,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:24:00,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:24:00,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:24:00,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:24:00,973 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:24:00,973 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,974 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,974 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,975 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,975 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:24:00,975 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:24:00,975 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579030935_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579030935_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579030935_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:24:00,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579030935_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579030935_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579030935_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:24:00,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579030935_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579030935_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579030935_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:24:00,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579030935_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579030935_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579030935_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:24:00,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:24:00,977 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.count_estimate_smart2(pg_catalog.int8,pg_catalog.int8,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:24:00,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579030935_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:24:00,978 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579030935_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:24:00,978 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579030935_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:24:00,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579030935_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:24:00,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579030935_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579030935_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:24:00,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579030935_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579030935_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:24:00,983 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579030935_mod_orders_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_finance1649579030935_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:24:00,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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_finance1649579030935_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:24:00,983 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,984 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,984 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,984 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,984 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579030935_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,985 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579030935_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,985 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579030935_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,985 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579030935_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,985 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,986 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,986 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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'; 2022-04-10T08:24:00,986 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_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'; 2022-04-10T08:24:00,986 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579030935_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,986 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579030935_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:24:00,986 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,987 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,987 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,987 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,987 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,987 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,987 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,988 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579030935_mod_orders_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; 2022-04-10T08:24:00,988 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:24:00,988 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,988 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:24:00,988 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579030935_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579030935_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579030935_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579030935_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:24:00,989 INFO [vert.x-eventloop-thread-1] PostgresClient 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 EXISTS %s', aname); EXECUTE 'DELETE FROM test_finance1649579030935_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579030935_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579030935_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579030935_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:24:00,989 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579030935_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:24:00,989 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579030935_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:24:00,989 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:00,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,995 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_alert" for relation "test_finance1649579030935_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,995 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:00,995 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:00,996 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:00,996 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,996 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_alert_references" for relation "test_finance1649579030935_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,996 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,996 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_alert_references(); 2022-04-10T08:24:00,996 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_alert_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,996 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_alert_references(); 2022-04-10T08:24:00,996 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:00,997 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:00,997 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,997 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,997 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,997 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.alert_set_md(); 2022-04-10T08:24:00,998 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.alert_set_md(); 2022-04-10T08:24:00,998 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:00,998 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:00,998 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.alert CASCADE; 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:24:00,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.alert_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:00,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:24:01,000 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,005 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reporting_code" for relation "test_finance1649579030935_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,005 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,005 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reporting_code_references" for relation "test_finance1649579030935_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:24:01,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_reporting_code_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,007 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:24:01,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,008 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,008 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:24:01,008 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:24:01,008 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.reporting_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,008 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:24:01,008 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,013 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_purchase_order" for relation "test_finance1649579030935_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,014 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,014 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,014 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,014 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,014 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,014 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,014 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,015 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_assignedto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_assignedTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,021 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,021 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,022 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,024 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,024 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,025 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createdbyuserid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdByUserId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,028 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,028 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,028 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_workflowstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_workflowStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,031 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_approved_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_approved_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,033 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,033 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,034 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_dateordered_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_dateOrdered_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,036 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,036 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,036 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ordertype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_orderType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,039 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,039 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,039 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_reencumber_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_reEncumber_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,041 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,041 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,042 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,042 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,042 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,042 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,042 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,042 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,043 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,043 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,043 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,043 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,046 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,046 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,046 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,049 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,049 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,049 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,051 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,051 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:24:01,052 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_reason_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_reason_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:24:01,053 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:24:01,053 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_note_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_note_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:24:01,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:24:01,054 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579030935_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:24:01,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,055 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_purchase_order_references" for relation "test_finance1649579030935_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:24:01,055 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_purchase_order_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,055 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,056 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:24:01,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:24:01,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,057 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:24:01,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:24:01,057 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.purchase_order_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:24:01,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SEQUENCE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:24:01,058 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SEQUENCE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:24:01,058 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT USAGE ON SEQUENCE test_finance1649579030935_mod_orders_storage.po_number TO test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:01,058 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT USAGE ON SEQUENCE test_finance1649579030935_mod_orders_storage.po_number TO test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:01,058 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:24:01,061 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579030935_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:24:01,061 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,067 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,067 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,067 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_po_line" for relation "test_finance1649579030935_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,067 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,067 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,067 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,067 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,067 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,068 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,068 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,068 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,068 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,068 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_accessprovider_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_accessProvider_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,071 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,071 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,072 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_activated_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_activated_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,074 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_expectedactivation_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_expectedActivation_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,077 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,077 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,077 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_trial_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_trial_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,080 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,080 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,080 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,083 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,083 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,083 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionfrom_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionFrom_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,086 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,089 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,089 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,089 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_location_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_location_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,092 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,092 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,092 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_receiptdue_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_receiptDue_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,095 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,095 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,095 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_expectedreceiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_expectedReceiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,098 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,098 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,098 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,101 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,101 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,101 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,104 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,104 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,104 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_grace_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_grace_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,107 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,107 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,107 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_sent_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_sent_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,110 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,110 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,110 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_collection_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_collection_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,113 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,113 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,113 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,116 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,116 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,116 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_paymentstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_paymentStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,119 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,119 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,119 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_orderformat_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_orderFormat_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,122 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,122 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,122 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,125 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,125 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,125 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,128 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,128 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,128 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_rush_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_rush_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,131 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,131 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,131 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_source_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_source_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,134 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579030935_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,134 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,134 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_funddistribution_code_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_fundDistribution_code_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,135 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,135 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,135 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_productids_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_productIds_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,136 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,136 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,136 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_title_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_title_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,136 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,136 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,137 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_titleorpackage_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_titleOrPackage_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,137 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,137 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,138 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_vendoraccount_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_vendorAccount_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,138 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,138 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,138 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_tags_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_tags_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,139 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,139 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,139 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_contributors_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_contributors_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,140 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,140 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,140 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_requester_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_requester_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,141 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,141 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,141 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_polinenumber_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_poLineNumber_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,142 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,142 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,142 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,143 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,143 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,143 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,143 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,144 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,144 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,144 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,144 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,145 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,145 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,145 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,145 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,146 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,146 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:24:01,146 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,146 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:24:01,146 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:24:01,147 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,147 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:24:01,147 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:24:01,147 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,147 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:24:01,147 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:24:01,147 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,148 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579030935_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:24:01,148 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:24:01,148 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:24:01,148 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,150 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,150 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579030935_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:24:01,153 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579030935_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:24:01,153 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,154 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_po_line_references" for relation "test_finance1649579030935_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_po_line_references(); 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_po_line_references(); 2022-04-10T08:24:01,154 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,155 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,155 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,156 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.po_line_set_md(); 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.po_line_set_md(); 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,156 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,157 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,157 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.po_line CASCADE; 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:24:01,157 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.po_line_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:24:01,157 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,163 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,163 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,163 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_titles" for relation "test_finance1649579030935_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,163 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,163 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,164 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:24:01,164 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,165 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,166 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579030935_mod_orders_storage.titles (poLineId); 2022-04-10T08:24:01,168 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579030935_mod_orders_storage.titles (poLineId); 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,169 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_titles_references" for relation "test_finance1649579030935_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_titles_references(); 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_titles_references(); 2022-04-10T08:24:01,169 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,170 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,170 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,170 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,170 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,171 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,171 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,171 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.titles_set_md(); 2022-04-10T08:24:01,171 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.titles_set_md(); 2022-04-10T08:24:01,171 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,171 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,171 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,172 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,172 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.titles CASCADE; 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:24:01,172 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.titles_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:24:01,172 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,178 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,178 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,178 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_pieces" for relation "test_finance1649579030935_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,178 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,178 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,178 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,178 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,178 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,179 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,179 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,179 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,179 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,179 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_format_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_format_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,183 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,183 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,183 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_itemid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_itemId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,186 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,186 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,186 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,189 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,189 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,189 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receivingstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivingStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,192 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,192 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,192 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receiveddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivedDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,195 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,195 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,195 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_supplement_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_supplement_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,197 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579030935_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,198 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579030935_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,198 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_caption_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_caption_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579030935_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,199 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579030935_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:24:01,199 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579030935_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:24:01,199 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_comment_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_comment_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579030935_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,200 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579030935_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:24:01,200 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:24:01,200 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:24:01,200 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,201 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,201 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579030935_mod_orders_storage.pieces (poLineId); 2022-04-10T08:24:01,203 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579030935_mod_orders_storage.pieces (poLineId); 2022-04-10T08:24:01,203 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:24:01,203 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:24:01,203 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:24:01,204 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:24:01,204 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,204 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,204 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579030935_mod_orders_storage.pieces (titleId); 2022-04-10T08:24:01,207 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579030935_mod_orders_storage.pieces (titleId); 2022-04-10T08:24:01,207 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:24:01,207 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:24:01,207 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,207 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,207 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,208 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_pieces_references" for relation "test_finance1649579030935_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,208 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,208 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_pieces_references(); 2022-04-10T08:24:01,208 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_pieces_references(); 2022-04-10T08:24:01,208 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,208 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,208 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,209 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.pieces_set_md(); 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.pieces_set_md(); 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,209 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,210 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,210 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.pieces CASCADE; 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:24:01,210 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.pieces_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:24:01,210 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,216 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,216 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,216 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_invoice_relationship" for relation "test_finance1649579030935_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,216 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,216 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,217 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,217 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,217 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,217 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,217 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,217 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,217 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,217 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,217 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:24:01,218 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_invoice_relationship_purchaseorderid_invoiceid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,221 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:24:01,221 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:24:01,221 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:24:01,221 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,222 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,222 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:24:01,224 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:24:01,224 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:24:01,224 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:24:01,224 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,225 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_invoice_relationship_references" for relation "test_finance1649579030935_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,225 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:24:01,226 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.order_invoice_relationship_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,226 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:24:01,226 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.set_order_invoice_relationship_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,226 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,226 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,226 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:24:01,227 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:24:01,227 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.order_invoice_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,227 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:24:01,227 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,231 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,232 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,232 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,232 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,233 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,233 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,233 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_isdeleted_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_isDeleted_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,235 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,235 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,236 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_protectread_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_protectRead_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,238 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,238 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:24:01,238 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,240 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579030935_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,241 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_references" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:24:01,241 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,241 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,241 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,242 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,242 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:24:01,242 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:24:01,242 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,242 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,242 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,243 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,243 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:24:01,243 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:24:01,243 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:24:01,243 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "acquisitions_unit_assignments" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579030935_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:24:01,244 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "not_existing_auditing_table" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579030935_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:24:01,244 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_assignments_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:24:01,244 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:24:01,244 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,249 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,249 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,249 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit_membership" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,249 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,249 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,249 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,249 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,249 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,250 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,250 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,250 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,250 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,250 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_membership_userid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_membership_userId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,253 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,253 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:24:01,253 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:24:01,253 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,254 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:24:01,254 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:24:01,257 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:24:01,257 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:24:01,257 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:24:01,257 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,258 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_membership_references" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:24:01,258 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,259 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,259 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,259 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,259 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,259 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:24:01,259 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,260 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:24:01,260 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,260 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,261 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:24:01,261 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:24:01,261 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,261 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:24:01,261 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,267 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:24:01,267 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,267 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,267 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_templates" for relation "test_finance1649579030935_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,267 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,267 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,267 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,268 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,268 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,269 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /_/tenant/79a6c8d0-9bdf-4893-b450-cb8f9ba6ade4 null HTTP_1_1 200 393 2 tid=test_finance1649579030935 OK 2022-04-10T08:24:01,269 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,269 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,269 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,269 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,269 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,269 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579030935_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:24:01,269 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_templates_templatename_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_templates_templateName_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579030935_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,272 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579030935_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:24:01,272 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,272 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_templates_references" for relation "test_finance1649579030935_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,272 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,272 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:24:01,272 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_order_templates_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,272 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:24:01,272 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:24:01,272 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.order_templates_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,273 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:24:01,273 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.set_order_templates_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,273 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,273 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:24:01,273 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.order_templates_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:24:01,273 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,278 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,279 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reasons_for_closure" for relation "test_finance1649579030935_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,279 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,279 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,279 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,279 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579030935_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:24:01,280 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "reasons_for_closure_reason_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS reasons_for_closure_reason_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579030935_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,282 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579030935_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:24:01,282 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,282 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reasons_for_closure_references" for relation "test_finance1649579030935_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,282 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,282 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:24:01,283 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_reasons_for_closure_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:24:01,283 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.reasons_for_closure_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,283 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:24:01,283 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.set_reasons_for_closure_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,283 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,283 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,284 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,284 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:24:01,284 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:24:01,284 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.reasons_for_closure_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,284 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:24:01,284 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,289 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_prefixes" for relation "test_finance1649579030935_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,289 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,289 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,290 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,290 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,290 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,290 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579030935_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:24:01,290 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "prefixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS prefixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579030935_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,292 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579030935_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:24:01,292 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,293 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_prefixes_references" for relation "test_finance1649579030935_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:24:01,293 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_prefixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:24:01,293 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.prefixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,293 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,293 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:24:01,294 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.set_prefixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,294 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,294 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:24:01,294 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.prefixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:24:01,294 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,299 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,299 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_suffixes" for relation "test_finance1649579030935_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,300 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,300 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579030935_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:24:01,301 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "suffixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS suffixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579030935_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,303 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579030935_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:24:01,303 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,303 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_suffixes_references" for relation "test_finance1649579030935_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,303 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,303 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:24:01,303 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_suffixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,303 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:24:01,303 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:24:01,304 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.suffixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,304 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:24:01,304 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.set_suffixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,304 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,304 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,305 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,305 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:24:01,305 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:24:01,305 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.suffixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,305 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:24:01,305 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,310 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,310 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,310 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisition_method" for relation "test_finance1649579030935_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,310 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,310 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,310 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,310 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,310 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,311 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,311 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,311 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,311 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,311 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:24:01,311 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579030935_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:24:01,311 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisition_method_value_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisition_method_value_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579030935_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,314 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579030935_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:24:01,314 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,314 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisition_method_references" for relation "test_finance1649579030935_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,314 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,314 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:24:01,314 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_acquisition_method_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,314 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:24:01,314 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:24:01,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.acquisition_method_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:24:01,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.set_acquisition_method_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,315 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:24:01,315 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:24:01,316 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.acquisition_method_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,316 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:24:01,316 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579030935_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,322 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_export_history" for relation "test_finance1649579030935_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,322 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579030935_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579030935_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:24:01,322 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579030935_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,323 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579030935_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:24:01,323 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579030935_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,323 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579030935_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,325 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579030935_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:24:01,325 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579030935_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:24:01,326 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportjobid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportJobId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579030935_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,328 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579030935_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:24:01,328 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,328 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_export_history_references" for relation "test_finance1649579030935_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,328 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,328 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_export_history_references(); 2022-04-10T08:24:01,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.update_export_history_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.update_export_history_references(); 2022-04-10T08:24:01,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_trigger" for relation "test_finance1649579030935_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.export_history_set_md(); 2022-04-10T08:24:01,330 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579030935_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.export_history_set_md(); 2022-04-10T08:24:01,330 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,330 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:24:01,330 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,330 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_json_trigger" for relation "test_finance1649579030935_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,330 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,330 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:24:01,331 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579030935_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579030935_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:24:01,331 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,331 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_ol_version_trigger" for relation "test_finance1649579030935_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,331 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579030935_mod_orders_storage.export_history CASCADE; 2022-04-10T08:24:01,331 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:24:01,331 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579030935_mod_orders_storage.export_history_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,331 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579030935_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:24:01,331 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:24:01,333 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:24:01,333 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS orders_view; 2022-04-10T08:24:01,334 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS orders_view; 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:24:01,334 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "order_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:24:01,334 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "purchase_orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:24:01,334 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "po_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:24:01,334 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:24:01,335 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:24:01,336 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:24:01,336 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,336 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:24:01,336 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO test_finance1649579030935_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579030935_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:24:01,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO test_finance1649579030935_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579030935_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:24:01,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:24:01,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:24:01,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:24:01,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:24:01,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:24:01,338 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:24:01,338 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:24:01,338 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:24:01,338 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:24:01,338 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:24:01,338 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579030935_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:24:01,339 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579030935_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:24:01,339 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579030935_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:24:01,339 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579030935_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:24:01,339 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579030935_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579030935_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579030935_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579030935_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:24:01,340 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:24:01,340 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579030935_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:24:01,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:24:01,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:24:01,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579030935_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:24:01,341 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579030935_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:24:01,341 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:24:01,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579030935_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:24:01,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:24:01,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:24:01,342 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579030935_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:24:01,342 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579030935_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:24:01,343 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579030935_mod_orders_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_finance1649579030935_mod_orders_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_finance1649579030935_mod_orders_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 $$; 2022-04-10T08:24:01,343 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579030935_mod_orders_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_finance1649579030935_mod_orders_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_finance1649579030935_mod_orders_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 $$; 2022-04-10T08:24:01,343 INFO [vert.x-eventloop-thread-1] PostgresClient 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 $$; 2022-04-10T08:24:01,345 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$; 2022-04-10T08:24:01,345 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2022-04-10T08:24:01,348 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2022-04-10T08:24:01,348 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579030935_mod_orders_storage TO test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:01,352 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579030935_mod_orders_storage TO test_finance1649579030935_mod_orders_storage; 2022-04-10T08:24:01,352 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579030935_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:24:01,353 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579030935_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:24:01,357 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI postTenant 2022-04-10T08:24:01,370 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,371 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:24:01,371 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579030935 2022-04-10T08:24:01,371 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579030935_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:24:01,376 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/ebe73dd1-fa30-4c36-aad9-6c95ea5207ae null HTTP_1_1 404 9 7 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,377 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,385 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 116 8 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,386 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,391 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/af55e63f-10f9-4919-add9-6feaf7097a6c null HTTP_1_1 404 9 4 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,392 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,399 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 7 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,400 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,405 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/22bddeeb-6cbe-45bd-b73d-7343e28c0626 null HTTP_1_1 404 9 4 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,406 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,409 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 104 3 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,410 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,411 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/b72e8ea6-67b3-4238-9257-5d8e29b95694 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,411 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,413 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 123 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,414 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,414 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/29936d21-93e4-4ab3-9ac4-2d11fa40e942 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,415 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,416 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,417 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,418 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/dcbb7f40-f2ae-4ad3-a367-27bff67ff6e6 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,419 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,421 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 2 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,422 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,422 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,424 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 100 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,425 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,426 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/71a233f8-edac-4e8e-9600-d55222d64273 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,426 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,428 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,429 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,429 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/d17f9d15-4520-49ad-9ffa-123e7739ae53 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,430 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,431 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 125 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,432 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,433 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/8ab21f8d-1343-4228-ac5c-2979ba99412b null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,433 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,435 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 112 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,436 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,437 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/7c11e86e-4776-4f4f-9aa4-13e83b4ef44d null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,437 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,438 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,439 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,440 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/65a75ad7-fbbe-4139-9c69-79fbba805ce9 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,440 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,442 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 114 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,442 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,443 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/71a83ae9-6af0-479e-b579-4904b24a3300 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,444 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,445 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 110 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,446 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,446 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/8f11f23a-e101-4861-8df2-152da9ce4889 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,447 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,448 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,449 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,450 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/cae85c3d-a839-420a-868d-283cedb1fd2f null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,450 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,452 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 97 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,452 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,453 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/27d10e3b-66cc-490b-bee6-7c1b2b07394c null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,454 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,456 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 99 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,456 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,457 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/89389f7b-54e9-4b95-b5d0-f89c29b71147 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,458 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,459 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 96 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,460 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:24:01,460 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/configuration/reasons-for-closure/a47051ec-7a4f-499f-9541-a5fc5deb2f41 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,461 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:24:01,462 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 121 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,466 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,467 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/da6703b1-81fe-44af-927a-94f24d1ab8ee null HTTP_1_1 404 9 2 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,468 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,469 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 350 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,470 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,471 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/8a33895e-2c69-4a98-ab48-b7ec1fa852d0 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,471 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,473 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,474 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,475 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 404 9 1 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,475 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,476 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 370 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,479 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,480 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/0a4163a5-d225-4007-ad90-2fb41b73efab null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,481 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,482 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,483 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,483 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/041035ad-b2a4-4aa0-b6a5-234b88bf938c null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,484 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,485 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 377 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,486 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,486 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,487 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,488 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 358 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,489 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,490 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/86d12634-b848-4968-adf0-5a95ce41c41b null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,490 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,492 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,493 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,493 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/d0d3811c-19f8-4c57-a462-958165cdbbea null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,494 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,495 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 354 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,496 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,496 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/d2420b93-7b93-41b7-8b42-798f64cb6dd2 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,497 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,498 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,499 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,500 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/df26d81b-9d63-4ff8-bf41-49bf75cfa70e null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,500 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,502 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,503 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,503 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/0c9b09c9-b94f-4702-aa63-a7f43617a225 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,504 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,505 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 362 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,506 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,507 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/5771a8a4-9323-49ee-9002-1b068d71ff42 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,507 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,509 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,510 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:24:01,510 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 PUT /orders-storage/acquisition-methods/aaa541f3-39d2-4887-ab8f-6ba12d08ca52 null HTTP_1_1 404 9 0 tid=test_finance1649579030935 Not Found 2022-04-10T08:24:01,511 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:24:01,512 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33184 POST /orders-storage/acquisition-methods null HTTP_1_1 201 378 1 tid=test_finance1649579030935 Created 2022-04-10T08:24:01,513 INFO [vert.x-eventloop-thread-1] TenantAPI job 79a6c8d0-9bdf-4893-b450-cb8f9ba6ade4 completed 2022-04-10T08:24:01,645 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:24:01,647 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 GET /_/tenant/79a6c8d0-9bdf-4893-b450-cb8f9ba6ade4 null HTTP_1_1 200 452 2 tid=test_finance1649579030935 OK 2022-04-10T08:24:01,647 INFO [vert.x-eventloop-thread-1] RestRouting invoking deleteTenantByOperationId 2022-04-10T08:24:01,648 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI deleteTenant 2022-04-10T08:24:01,653 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54184 DELETE /_/tenant/79a6c8d0-9bdf-4893-b450-cb8f9ba6ade4 null HTTP_1_1 204 0 5 tid=test_finance1649579030935 No Content 2022-04-10T08:25:29,889 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:25:29,889 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:25:29,889 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579030935 2022-04-10T08:25:29,889 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579030935_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:25:29,894 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/po-number null HTTP_1_1 200 32 5 tid=test_finance1649579030935 OK 2022-04-10T08:25:29,905 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:25:29 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:25:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:25:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:25:29,909 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10000 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:25:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:25:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:25:29 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:25:29,916 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10000&limit=1 HTTP_1_1 200 50 11 tid=test_finance1649579030935 OK 2022-04-10T08:25:29,928 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:25:29,939 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@95584f55 and associated data were successfully created 2022-04-10T08:25:29,940 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 12 tid=test_finance1649579030935 Created 2022-04-10T08:25:29,951 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:25:29,955 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/po-line-number purchaseOrderId=c1e9c89d-f125-489b-bdc2-1e077aa3035e HTTP_1_1 200 33 5 tid=test_finance1649579030935 OK 2022-04-10T08:25:29,966 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:25:29,981 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@cf19b422 and associated data were successfully created 2022-04-10T08:25:29,982 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 POST /orders-storage/po-lines null HTTP_1_1 201 1504 15 tid=test_finance1649579030935 Created 2022-04-10T08:25:29,999 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,000 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(aee6a37a-c4ac-4260-9906-f356ca166ec9) >>>WHERE poLineId='aee6a37a-c4ac-4260-9906-f356ca166ec9' LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,006 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28aee6a37a-c4ac-4260-9906-f356ca166ec9%29&limit=2147483647 HTTP_1_1 200 42 6 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,088 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,089 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,094 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 5 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,095 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,096 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,098 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,154 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,155 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(aee6a37a-c4ac-4260-9906-f356ca166ec9) >>>WHERE poLineId='aee6a37a-c4ac-4260-9906-f356ca166ec9' LIMIT 15 OFFSET 0 2022-04-10T08:25:30,157 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28aee6a37a-c4ac-4260-9906-f356ca166ec9%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,159 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,160 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==aee6a37a-c4ac-4260-9906-f356ca166ec9 >>>WHERE poLineId='aee6a37a-c4ac-4260-9906-f356ca166ec9' LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,161 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/pieces offset=0&query=poLineId%3D%3Daee6a37a-c4ac-4260-9906-f356ca166ec9&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,168 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:25:30,171 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/po-lines/aee6a37a-c4ac-4260-9906-f356ca166ec9 null HTTP_1_1 200 1504 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,182 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:25:30,184 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/purchase-orders/c1e9c89d-f125-489b-bdc2-1e077aa3035e null HTTP_1_1 200 527 2 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,191 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,192 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==c1e9c89d-f125-489b-bdc2-1e077aa3035e >>>WHERE purchaseOrderId='c1e9c89d-f125-489b-bdc2-1e077aa3035e' LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,194 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dc1e9c89d-f125-489b-bdc2-1e077aa3035e&limit=2147483647 HTTP_1_1 200 1644 2 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,204 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:25:30,208 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 POST /orders-storage/pieces null HTTP_1_1 201 249 4 tid=test_finance1649579030935 Created 2022-04-10T08:25:30,281 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:25:30,284 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@25dc517f was successfully updated 2022-04-10T08:25:30,285 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'aee6a37a-c4ac-4260-9906-f356ca166ec9' >>>WHERE poLineId = 'aee6a37a-c4ac-4260-9906-f356ca166ec9' 2022-04-10T08:25:30,286 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@25dc517f and associated data were successfully updated 2022-04-10T08:25:30,286 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 PUT /orders-storage/po-lines/aee6a37a-c4ac-4260-9906-f356ca166ec9 null HTTP_1_1 204 0 5 tid=test_finance1649579030935 No Content 2022-04-10T08:25:30,294 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:25:30,295 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=c1e9c89d-f125-489b-bdc2-1e077aa3035e 2022-04-10T08:25:30,297 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=c1e9c89d-f125-489b-bdc2-1e077aa3035e successfully updated 2022-04-10T08:25:30,297 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 PUT /orders-storage/purchase-orders/c1e9c89d-f125-489b-bdc2-1e077aa3035e null HTTP_1_1 204 0 3 tid=test_finance1649579030935 No Content 2022-04-10T08:25:30,815 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:25:30,815 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/po-number null HTTP_1_1 200 32 1 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,817 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:25:30,818 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10001 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:25:30,820 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10001&limit=1 HTTP_1_1 200 50 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,823 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:25:30,826 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@14022727 and associated data were successfully created 2022-04-10T08:25:30,827 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 4 tid=test_finance1649579030935 Created 2022-04-10T08:25:30,829 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:25:30,831 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/po-line-number purchaseOrderId=29c5a8a0-56ee-4b57-82a4-4324066455f9 HTTP_1_1 200 33 1 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,833 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:25:30,837 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@1b80377a and associated data were successfully created 2022-04-10T08:25:30,838 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 POST /orders-storage/po-lines null HTTP_1_1 201 1506 5 tid=test_finance1649579030935 Created 2022-04-10T08:25:30,848 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,849 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(2bc7a0d0-1dee-4cbb-be30-126c73f84ff8) >>>WHERE poLineId='2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,851 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%282bc7a0d0-1dee-4cbb-be30-126c73f84ff8%29&limit=2147483647 HTTP_1_1 200 42 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,881 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,882 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,884 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,884 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,886 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 4 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,887 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,911 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,912 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(2bc7a0d0-1dee-4cbb-be30-126c73f84ff8) >>>WHERE poLineId='2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' LIMIT 15 OFFSET 0 2022-04-10T08:25:30,914 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%282bc7a0d0-1dee-4cbb-be30-126c73f84ff8%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,916 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,917 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==2bc7a0d0-1dee-4cbb-be30-126c73f84ff8 >>>WHERE poLineId='2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,918 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D2bc7a0d0-1dee-4cbb-be30-126c73f84ff8&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,920 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:25:30,922 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/po-lines/2bc7a0d0-1dee-4cbb-be30-126c73f84ff8 null HTTP_1_1 200 1506 1 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,924 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:25:30,925 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/purchase-orders/29c5a8a0-56ee-4b57-82a4-4324066455f9 null HTTP_1_1 200 527 1 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,926 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:25:30 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:30,927 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==29c5a8a0-56ee-4b57-82a4-4324066455f9 >>>WHERE purchaseOrderId='29c5a8a0-56ee-4b57-82a4-4324066455f9' LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:30,929 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D29c5a8a0-56ee-4b57-82a4-4324066455f9&limit=2147483647 HTTP_1_1 200 1646 2 tid=test_finance1649579030935 OK 2022-04-10T08:25:30,931 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:25:30,933 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579030935 Created 2022-04-10T08:25:30,977 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:25:30,979 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@f3a00e72 was successfully updated 2022-04-10T08:25:30,979 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' >>>WHERE poLineId = '2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' 2022-04-10T08:25:30,981 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@f3a00e72 and associated data were successfully updated 2022-04-10T08:25:30,982 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 PUT /orders-storage/po-lines/2bc7a0d0-1dee-4cbb-be30-126c73f84ff8 null HTTP_1_1 204 0 5 tid=test_finance1649579030935 No Content 2022-04-10T08:25:30,985 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:25:30,985 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=29c5a8a0-56ee-4b57-82a4-4324066455f9 2022-04-10T08:25:30,987 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=29c5a8a0-56ee-4b57-82a4-4324066455f9 successfully updated 2022-04-10T08:25:30,988 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 PUT /orders-storage/purchase-orders/29c5a8a0-56ee-4b57-82a4-4324066455f9 null HTTP_1_1 204 0 3 tid=test_finance1649579030935 No Content 2022-04-10T08:25:31,535 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:31,536 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:31,536 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:31,537 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:31,538 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:31,539 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579030935 OK 2022-04-10T08:25:31,549 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) 2022-04-10T08:25:31,551 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) 2022-04-10T08:25:31,554 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%225b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9%5C%22*%22%29&limit=0 HTTP_1_1 200 50 4 tid=test_finance1649579030935 OK 2022-04-10T08:25:31,556 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) 2022-04-10T08:25:31,557 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"5b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9"%')) 2022-04-10T08:25:31,560 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%225b8655cf-3c77-4d09-ac4a-d3fea2a6ffe9%5C%22*%22%29&limit=200 HTTP_1_1 200 1501 4 tid=test_finance1649579030935 OK 2022-04-10T08:25:31,563 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:25:31 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:25:31,564 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == 29c5a8a0-56ee-4b57-82a4-4324066455f9) or (purchaseOrderId == c1e9c89d-f125-489b-bdc2-1e077aa3035e) >>>WHERE (purchaseOrderId='29c5a8a0-56ee-4b57-82a4-4324066455f9') OR (purchaseOrderId='c1e9c89d-f125-489b-bdc2-1e077aa3035e') LIMIT 2147483647 OFFSET 0 2022-04-10T08:25:31,568 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+29c5a8a0-56ee-4b57-82a4-4324066455f9%29+or+%28purchaseOrderId+%3D%3D+c1e9c89d-f125-489b-bdc2-1e077aa3035e%29&limit=2147483647 HTTP_1_1 200 3532 4 tid=test_finance1649579030935 OK 2022-04-10T08:25:31,587 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:25:31,588 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:25:31,590 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:25:31,590 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:25:31,593 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@286ea1d4 was successfully updated 2022-04-10T08:25:31,593 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'aee6a37a-c4ac-4260-9906-f356ca166ec9' >>>WHERE poLineId = 'aee6a37a-c4ac-4260-9906-f356ca166ec9' 2022-04-10T08:25:31,594 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@286ea1d4 and associated data were successfully updated 2022-04-10T08:25:31,595 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54188 PUT /orders-storage/po-lines/aee6a37a-c4ac-4260-9906-f356ca166ec9 null HTTP_1_1 204 0 8 tid=test_finance1649579030935 No Content 2022-04-10T08:25:31,596 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@8b0dff02 was successfully updated 2022-04-10T08:25:31,596 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' >>>WHERE poLineId = '2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' 2022-04-10T08:25:31,597 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@55c3f2 was successfully updated 2022-04-10T08:25:31,597 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'aee6a37a-c4ac-4260-9906-f356ca166ec9' >>>WHERE poLineId = 'aee6a37a-c4ac-4260-9906-f356ca166ec9' 2022-04-10T08:25:31,598 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@8b0dff02 and associated data were successfully updated 2022-04-10T08:25:31,598 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54186 PUT /orders-storage/po-lines/2bc7a0d0-1dee-4cbb-be30-126c73f84ff8 null HTTP_1_1 204 0 11 tid=test_finance1649579030935 No Content 2022-04-10T08:25:31,600 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@55c3f2 and associated data were successfully updated 2022-04-10T08:25:31,600 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54190 PUT /orders-storage/po-lines/aee6a37a-c4ac-4260-9906-f356ca166ec9 null HTTP_1_1 204 0 10 tid=test_finance1649579030935 No Content 2022-04-10T08:25:31,602 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@1afd6b16 was successfully updated 2022-04-10T08:25:31,602 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' >>>WHERE poLineId = '2bc7a0d0-1dee-4cbb-be30-126c73f84ff8' 2022-04-10T08:25:31,605 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@1afd6b16 and associated data were successfully updated 2022-04-10T08:25:31,605 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54192 PUT /orders-storage/po-lines/2bc7a0d0-1dee-4cbb-be30-126c73f84ff8 null HTTP_1_1 204 0 14 tid=test_finance1649579030935 No Content 2022-04-10T08:25:36,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:25:36,169 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 1831679722 2022-04-10T08:25:36,172 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP SCHEMA IF EXISTS test_finance1649579030935_mod_orders_storage CASCADE; 2022-04-10T08:25:36,182 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='drop cascades to 67 other objects', detail='drop cascades to table test_finance1649579030935_mod_orders_storage.rmb_internal drop cascades to table test_finance1649579030935_mod_orders_storage.rmb_job drop cascades to table test_finance1649579030935_mod_orders_storage.rmb_internal_index drop cascades to table test_finance1649579030935_mod_orders_storage.rmb_internal_analyze drop cascades to function test_finance1649579030935_mod_orders_storage.uuid_smaller(uuid,uuid) drop cascades to function test_finance1649579030935_mod_orders_storage.uuid_larger(uuid,uuid) drop cascades to function test_finance1649579030935_mod_orders_storage.next_uuid(uuid) drop cascades to function test_finance1649579030935_mod_orders_storage.max(uuid) drop cascades to function test_finance1649579030935_mod_orders_storage.min(uuid) drop cascades to function test_finance1649579030935_mod_orders_storage.count_estimate_smart2(bigint,bigint,text) drop cascades to function test_finance1649579030935_mod_orders_storage.count_estimate_default(text) drop cascades to function test_finance1649579030935_mod_orders_storage.count_estimate(text) drop cascades to function test_finance1649579030935_mod_orders_storage.upsert(text,uuid,anyelement) drop cascades to function test_finance1649579030935_mod_orders_storage.f_unaccent(text) drop cascades to function test_finance1649579030935_mod_orders_storage.get_tsvector(text) drop cascades to function test_finance1649579030935_mod_orders_storage.tsquery_and(text) drop cascades to function test_finance1649579030935_mod_orders_storage.tsquery_or(text) drop cascades to function test_finance1649579030935_mod_orders_storage.tsquery_phrase(text) drop cascades to function test_finance1649579030935_mod_orders_storage.normalize_digits(text) drop cascades to function test_finance1649579030935_mod_orders_storage.set_id_in_jsonb() drop cascades to function test_finance1649579030935_mod_orders_storage.concat_space_sql(text[]) drop cascades to function test_finance1649579030935_mod_orders_storage.concat_array_object_values(jsonb,text) drop cascades to function test_finance1649579030935_mod_orders_storage.concat_array_object_values(jsonb,text,text,text) drop cascades to function test_finance1649579030935_mod_orders_storage.first_array_object_value(jsonb,text,text,text) drop cascades to function test_finance1649579030935_mod_orders_storage.concat_array_object(jsonb) drop cascades to function test_finance1649579030935_mod_orders_storage.rmb_internal_index(text,text,text,text) drop cascades to table test_finance1649579030935_mod_orders_storage.alert drop cascades to function test_finance1649579030935_mod_orders_storage.alert_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_alert_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.reporting_code drop cascades to function test_finance1649579030935_mod_orders_storage.reporting_code_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_reporting_code_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.purchase_order drop cascades to function test_finance1649579030935_mod_orders_storage.purchase_order_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_purchase_order_md_json() drop cascades to sequence test_finance1649579030935_mod_orders_storage.po_number drop cascades to table test_finance1649579030935_mod_orders_storage.po_line drop cascades to function test_finance1649579030935_mod_orders_storage.update_po_line_references() drop cascades to function test_finance1649579030935_mod_orders_storage.po_line_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_po_line_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.titles drop cascades to function test_finance1649579030935_mod_orders_storage.update_titles_references() drop cascades to function test_finance1649579030935_mod_orders_storage.titles_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_titles_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.pieces drop cascades to function test_finance1649579030935_mod_orders_storage.update_pieces_references() drop cascades to function test_finance1649579030935_mod_orders_storage.pieces_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_pieces_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.order_invoice_relationship drop cascades to function test_finance1649579030935_mod_orders_storage.update_order_invoice_relationship_references() drop cascades to table test_finance1649579030935_mod_orders_storage.acquisitions_unit drop cascades to function test_finance1649579030935_mod_orders_storage.acquisitions_unit_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership drop cascades to function test_finance1649579030935_mod_orders_storage.update_acquisitions_unit_membership_references() drop cascades to function test_finance1649579030935_mod_orders_storage.acquisitions_unit_membership_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_acquisitions_unit_membership_md_json() drop cascades to table test_finance1649579030935_mod_orders_storage.order_templates drop cascades to table test_finance1649579030935_mod_orders_storage.reasons_for_closure drop cascades to table test_finance1649579030935_mod_orders_storage.prefixes drop cascades to table test_finance1649579030935_mod_orders_storage.suffixes drop cascades to table test_finance1649579030935_mod_orders_storage.acquisition_method drop cascades to table test_finance1649579030935_mod_orders_storage.export_history drop cascades to function test_finance1649579030935_mod_orders_storage.export_history_set_md() drop cascades to function test_finance1649579030935_mod_orders_storage.set_export_history_md_json() drop cascades to view test_finance1649579030935_mod_orders_storage.receiving_history_view drop cascades to function test_finance1649579030935_mod_orders_storage.set_fund_code_into_pol(jsonb)', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dependency.c', line='1214', routine='reportDependentObjects', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:25:36,195 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP SCHEMA IF EXISTS test_finance1649579030935_mod_orders_storage CASCADE; 2022-04-10T08:25:36,195 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP ROLE IF EXISTS test_finance1649579030935_mod_orders_storage; 2022-04-10T08:25:36,195 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP ROLE IF EXISTS test_finance1649579030935_mod_orders_storage; 2022-04-10T08:25:36,207 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54192 POST /_/tenant null HTTP_1_1 204 0 49 tid=test_finance1649579030935 No Content 2022-04-10T08:27:24,296 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:27:24,323 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 1693708978 2022-04-10T08:27:24,326 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE ROLE test_finance1649579234550_mod_orders_storage PASSWORD 'test_finance1649579234550' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:27:24,326 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE ROLE test_finance1649579234550_mod_orders_storage PASSWORD 'test_finance1649579234550' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:27:24,326 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT test_finance1649579234550_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:27:24,327 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT test_finance1649579234550_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:27:24,327 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SCHEMA test_finance1649579234550_mod_orders_storage AUTHORIZATION test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,327 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SCHEMA test_finance1649579234550_mod_orders_storage AUTHORIZATION test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,327 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER ROLE test_finance1649579234550_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:27:24,327 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER ROLE test_finance1649579234550_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:27:24,327 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:27:24,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:27:24,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:27:24,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "unaccent" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,329 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:27:24,329 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:27:24,329 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "pg_trgm" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,330 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:27:24,330 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} insert into test_finance1649579234550_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:27:24,337 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed insert into test_finance1649579234550_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:27:24,337 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,344 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,350 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54194 POST /_/tenant null HTTP_1_1 201 393 54 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,470 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -1430812791 2022-04-10T08:27:24,471 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:27:24,474 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} SET search_path TO test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,474 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed SET search_path TO test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,474 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:27:24,477 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54194 GET /_/tenant/48df8cfa-6346-4a96-b8dd-1e2eb02993d2 null HTTP_1_1 200 393 6 tid=test_finance1649579234550 OK 2022-04-10T08:27:24,482 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:27:24,482 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:27:24,482 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:27:24,482 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:27:24,486 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:27:24,486 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,487 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,487 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,488 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,488 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,489 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,489 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579234550_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579234550_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579234550_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:27:24,489 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579234550_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579234550_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579234550_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:27:24,489 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579234550_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579234550_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579234550_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:27:24,490 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579234550_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579234550_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579234550_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:27:24,490 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:27:24,490 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.count_estimate_smart2(pg_catalog.int8,pg_catalog.int8,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,490 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:27:24,490 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,491 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,491 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579234550_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:27:24,491 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579234550_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:27:24,491 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579234550_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:27:24,492 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579234550_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:27:24,492 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579234550_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579234550_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,492 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579234550_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579234550_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,492 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579234550_mod_orders_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_finance1649579234550_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:27:24,493 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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_finance1649579234550_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:27:24,493 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,494 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,494 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,494 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,494 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579234550_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,495 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579234550_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,495 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579234550_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,495 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579234550_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,495 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,495 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,495 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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'; 2022-04-10T08:27:24,496 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_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'; 2022-04-10T08:27:24,496 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579234550_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,496 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579234550_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:27:24,496 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,497 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,497 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,497 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,497 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,497 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,497 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,498 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579234550_mod_orders_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; 2022-04-10T08:27:24,498 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:27:24,498 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,498 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:27:24,498 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579234550_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579234550_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579234550_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579234550_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,499 INFO [vert.x-eventloop-thread-1] PostgresClient 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 EXISTS %s', aname); EXECUTE 'DELETE FROM test_finance1649579234550_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579234550_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579234550_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579234550_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,499 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579234550_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:27:24,499 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579234550_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:27:24,499 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,504 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,504 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,504 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_alert" for relation "test_finance1649579234550_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,505 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,505 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,506 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_alert_references" for relation "test_finance1649579234550_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,506 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,506 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_alert_references(); 2022-04-10T08:27:24,506 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_alert_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,506 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_alert_references(); 2022-04-10T08:27:24,506 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,506 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,506 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,506 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,507 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,507 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.alert_set_md(); 2022-04-10T08:27:24,507 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.alert_set_md(); 2022-04-10T08:27:24,507 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,507 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,507 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,507 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,508 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.alert CASCADE; 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:27:24,508 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.alert_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:27:24,508 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,514 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,514 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,514 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reporting_code" for relation "test_finance1649579234550_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,514 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,514 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,514 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,514 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,514 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,515 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reporting_code_references" for relation "test_finance1649579234550_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:27:24,515 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_reporting_code_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:27:24,515 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,516 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,516 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,517 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,517 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:27:24,517 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.reporting_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:27:24,517 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,524 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_purchase_order" for relation "test_finance1649579234550_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,524 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,524 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,524 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,525 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,525 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,525 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,525 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,526 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,529 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,529 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,529 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_assignedto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_assignedTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,532 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,532 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,533 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,536 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,536 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,536 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createdbyuserid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdByUserId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,539 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,539 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,539 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_workflowstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_workflowStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,542 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,542 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,542 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_approved_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_approved_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,545 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,545 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,545 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_dateordered_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_dateOrdered_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,548 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,548 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,548 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ordertype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_orderType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,551 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,551 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,552 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_reencumber_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_reEncumber_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,554 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,554 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,554 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,554 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,554 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,555 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,555 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,555 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,555 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,555 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,555 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,555 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,558 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,558 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,558 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,561 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,561 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,561 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,564 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,564 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:27:24,565 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_reason_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_reason_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,566 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:27:24,566 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:27:24,566 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_note_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_note_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,567 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:27:24,567 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:27:24,567 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579234550_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,568 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_purchase_order_references" for relation "test_finance1649579234550_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:27:24,568 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_purchase_order_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,568 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,569 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,569 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,569 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:27:24,569 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:27:24,569 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,569 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,569 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:27:24,570 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.purchase_order_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:27:24,570 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SEQUENCE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:27:24,571 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SEQUENCE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:27:24,571 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT USAGE ON SEQUENCE test_finance1649579234550_mod_orders_storage.po_number TO test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,571 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT USAGE ON SEQUENCE test_finance1649579234550_mod_orders_storage.po_number TO test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,571 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:27:24,574 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579234550_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:27:24,574 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,580 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_po_line" for relation "test_finance1649579234550_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,580 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,580 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,581 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,581 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,581 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_accessprovider_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_accessProvider_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,584 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,584 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,584 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_activated_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_activated_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,586 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,586 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,587 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_expectedactivation_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_expectedActivation_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,589 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,589 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,589 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_trial_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_trial_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,593 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,593 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,593 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,596 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,596 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,596 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionfrom_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionFrom_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,599 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,599 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,599 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,602 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,602 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,602 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_location_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_location_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,605 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,605 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,605 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_receiptdue_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_receiptDue_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,608 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,608 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,608 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_expectedreceiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_expectedReceiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,611 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,611 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,611 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,614 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,618 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_grace_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_grace_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,621 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,621 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,621 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_sent_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_sent_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,624 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,624 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,624 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_collection_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_collection_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,626 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,626 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,627 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,629 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,629 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,630 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_paymentstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_paymentStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,632 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,632 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,632 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_orderformat_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_orderFormat_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,635 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,635 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,635 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,638 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,638 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,639 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,642 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,642 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,642 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_rush_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_rush_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,645 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,645 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,645 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_source_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_source_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,648 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579234550_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,648 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,648 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_funddistribution_code_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_fundDistribution_code_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,649 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,649 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,649 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_productids_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_productIds_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,650 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,650 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,650 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_title_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_title_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,650 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,650 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,650 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_titleorpackage_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_titleOrPackage_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,651 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,651 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,651 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_vendoraccount_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_vendorAccount_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,652 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,652 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,652 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_tags_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_tags_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,653 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,653 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,653 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_contributors_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_contributors_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,654 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,654 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,654 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_requester_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_requester_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,654 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,655 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,655 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_polinenumber_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_poLineNumber_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,655 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,655 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,656 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,656 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,656 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,656 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,657 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,657 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,657 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,658 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,658 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,658 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,659 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,659 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,659 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:27:24,660 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:27:24,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:27:24,660 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,660 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:27:24,660 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:27:24,661 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,661 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:27:24,661 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:27:24,661 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,662 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579234550_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:27:24,662 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:27:24,662 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:27:24,662 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,664 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,664 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579234550_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579234550_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,668 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_po_line_references" for relation "test_finance1649579234550_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,668 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_po_line_references(); 2022-04-10T08:27:24,669 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_po_line_references(); 2022-04-10T08:27:24,669 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,669 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,670 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.po_line_set_md(); 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.po_line_set_md(); 2022-04-10T08:27:24,670 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,671 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,671 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,671 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,671 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,671 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:27:24,671 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:27:24,672 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,672 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,672 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.po_line CASCADE; 2022-04-10T08:27:24,672 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:27:24,672 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.po_line_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,672 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:27:24,672 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,678 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,678 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,678 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_titles" for relation "test_finance1649579234550_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,678 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,678 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,679 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,679 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,679 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,679 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,679 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,679 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,679 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:27:24,680 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:27:24,680 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,681 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,681 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579234550_mod_orders_storage.titles (poLineId); 2022-04-10T08:27:24,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579234550_mod_orders_storage.titles (poLineId); 2022-04-10T08:27:24,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:27:24,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:27:24,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,685 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_titles_references" for relation "test_finance1649579234550_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_titles_references(); 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_titles_references(); 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,685 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,686 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,686 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,686 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,686 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,686 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.titles_set_md(); 2022-04-10T08:27:24,686 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.titles_set_md(); 2022-04-10T08:27:24,686 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,687 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,687 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,687 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,687 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,687 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:27:24,688 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:27:24,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,688 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,688 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.titles CASCADE; 2022-04-10T08:27:24,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:27:24,688 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.titles_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,688 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:27:24,688 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,694 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_pieces" for relation "test_finance1649579234550_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,694 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,695 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,695 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,695 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_format_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_format_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,698 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,698 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,698 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_itemid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_itemId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,702 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,702 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,702 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,705 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,705 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,705 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receivingstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivingStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,708 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,708 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,708 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receiveddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivedDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,711 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,711 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,711 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_supplement_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_supplement_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,714 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579234550_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,714 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579234550_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,715 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_caption_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_caption_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579234550_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,715 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579234550_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:27:24,715 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579234550_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:27:24,716 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_comment_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_comment_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579234550_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,716 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579234550_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:27:24,716 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:27:24,716 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:27:24,716 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,718 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,718 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579234550_mod_orders_storage.pieces (poLineId); 2022-04-10T08:27:24,721 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579234550_mod_orders_storage.pieces (poLineId); 2022-04-10T08:27:24,721 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:27:24,721 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:27:24,721 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:27:24,721 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:27:24,721 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,722 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,722 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579234550_mod_orders_storage.pieces (titleId); 2022-04-10T08:27:24,725 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579234550_mod_orders_storage.pieces (titleId); 2022-04-10T08:27:24,725 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:27:24,725 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:27:24,725 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,725 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,725 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,726 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_pieces_references" for relation "test_finance1649579234550_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,726 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,726 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_pieces_references(); 2022-04-10T08:27:24,726 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_pieces_references(); 2022-04-10T08:27:24,726 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,726 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,726 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,727 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,727 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,727 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,727 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,727 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.pieces_set_md(); 2022-04-10T08:27:24,727 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.pieces_set_md(); 2022-04-10T08:27:24,727 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,728 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,728 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.pieces CASCADE; 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:27:24,728 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.pieces_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:27:24,728 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,734 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,734 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,734 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_invoice_relationship" for relation "test_finance1649579234550_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,734 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,734 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,734 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,734 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,734 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,735 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,735 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,735 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,735 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,735 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,735 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:27:24,735 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_invoice_relationship_purchaseorderid_invoiceid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,738 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:27:24,738 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:27:24,738 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:27:24,738 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,739 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,739 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:27:24,742 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:27:24,742 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:27:24,742 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:27:24,742 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,742 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,743 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_invoice_relationship_references" for relation "test_finance1649579234550_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:27:24,743 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.order_invoice_relationship_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:27:24,743 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,744 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:27:24,744 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.set_order_invoice_relationship_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,744 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,744 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:27:24,744 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:27:24,744 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.order_invoice_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,745 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:27:24,745 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,750 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,750 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,750 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,750 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,750 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,750 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,750 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,750 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,751 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,751 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,751 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,751 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,751 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_isdeleted_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_isDeleted_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,754 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,754 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,755 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_protectread_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_protectRead_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,758 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,758 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:27:24,758 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,760 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579234550_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,761 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_references" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:27:24,761 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,761 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,762 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:27:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:27:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,763 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,763 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:27:24,763 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:27:24,763 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "acquisitions_unit_assignments" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:27:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579234550_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:27:24,764 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "not_existing_auditing_table" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579234550_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:27:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:27:24,764 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_assignments_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:27:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:27:24,764 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:27:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,769 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,769 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,769 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit_membership" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,769 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,769 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,770 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,771 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_membership_userid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_membership_userId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:27:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:27:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,774 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:27:24,774 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:27:24,777 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:27:24,777 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:27:24,777 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:27:24,777 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,778 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:27:24,778 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,778 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,779 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_membership_references" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,779 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,779 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:27:24,779 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:27:24,779 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,781 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54194 GET /_/tenant/48df8cfa-6346-4a96-b8dd-1e2eb02993d2 null HTTP_1_1 200 393 3 tid=test_finance1649579234550 OK 2022-04-10T08:27:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:27:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,782 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:27:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:27:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,783 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,783 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:27:24,783 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:27:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,789 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,789 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,790 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_templates" for relation "test_finance1649579234550_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,790 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,790 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,791 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579234550_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:27:24,791 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_templates_templatename_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_templates_templateName_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579234550_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579234550_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,794 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_templates_references" for relation "test_finance1649579234550_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:27:24,794 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_order_templates_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:27:24,794 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.order_templates_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,794 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,794 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:27:24,795 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.set_order_templates_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,795 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,795 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:27:24,795 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.order_templates_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:27:24,795 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,800 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,800 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,800 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reasons_for_closure" for relation "test_finance1649579234550_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,800 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,800 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,800 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,800 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,800 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,801 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,801 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,801 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,801 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,801 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,801 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579234550_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:27:24,801 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "reasons_for_closure_reason_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS reasons_for_closure_reason_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579234550_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579234550_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,804 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reasons_for_closure_references" for relation "test_finance1649579234550_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:27:24,804 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_reasons_for_closure_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:27:24,804 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.reasons_for_closure_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:27:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,805 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:27:24,805 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.set_reasons_for_closure_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,805 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,805 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:27:24,805 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:27:24,806 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.reasons_for_closure_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,806 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:27:24,806 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,811 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,811 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,811 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_prefixes" for relation "test_finance1649579234550_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,811 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,811 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,811 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,811 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,811 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,812 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,812 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,812 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,812 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,812 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,812 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579234550_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:27:24,812 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "prefixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS prefixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579234550_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,814 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579234550_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:27:24,814 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_prefixes_references" for relation "test_finance1649579234550_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:27:24,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_prefixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:27:24,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.prefixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:27:24,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.set_prefixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:27:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,816 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,816 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,816 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,816 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,816 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:27:24,816 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:27:24,816 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.prefixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,816 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:27:24,816 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,821 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_suffixes" for relation "test_finance1649579234550_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,821 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,822 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,822 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,822 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,822 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,822 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579234550_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:27:24,822 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "suffixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS suffixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579234550_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,825 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579234550_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:27:24,825 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,825 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_suffixes_references" for relation "test_finance1649579234550_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,825 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,825 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:27:24,825 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_suffixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,825 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:27:24,825 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:27:24,826 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.suffixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,826 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:27:24,826 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.set_suffixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,826 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,827 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:27:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:27:24,827 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.suffixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:27:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,832 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,832 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,833 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisition_method" for relation "test_finance1649579234550_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,833 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,833 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,833 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:27:24,833 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579234550_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:27:24,834 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisition_method_value_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisition_method_value_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579234550_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,836 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579234550_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:27:24,836 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,837 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisition_method_references" for relation "test_finance1649579234550_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:27:24,837 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_acquisition_method_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:27:24,837 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.acquisition_method_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,837 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:27:24,837 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.set_acquisition_method_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:27:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,838 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,838 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:27:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:27:24,838 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.acquisition_method_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:27:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,843 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579234550_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:27:24,843 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,843 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_export_history" for relation "test_finance1649579234550_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,843 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,843 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,843 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579234550_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,843 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,843 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,844 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579234550_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:27:24,844 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579234550_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,844 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579234550_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:27:24,844 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579234550_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,844 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579234550_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,847 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579234550_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:27:24,847 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579234550_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:27:24,848 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportjobid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportJobId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579234550_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,850 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579234550_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:27:24,850 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,850 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_export_history_references" for relation "test_finance1649579234550_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,850 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,850 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_export_history_references(); 2022-04-10T08:27:24,851 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.update_export_history_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,851 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.update_export_history_references(); 2022-04-10T08:27:24,851 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,851 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,851 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,851 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_trigger" for relation "test_finance1649579234550_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,851 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,851 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.export_history_set_md(); 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579234550_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.export_history_set_md(); 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,852 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_json_trigger" for relation "test_finance1649579234550_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579234550_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579234550_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:27:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,853 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_ol_version_trigger" for relation "test_finance1649579234550_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,853 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579234550_mod_orders_storage.export_history CASCADE; 2022-04-10T08:27:24,853 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:27:24,853 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579234550_mod_orders_storage.export_history_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,853 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579234550_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:27:24,853 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:27:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:27:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS orders_view; 2022-04-10T08:27:24,855 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS orders_view; 2022-04-10T08:27:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:27:24,855 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "order_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:27:24,856 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:27:24,856 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "purchase_orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,856 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:27:24,856 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:27:24,856 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "po_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,856 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:27:24,856 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:27:24,857 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:27:24,857 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:27:24,857 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,857 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:27:24,857 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO test_finance1649579234550_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579234550_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:27:24,858 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO test_finance1649579234550_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579234550_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:27:24,858 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:27:24,858 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:27:24,858 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:27:24,859 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579234550_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:27:24,860 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579234550_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:27:24,860 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579234550_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:27:24,860 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579234550_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:27:24,860 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579234550_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:27:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579234550_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:27:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579234550_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:27:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579234550_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:27:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:27:24,861 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:27:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:27:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,862 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579234550_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:27:24,862 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:27:24,862 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:27:24,862 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579234550_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:27:24,863 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579234550_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:27:24,863 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:27:24,863 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579234550_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:27:24,863 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:27:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:27:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579234550_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:27:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579234550_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:27:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579234550_mod_orders_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_finance1649579234550_mod_orders_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_finance1649579234550_mod_orders_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 $$; 2022-04-10T08:27:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579234550_mod_orders_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_finance1649579234550_mod_orders_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_finance1649579234550_mod_orders_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 $$; 2022-04-10T08:27:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient 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 $$; 2022-04-10T08:27:24,866 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$; 2022-04-10T08:27:24,866 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2022-04-10T08:27:24,869 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2022-04-10T08:27:24,869 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579234550_mod_orders_storage TO test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,873 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579234550_mod_orders_storage TO test_finance1649579234550_mod_orders_storage; 2022-04-10T08:27:24,873 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579234550_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:27:24,874 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579234550_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:27:24,878 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI postTenant 2022-04-10T08:27:24,886 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,886 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:27:24,886 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579234550 2022-04-10T08:27:24,886 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579234550_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:27:24,891 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/ebe73dd1-fa30-4c36-aad9-6c95ea5207ae null HTTP_1_1 404 9 6 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,892 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,900 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 116 7 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,901 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,906 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/af55e63f-10f9-4919-add9-6feaf7097a6c null HTTP_1_1 404 9 5 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,907 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,914 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 7 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,915 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,919 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/22bddeeb-6cbe-45bd-b73d-7343e28c0626 null HTTP_1_1 404 9 4 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,920 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,923 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 104 3 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,924 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,925 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/b72e8ea6-67b3-4238-9257-5d8e29b95694 null HTTP_1_1 404 9 1 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,926 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,927 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 123 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,928 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,929 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/29936d21-93e4-4ab3-9ac4-2d11fa40e942 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,929 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,931 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,932 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,932 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/dcbb7f40-f2ae-4ad3-a367-27bff67ff6e6 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,933 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,934 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,935 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,936 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,936 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,938 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 100 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,939 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,939 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/71a233f8-edac-4e8e-9600-d55222d64273 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,940 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,941 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,942 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,942 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/d17f9d15-4520-49ad-9ffa-123e7739ae53 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,943 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,944 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 125 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,945 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,946 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/8ab21f8d-1343-4228-ac5c-2979ba99412b null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,947 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,948 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 112 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,949 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,949 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/7c11e86e-4776-4f4f-9aa4-13e83b4ef44d null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,950 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,952 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,953 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,953 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/65a75ad7-fbbe-4139-9c69-79fbba805ce9 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,954 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,955 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 114 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,956 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,956 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/71a83ae9-6af0-479e-b579-4904b24a3300 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,957 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,958 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 110 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,959 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,959 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/8f11f23a-e101-4861-8df2-152da9ce4889 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,960 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,961 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,962 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,963 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/cae85c3d-a839-420a-868d-283cedb1fd2f null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,963 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,964 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 97 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,965 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,966 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/27d10e3b-66cc-490b-bee6-7c1b2b07394c null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,966 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,968 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 99 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,968 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,969 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/89389f7b-54e9-4b95-b5d0-f89c29b71147 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,970 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,971 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 96 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,972 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:27:24,972 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/configuration/reasons-for-closure/a47051ec-7a4f-499f-9541-a5fc5deb2f41 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,973 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:27:24,974 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 121 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,979 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:24,980 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/da6703b1-81fe-44af-927a-94f24d1ab8ee null HTTP_1_1 404 9 1 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,980 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:24,982 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 350 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,983 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:24,983 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/8a33895e-2c69-4a98-ab48-b7ec1fa852d0 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,984 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:24,985 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,986 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:24,987 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,987 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:24,988 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 370 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,989 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:24,990 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/0a4163a5-d225-4007-ad90-2fb41b73efab null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,991 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:24,992 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,992 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:24,993 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/041035ad-b2a4-4aa0-b6a5-234b88bf938c null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,994 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:24,995 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 377 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,996 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:24,996 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:24,997 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:24,998 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 358 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:24,999 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,000 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/86d12634-b848-4968-adf0-5a95ce41c41b null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,000 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,002 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,002 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,003 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/d0d3811c-19f8-4c57-a462-958165cdbbea null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,004 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,005 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 354 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,006 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,006 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/d2420b93-7b93-41b7-8b42-798f64cb6dd2 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,007 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,008 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,009 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,010 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/df26d81b-9d63-4ff8-bf41-49bf75cfa70e null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,010 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,012 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,013 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,013 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/0c9b09c9-b94f-4702-aa63-a7f43617a225 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,014 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,015 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 362 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,016 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,016 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/5771a8a4-9323-49ee-9002-1b068d71ff42 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,017 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,018 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,019 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:27:25,019 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 PUT /orders-storage/acquisition-methods/aaa541f3-39d2-4887-ab8f-6ba12d08ca52 null HTTP_1_1 404 9 0 tid=test_finance1649579234550 Not Found 2022-04-10T08:27:25,020 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:27:25,021 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33186 POST /orders-storage/acquisition-methods null HTTP_1_1 201 378 1 tid=test_finance1649579234550 Created 2022-04-10T08:27:25,022 INFO [vert.x-eventloop-thread-1] TenantAPI job 48df8cfa-6346-4a96-b8dd-1e2eb02993d2 completed 2022-04-10T08:27:25,157 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:27:25,158 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54194 GET /_/tenant/48df8cfa-6346-4a96-b8dd-1e2eb02993d2 null HTTP_1_1 200 452 1 tid=test_finance1649579234550 OK 2022-04-10T08:27:25,159 INFO [vert.x-eventloop-thread-1] RestRouting invoking deleteTenantByOperationId 2022-04-10T08:27:25,159 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI deleteTenant 2022-04-10T08:27:25,162 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54194 DELETE /_/tenant/48df8cfa-6346-4a96-b8dd-1e2eb02993d2 null HTTP_1_1 204 0 3 tid=test_finance1649579234550 No Content 2022-04-10T08:28:53,348 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:28:53,348 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:28:53,348 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579234550 2022-04-10T08:28:53,348 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579234550_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:28:53,353 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/po-number null HTTP_1_1 200 32 5 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,360 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:28:53,364 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10000 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:28:53,371 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10000&limit=1 HTTP_1_1 200 50 10 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,378 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:28:53,389 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@7d66c773 and associated data were successfully created 2022-04-10T08:28:53,390 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 11 tid=test_finance1649579234550 Created 2022-04-10T08:28:53,397 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:28:53,402 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/po-line-number purchaseOrderId=edbc5e79-b2fd-4794-985a-d88df7cbd38f HTTP_1_1 200 33 5 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,410 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:28:53,425 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@b1c67b8a and associated data were successfully created 2022-04-10T08:28:53,426 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 POST /orders-storage/po-lines null HTTP_1_1 201 1504 16 tid=test_finance1649579234550 Created 2022-04-10T08:28:53,443 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:53,444 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(dcdf44a6-c804-4ad5-bddc-e75cda483506) >>>WHERE poLineId='dcdf44a6-c804-4ad5-bddc-e75cda483506' LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:53,449 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28dcdf44a6-c804-4ad5-bddc-e75cda483506%29&limit=2147483647 HTTP_1_1 200 42 5 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,518 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:53,519 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:53,522 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 4 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,523 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:53,524 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:53,526 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,578 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:53,579 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(dcdf44a6-c804-4ad5-bddc-e75cda483506) >>>WHERE poLineId='dcdf44a6-c804-4ad5-bddc-e75cda483506' LIMIT 15 OFFSET 0 2022-04-10T08:28:53,581 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28dcdf44a6-c804-4ad5-bddc-e75cda483506%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,583 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:53,583 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==dcdf44a6-c804-4ad5-bddc-e75cda483506 >>>WHERE poLineId='dcdf44a6-c804-4ad5-bddc-e75cda483506' LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:53,584 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/pieces offset=0&query=poLineId%3D%3Ddcdf44a6-c804-4ad5-bddc-e75cda483506&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,591 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:28:53,594 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/po-lines/dcdf44a6-c804-4ad5-bddc-e75cda483506 null HTTP_1_1 200 1504 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,601 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:28:53,603 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/purchase-orders/edbc5e79-b2fd-4794-985a-d88df7cbd38f null HTTP_1_1 200 527 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,610 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:28:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:53,611 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==edbc5e79-b2fd-4794-985a-d88df7cbd38f >>>WHERE purchaseOrderId='edbc5e79-b2fd-4794-985a-d88df7cbd38f' LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:53,612 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dedbc5e79-b2fd-4794-985a-d88df7cbd38f&limit=2147483647 HTTP_1_1 200 1644 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:53,620 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:28:53,629 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 POST /orders-storage/pieces null HTTP_1_1 201 249 9 tid=test_finance1649579234550 Created 2022-04-10T08:28:53,711 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:28:53,715 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@cbaa048c was successfully updated 2022-04-10T08:28:53,715 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'dcdf44a6-c804-4ad5-bddc-e75cda483506' >>>WHERE poLineId = 'dcdf44a6-c804-4ad5-bddc-e75cda483506' 2022-04-10T08:28:53,717 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@cbaa048c and associated data were successfully updated 2022-04-10T08:28:53,717 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 PUT /orders-storage/po-lines/dcdf44a6-c804-4ad5-bddc-e75cda483506 null HTTP_1_1 204 0 6 tid=test_finance1649579234550 No Content 2022-04-10T08:28:53,726 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:28:53,726 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=edbc5e79-b2fd-4794-985a-d88df7cbd38f 2022-04-10T08:28:53,729 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=edbc5e79-b2fd-4794-985a-d88df7cbd38f successfully updated 2022-04-10T08:28:53,729 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 PUT /orders-storage/purchase-orders/edbc5e79-b2fd-4794-985a-d88df7cbd38f null HTTP_1_1 204 0 4 tid=test_finance1649579234550 No Content 2022-04-10T08:28:54,242 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:28:54,243 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,245 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:28:54,246 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10001 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:28:54,247 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10001&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,250 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:28:54,254 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@dca6f4a4 and associated data were successfully created 2022-04-10T08:28:54,255 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 5 tid=test_finance1649579234550 Created 2022-04-10T08:28:54,257 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:28:54,258 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/po-line-number purchaseOrderId=b0e097c4-b9b2-4377-a51a-b015f5a1dbc8 HTTP_1_1 200 33 1 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,261 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:28:54,265 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@bcbbc367 and associated data were successfully created 2022-04-10T08:28:54,266 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 POST /orders-storage/po-lines null HTTP_1_1 201 1506 5 tid=test_finance1649579234550 Created 2022-04-10T08:28:54,277 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:54,278 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(04f84bd1-af2d-412c-ae80-eac4e3422bad) >>>WHERE poLineId='04f84bd1-af2d-412c-ae80-eac4e3422bad' LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:54,279 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2804f84bd1-af2d-412c-ae80-eac4e3422bad%29&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,308 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:54,309 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:54,309 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:54,310 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:54,311 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 3 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,313 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,334 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:54,335 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(04f84bd1-af2d-412c-ae80-eac4e3422bad) >>>WHERE poLineId='04f84bd1-af2d-412c-ae80-eac4e3422bad' LIMIT 15 OFFSET 0 2022-04-10T08:28:54,336 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2804f84bd1-af2d-412c-ae80-eac4e3422bad%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,338 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:54,339 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==04f84bd1-af2d-412c-ae80-eac4e3422bad >>>WHERE poLineId='04f84bd1-af2d-412c-ae80-eac4e3422bad' LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:54,340 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D04f84bd1-af2d-412c-ae80-eac4e3422bad&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,342 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:28:54,343 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/po-lines/04f84bd1-af2d-412c-ae80-eac4e3422bad null HTTP_1_1 200 1506 1 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,345 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:28:54,346 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/purchase-orders/b0e097c4-b9b2-4377-a51a-b015f5a1dbc8 null HTTP_1_1 200 527 1 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,348 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:28:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:54,349 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==b0e097c4-b9b2-4377-a51a-b015f5a1dbc8 >>>WHERE purchaseOrderId='b0e097c4-b9b2-4377-a51a-b015f5a1dbc8' LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:54,350 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Db0e097c4-b9b2-4377-a51a-b015f5a1dbc8&limit=2147483647 HTTP_1_1 200 1646 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:54,353 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:28:54,355 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579234550 Created 2022-04-10T08:28:54,403 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:28:54,405 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@1ec7a010 was successfully updated 2022-04-10T08:28:54,405 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '04f84bd1-af2d-412c-ae80-eac4e3422bad' >>>WHERE poLineId = '04f84bd1-af2d-412c-ae80-eac4e3422bad' 2022-04-10T08:28:54,407 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@1ec7a010 and associated data were successfully updated 2022-04-10T08:28:54,407 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 PUT /orders-storage/po-lines/04f84bd1-af2d-412c-ae80-eac4e3422bad null HTTP_1_1 204 0 5 tid=test_finance1649579234550 No Content 2022-04-10T08:28:54,506 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:28:54,506 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=b0e097c4-b9b2-4377-a51a-b015f5a1dbc8 2022-04-10T08:28:54,509 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=b0e097c4-b9b2-4377-a51a-b015f5a1dbc8 successfully updated 2022-04-10T08:28:54,509 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 PUT /orders-storage/purchase-orders/b0e097c4-b9b2-4377-a51a-b015f5a1dbc8 null HTTP_1_1 204 0 3 tid=test_finance1649579234550 No Content 2022-04-10T08:28:55,054 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:55,054 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:55,055 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:55,055 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:55,056 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 3 tid=test_finance1649579234550 OK 2022-04-10T08:28:55,058 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:55,067 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) 2022-04-10T08:28:55,068 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) 2022-04-10T08:28:55,071 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2213f7c47c-40c9-41b2-a6dc-0c52744fcd5f%5C%22*%22%29&limit=0 HTTP_1_1 200 50 4 tid=test_finance1649579234550 OK 2022-04-10T08:28:55,073 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) 2022-04-10T08:28:55,073 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"13f7c47c-40c9-41b2-a6dc-0c52744fcd5f"%')) 2022-04-10T08:28:55,077 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2213f7c47c-40c9-41b2-a6dc-0c52744fcd5f%5C%22*%22%29&limit=200 HTTP_1_1 200 1501 5 tid=test_finance1649579234550 OK 2022-04-10T08:28:55,080 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:28:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:28:55,081 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == b0e097c4-b9b2-4377-a51a-b015f5a1dbc8) or (purchaseOrderId == edbc5e79-b2fd-4794-985a-d88df7cbd38f) >>>WHERE (purchaseOrderId='b0e097c4-b9b2-4377-a51a-b015f5a1dbc8') OR (purchaseOrderId='edbc5e79-b2fd-4794-985a-d88df7cbd38f') LIMIT 2147483647 OFFSET 0 2022-04-10T08:28:55,082 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+b0e097c4-b9b2-4377-a51a-b015f5a1dbc8%29+or+%28purchaseOrderId+%3D%3D+edbc5e79-b2fd-4794-985a-d88df7cbd38f%29&limit=2147483647 HTTP_1_1 200 3532 2 tid=test_finance1649579234550 OK 2022-04-10T08:28:55,101 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:28:55,103 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:28:55,104 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:28:55,105 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:28:55,107 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@a63255e8 was successfully updated 2022-04-10T08:28:55,107 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '04f84bd1-af2d-412c-ae80-eac4e3422bad' >>>WHERE poLineId = '04f84bd1-af2d-412c-ae80-eac4e3422bad' 2022-04-10T08:28:55,109 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@a63255e8 and associated data were successfully updated 2022-04-10T08:28:55,109 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54196 PUT /orders-storage/po-lines/04f84bd1-af2d-412c-ae80-eac4e3422bad null HTTP_1_1 204 0 8 tid=test_finance1649579234550 No Content 2022-04-10T08:28:55,111 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@dd5777a3 was successfully updated 2022-04-10T08:28:55,111 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'dcdf44a6-c804-4ad5-bddc-e75cda483506' >>>WHERE poLineId = 'dcdf44a6-c804-4ad5-bddc-e75cda483506' 2022-04-10T08:28:55,114 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@dd5777a3 and associated data were successfully updated 2022-04-10T08:28:55,114 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54198 PUT /orders-storage/po-lines/dcdf44a6-c804-4ad5-bddc-e75cda483506 null HTTP_1_1 204 0 12 tid=test_finance1649579234550 No Content 2022-04-10T08:28:55,115 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@c6112e10 was successfully updated 2022-04-10T08:28:55,115 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '04f84bd1-af2d-412c-ae80-eac4e3422bad' >>>WHERE poLineId = '04f84bd1-af2d-412c-ae80-eac4e3422bad' 2022-04-10T08:28:55,116 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@6d46e3b7 was successfully updated 2022-04-10T08:28:55,116 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'dcdf44a6-c804-4ad5-bddc-e75cda483506' >>>WHERE poLineId = 'dcdf44a6-c804-4ad5-bddc-e75cda483506' 2022-04-10T08:28:55,118 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@c6112e10 and associated data were successfully updated 2022-04-10T08:28:55,118 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54202 PUT /orders-storage/po-lines/04f84bd1-af2d-412c-ae80-eac4e3422bad null HTTP_1_1 204 0 13 tid=test_finance1649579234550 No Content 2022-04-10T08:28:55,118 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@6d46e3b7 and associated data were successfully updated 2022-04-10T08:28:55,118 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54200 PUT /orders-storage/po-lines/dcdf44a6-c804-4ad5-bddc-e75cda483506 null HTTP_1_1 204 0 14 tid=test_finance1649579234550 No Content 2022-04-10T08:28:59,712 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:28:59,724 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -789576758 2022-04-10T08:28:59,727 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP SCHEMA IF EXISTS test_finance1649579234550_mod_orders_storage CASCADE; 2022-04-10T08:28:59,737 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='drop cascades to 67 other objects', detail='drop cascades to table test_finance1649579234550_mod_orders_storage.rmb_internal drop cascades to table test_finance1649579234550_mod_orders_storage.rmb_job drop cascades to table test_finance1649579234550_mod_orders_storage.rmb_internal_index drop cascades to table test_finance1649579234550_mod_orders_storage.rmb_internal_analyze drop cascades to function test_finance1649579234550_mod_orders_storage.uuid_smaller(uuid,uuid) drop cascades to function test_finance1649579234550_mod_orders_storage.uuid_larger(uuid,uuid) drop cascades to function test_finance1649579234550_mod_orders_storage.next_uuid(uuid) drop cascades to function test_finance1649579234550_mod_orders_storage.max(uuid) drop cascades to function test_finance1649579234550_mod_orders_storage.min(uuid) drop cascades to function test_finance1649579234550_mod_orders_storage.count_estimate_smart2(bigint,bigint,text) drop cascades to function test_finance1649579234550_mod_orders_storage.count_estimate_default(text) drop cascades to function test_finance1649579234550_mod_orders_storage.count_estimate(text) drop cascades to function test_finance1649579234550_mod_orders_storage.upsert(text,uuid,anyelement) drop cascades to function test_finance1649579234550_mod_orders_storage.f_unaccent(text) drop cascades to function test_finance1649579234550_mod_orders_storage.get_tsvector(text) drop cascades to function test_finance1649579234550_mod_orders_storage.tsquery_and(text) drop cascades to function test_finance1649579234550_mod_orders_storage.tsquery_or(text) drop cascades to function test_finance1649579234550_mod_orders_storage.tsquery_phrase(text) drop cascades to function test_finance1649579234550_mod_orders_storage.normalize_digits(text) drop cascades to function test_finance1649579234550_mod_orders_storage.set_id_in_jsonb() drop cascades to function test_finance1649579234550_mod_orders_storage.concat_space_sql(text[]) drop cascades to function test_finance1649579234550_mod_orders_storage.concat_array_object_values(jsonb,text) drop cascades to function test_finance1649579234550_mod_orders_storage.concat_array_object_values(jsonb,text,text,text) drop cascades to function test_finance1649579234550_mod_orders_storage.first_array_object_value(jsonb,text,text,text) drop cascades to function test_finance1649579234550_mod_orders_storage.concat_array_object(jsonb) drop cascades to function test_finance1649579234550_mod_orders_storage.rmb_internal_index(text,text,text,text) drop cascades to table test_finance1649579234550_mod_orders_storage.alert drop cascades to function test_finance1649579234550_mod_orders_storage.alert_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_alert_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.reporting_code drop cascades to function test_finance1649579234550_mod_orders_storage.reporting_code_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_reporting_code_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.purchase_order drop cascades to function test_finance1649579234550_mod_orders_storage.purchase_order_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_purchase_order_md_json() drop cascades to sequence test_finance1649579234550_mod_orders_storage.po_number drop cascades to table test_finance1649579234550_mod_orders_storage.po_line drop cascades to function test_finance1649579234550_mod_orders_storage.update_po_line_references() drop cascades to function test_finance1649579234550_mod_orders_storage.po_line_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_po_line_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.titles drop cascades to function test_finance1649579234550_mod_orders_storage.update_titles_references() drop cascades to function test_finance1649579234550_mod_orders_storage.titles_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_titles_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.pieces drop cascades to function test_finance1649579234550_mod_orders_storage.update_pieces_references() drop cascades to function test_finance1649579234550_mod_orders_storage.pieces_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_pieces_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.order_invoice_relationship drop cascades to function test_finance1649579234550_mod_orders_storage.update_order_invoice_relationship_references() drop cascades to table test_finance1649579234550_mod_orders_storage.acquisitions_unit drop cascades to function test_finance1649579234550_mod_orders_storage.acquisitions_unit_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership drop cascades to function test_finance1649579234550_mod_orders_storage.update_acquisitions_unit_membership_references() drop cascades to function test_finance1649579234550_mod_orders_storage.acquisitions_unit_membership_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_acquisitions_unit_membership_md_json() drop cascades to table test_finance1649579234550_mod_orders_storage.order_templates drop cascades to table test_finance1649579234550_mod_orders_storage.reasons_for_closure drop cascades to table test_finance1649579234550_mod_orders_storage.prefixes drop cascades to table test_finance1649579234550_mod_orders_storage.suffixes drop cascades to table test_finance1649579234550_mod_orders_storage.acquisition_method drop cascades to table test_finance1649579234550_mod_orders_storage.export_history drop cascades to function test_finance1649579234550_mod_orders_storage.export_history_set_md() drop cascades to function test_finance1649579234550_mod_orders_storage.set_export_history_md_json() drop cascades to view test_finance1649579234550_mod_orders_storage.receiving_history_view drop cascades to function test_finance1649579234550_mod_orders_storage.set_fund_code_into_pol(jsonb)', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dependency.c', line='1214', routine='reportDependentObjects', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:28:59,749 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP SCHEMA IF EXISTS test_finance1649579234550_mod_orders_storage CASCADE; 2022-04-10T08:28:59,749 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP ROLE IF EXISTS test_finance1649579234550_mod_orders_storage; 2022-04-10T08:28:59,750 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP ROLE IF EXISTS test_finance1649579234550_mod_orders_storage; 2022-04-10T08:28:59,759 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54202 POST /_/tenant null HTTP_1_1 204 0 48 tid=test_finance1649579234550 No Content 2022-04-10T08:30:24,582 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:30:24,610 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 611027992 2022-04-10T08:30:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE ROLE test_finance1649579414600_mod_orders_storage PASSWORD 'test_finance1649579414600' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:30:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE ROLE test_finance1649579414600_mod_orders_storage PASSWORD 'test_finance1649579414600' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:30:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT test_finance1649579414600_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:30:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT test_finance1649579414600_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:30:24,614 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SCHEMA test_finance1649579414600_mod_orders_storage AUTHORIZATION test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:24,615 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SCHEMA test_finance1649579414600_mod_orders_storage AUTHORIZATION test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:24,615 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER ROLE test_finance1649579414600_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:30:24,615 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER ROLE test_finance1649579414600_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:30:24,615 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:30:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:30:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:30:24,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "unaccent" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:30:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:30:24,617 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "pg_trgm" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:30:24,617 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,624 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,624 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} insert into test_finance1649579414600_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:30:24,625 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed insert into test_finance1649579414600_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:30:24,625 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,630 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,636 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54206 POST /_/tenant null HTTP_1_1 201 393 53 tid=test_finance1649579414600 Created 2022-04-10T08:30:24,748 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -927291477 2022-04-10T08:30:24,749 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:30:24,752 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} SET search_path TO test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:24,753 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed SET search_path TO test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:24,753 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:30:24,755 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54206 GET /_/tenant/a76413fe-e1d3-4d9b-8e44-6d1a12eed0f4 null HTTP_1_1 200 393 5 tid=test_finance1649579414600 OK 2022-04-10T08:30:24,759 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:30:24,759 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:30:24,760 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:30:24,760 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:30:24,762 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:30:24,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,764 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:30:24,765 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:30:24,765 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579414600_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579414600_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579414600_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:30:24,766 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579414600_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579414600_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579414600_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:30:24,766 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579414600_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579414600_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579414600_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:30:24,766 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579414600_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579414600_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579414600_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:30:24,766 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:30:24,766 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.count_estimate_smart2(pg_catalog.int8,pg_catalog.int8,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,767 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:30:24,767 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,767 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,767 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579414600_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:30:24,767 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579414600_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:30:24,767 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579414600_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:30:24,768 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579414600_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:30:24,768 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579414600_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579414600_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:30:24,768 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579414600_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579414600_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:30:24,768 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579414600_mod_orders_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_finance1649579414600_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:30:24,769 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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_finance1649579414600_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:30:24,769 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579414600_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,771 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579414600_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,771 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579414600_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,771 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579414600_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,771 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,771 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,771 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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'; 2022-04-10T08:30:24,772 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_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'; 2022-04-10T08:30:24,772 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579414600_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,772 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579414600_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:30:24,772 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,772 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,772 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579414600_mod_orders_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; 2022-04-10T08:30:24,773 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:30:24,774 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,774 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:30:24,774 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579414600_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579414600_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579414600_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579414600_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:30:24,774 INFO [vert.x-eventloop-thread-1] PostgresClient 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 EXISTS %s', aname); EXECUTE 'DELETE FROM test_finance1649579414600_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579414600_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579414600_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579414600_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:30:24,774 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579414600_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:30:24,775 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579414600_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:30:24,775 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,780 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,780 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,780 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_alert" for relation "test_finance1649579414600_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,780 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,781 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,782 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_alert_references" for relation "test_finance1649579414600_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_alert_references(); 2022-04-10T08:30:24,782 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_alert_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_alert_references(); 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,782 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,782 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.alert_set_md(); 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.alert_set_md(); 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,783 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:30:24,783 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,784 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,784 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.alert CASCADE; 2022-04-10T08:30:24,784 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:30:24,784 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.alert_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,784 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:30:24,784 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,789 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,789 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,789 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reporting_code" for relation "test_finance1649579414600_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,789 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,789 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,790 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,790 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reporting_code_references" for relation "test_finance1649579414600_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,790 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:30:24,791 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_reporting_code_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:30:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,791 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,791 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:30:24,792 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:30:24,792 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,792 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,792 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,792 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,792 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,792 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:30:24,793 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:30:24,793 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,793 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,793 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:30:24,793 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:30:24,793 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.reporting_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,793 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:30:24,793 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,798 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,798 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,799 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_purchase_order" for relation "test_finance1649579414600_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,799 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,799 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,800 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,804 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,804 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_assignedto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_assignedTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,806 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,806 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,807 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,809 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,809 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,809 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createdbyuserid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdByUserId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,812 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,812 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,812 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_workflowstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_workflowStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_approved_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_approved_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,817 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,817 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,817 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_dateordered_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_dateOrdered_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,820 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,820 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,820 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ordertype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_orderType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,823 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,823 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,823 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_reencumber_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_reEncumber_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,826 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,826 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,827 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,827 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,827 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,828 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,830 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,830 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,830 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,832 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,832 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,833 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,835 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,835 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:30:24,835 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_reason_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_reason_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,836 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:30:24,836 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:30:24,836 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_note_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_note_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:30:24,837 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:30:24,837 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579414600_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:30:24,838 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,839 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_purchase_order_references" for relation "test_finance1649579414600_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:30:24,839 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_purchase_order_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,839 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,839 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:30:24,840 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:30:24,840 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,840 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,840 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,840 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,840 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,840 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:30:24,841 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:30:24,841 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,841 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,841 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:30:24,841 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:30:24,841 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.purchase_order_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,841 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:30:24,841 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SEQUENCE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:30:24,842 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SEQUENCE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:30:24,842 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT USAGE ON SEQUENCE test_finance1649579414600_mod_orders_storage.po_number TO test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:24,842 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT USAGE ON SEQUENCE test_finance1649579414600_mod_orders_storage.po_number TO test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:24,842 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:30:24,844 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579414600_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:30:24,844 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,849 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_po_line" for relation "test_finance1649579414600_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,849 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,849 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,850 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,850 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,850 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_accessprovider_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_accessProvider_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,852 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,853 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_activated_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_activated_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,855 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,855 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_expectedactivation_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_expectedActivation_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,858 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,858 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,858 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_trial_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_trial_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,861 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,861 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,864 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,865 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionfrom_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionFrom_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,867 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,867 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,867 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,869 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,869 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,870 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_location_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_location_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,872 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,872 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,872 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_receiptdue_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_receiptDue_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,875 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,875 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,875 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_expectedreceiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_expectedReceiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,878 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,878 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,878 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,881 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,881 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,881 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,883 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,883 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,883 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_grace_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_grace_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,886 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,886 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,886 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_sent_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_sent_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,888 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,888 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,889 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_collection_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_collection_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,891 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,891 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,892 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,894 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,894 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,894 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_paymentstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_paymentStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,897 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,897 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,897 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_orderformat_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_orderFormat_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,899 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,899 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,900 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,902 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,902 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,902 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,905 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,905 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,905 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_rush_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_rush_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,908 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,908 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,908 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_source_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_source_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,911 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579414600_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,911 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,911 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_funddistribution_code_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_fundDistribution_code_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,912 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,912 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,912 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_productids_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_productIds_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,913 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,913 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,913 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_title_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_title_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,913 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,913 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,913 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_titleorpackage_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_titleOrPackage_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,915 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_vendoraccount_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_vendorAccount_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,915 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,915 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,915 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_tags_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_tags_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,916 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,916 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,916 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_contributors_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_contributors_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,917 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,917 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,917 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_requester_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_requester_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,918 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,918 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,918 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_polinenumber_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_poLineNumber_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,919 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,919 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,919 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,919 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,919 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,920 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,920 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,920 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,920 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,921 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,921 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,921 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,922 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,922 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,922 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,922 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,922 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:30:24,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:30:24,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:30:24,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:30:24,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:30:24,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,924 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:30:24,924 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:30:24,924 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,924 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579414600_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:30:24,924 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:30:24,925 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:30:24,925 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,927 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,927 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579414600_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:30:24,929 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579414600_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:30:24,929 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,930 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_po_line_references" for relation "test_finance1649579414600_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_po_line_references(); 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_po_line_references(); 2022-04-10T08:30:24,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,932 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.po_line_set_md(); 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.po_line_set_md(); 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,932 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,932 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:30:24,933 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:30:24,933 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,933 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,933 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.po_line CASCADE; 2022-04-10T08:30:24,933 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:30:24,933 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.po_line_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,933 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:30:24,933 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,938 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,938 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,938 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_titles" for relation "test_finance1649579414600_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,938 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,938 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,938 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,938 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,938 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,939 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,939 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,939 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,939 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:30:24,939 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:30:24,939 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,940 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,940 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579414600_mod_orders_storage.titles (poLineId); 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579414600_mod_orders_storage.titles (poLineId); 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,943 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_titles_references" for relation "test_finance1649579414600_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_titles_references(); 2022-04-10T08:30:24,943 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_titles_references(); 2022-04-10T08:30:24,944 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,944 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,944 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,944 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,944 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,945 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,945 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,945 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.titles_set_md(); 2022-04-10T08:30:24,945 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.titles_set_md(); 2022-04-10T08:30:24,945 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,945 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,945 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,945 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,946 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.titles CASCADE; 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:30:24,946 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.titles_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:30:24,946 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,952 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_pieces" for relation "test_finance1649579414600_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,952 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,953 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,953 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,953 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:24,953 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,953 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_format_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_format_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,956 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,956 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,956 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_itemid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_itemId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,958 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,958 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,959 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,961 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,961 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,961 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receivingstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivingStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,963 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,963 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,964 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receiveddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivedDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,966 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,966 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,966 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_supplement_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_supplement_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579414600_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:30:24,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579414600_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,970 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_caption_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_caption_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579414600_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,971 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579414600_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:30:24,971 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579414600_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:30:24,971 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_comment_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_comment_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579414600_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,972 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579414600_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:30:24,972 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:30:24,972 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:30:24,972 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,973 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,973 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579414600_mod_orders_storage.pieces (poLineId); 2022-04-10T08:30:24,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579414600_mod_orders_storage.pieces (poLineId); 2022-04-10T08:30:24,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:30:24,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:30:24,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:30:24,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:30:24,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579414600_mod_orders_storage.pieces (titleId); 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579414600_mod_orders_storage.pieces (titleId); 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,980 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_pieces_references" for relation "test_finance1649579414600_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_pieces_references(); 2022-04-10T08:30:24,980 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_pieces_references(); 2022-04-10T08:30:24,981 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,981 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,981 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,981 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,981 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,981 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.pieces_set_md(); 2022-04-10T08:30:24,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.pieces_set_md(); 2022-04-10T08:30:24,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,983 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,983 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.pieces CASCADE; 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:30:24,983 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.pieces_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:30:24,983 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,990 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_invoice_relationship" for relation "test_finance1649579414600_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,990 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:24,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:24,991 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,991 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,991 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:24,991 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:30:24,991 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_invoice_relationship_purchaseorderid_invoiceid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:30:24,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:30:24,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:30:24,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,995 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:24,995 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:30:24,997 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:30:24,997 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,998 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_invoice_relationship_references" for relation "test_finance1649579414600_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:30:24,998 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:30:24,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.order_invoice_relationship_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:30:24,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.set_order_invoice_relationship_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,999 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:24,999 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:25,000 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,000 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:30:25,000 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:30:25,000 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.order_invoice_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,000 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:30:25,000 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:25,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:25,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,007 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_isdeleted_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_isDeleted_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,010 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,010 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,010 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_protectread_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_protectRead_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:30:25,013 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579414600_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,016 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_references" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:30:25,016 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,016 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,017 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,017 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,018 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,018 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:30:25,018 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:30:25,018 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "acquisitions_unit_assignments" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:30:25,018 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579414600_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:30:25,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "not_existing_auditing_table" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579414600_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:30:25,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:30:25,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_assignments_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:30:25,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:30:25,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:30:25,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,024 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit_membership" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,024 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,024 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:25,025 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:25,025 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,025 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_membership_userid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_membership_userId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,027 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,027 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:30:25,027 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:30:25,027 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:25,028 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:30:25,028 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:30:25,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:30:25,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:30:25,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:30:25,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,032 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_membership_references" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:30:25,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,033 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,033 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,033 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,033 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,033 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:30:25,033 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:30:25,033 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,034 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,034 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:30:25,034 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:30:25,035 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,035 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:30:25,035 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,040 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,040 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,040 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_templates" for relation "test_finance1649579414600_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,040 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,040 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,040 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,040 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,040 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,041 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,041 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,041 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,041 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,041 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,041 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579414600_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:30:25,041 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_templates_templatename_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_templates_templateName_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579414600_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579414600_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_templates_references" for relation "test_finance1649579414600_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:30:25,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_order_templates_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:30:25,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.order_templates_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:30:25,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.set_order_templates_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,044 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,044 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,045 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:30:25,045 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:30:25,045 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.order_templates_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:30:25,045 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reasons_for_closure" for relation "test_finance1649579414600_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,051 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579414600_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:30:25,051 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "reasons_for_closure_reason_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS reasons_for_closure_reason_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579414600_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579414600_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:30:25,053 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,053 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reasons_for_closure_references" for relation "test_finance1649579414600_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,053 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:30:25,054 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_reasons_for_closure_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:30:25,054 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.reasons_for_closure_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,054 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:30:25,054 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.set_reasons_for_closure_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,054 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,055 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:30:25,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:30:25,055 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.reasons_for_closure_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:30:25,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,056 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:30:25,058 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54206 GET /_/tenant/a76413fe-e1d3-4d9b-8e44-6d1a12eed0f4 null HTTP_1_1 200 393 1 tid=test_finance1649579414600 OK 2022-04-10T08:30:25,060 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,060 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,061 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_prefixes" for relation "test_finance1649579414600_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,061 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,061 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,061 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,061 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579414600_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:30:25,062 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "prefixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS prefixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579414600_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579414600_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,064 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_prefixes_references" for relation "test_finance1649579414600_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:30:25,064 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_prefixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:30:25,064 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.prefixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:30:25,064 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,065 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:30:25,065 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.set_prefixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,065 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,065 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:30:25,065 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.prefixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:30:25,065 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,070 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_suffixes" for relation "test_finance1649579414600_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,070 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,070 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,071 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,071 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,071 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,071 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,071 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579414600_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:30:25,071 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "suffixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS suffixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579414600_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579414600_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,074 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_suffixes_references" for relation "test_finance1649579414600_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:30:25,074 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_suffixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:30:25,074 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.suffixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,074 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,074 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:30:25,075 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.set_suffixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,075 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,075 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:30:25,075 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.suffixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:30:25,075 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,081 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,081 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,081 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisition_method" for relation "test_finance1649579414600_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,081 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,081 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,082 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,082 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,082 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,082 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,082 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,082 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,082 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,082 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:30:25,082 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579414600_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:30:25,082 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisition_method_value_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisition_method_value_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579414600_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579414600_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,085 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisition_method_references" for relation "test_finance1649579414600_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:30:25,085 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_acquisition_method_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:30:25,085 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.acquisition_method_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:30:25,085 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,086 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:30:25,086 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.set_acquisition_method_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,086 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,086 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:30:25,086 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.acquisition_method_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:30:25,086 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,093 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579414600_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:30:25,093 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,093 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_export_history" for relation "test_finance1649579414600_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,093 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,093 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,094 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579414600_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,094 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,094 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,094 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579414600_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:30:25,094 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579414600_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:25,094 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579414600_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:30:25,094 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579414600_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,095 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579414600_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,097 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579414600_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:30:25,097 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579414600_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:30:25,097 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportjobid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportJobId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579414600_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,100 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579414600_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:30:25,100 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,100 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_export_history_references" for relation "test_finance1649579414600_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,100 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,100 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_export_history_references(); 2022-04-10T08:30:25,100 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.update_export_history_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,100 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.update_export_history_references(); 2022-04-10T08:30:25,100 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,101 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,101 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,101 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_trigger" for relation "test_finance1649579414600_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,101 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,101 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.export_history_set_md(); 2022-04-10T08:30:25,101 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579414600_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.export_history_set_md(); 2022-04-10T08:30:25,101 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,102 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_json_trigger" for relation "test_finance1649579414600_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579414600_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579414600_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,102 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_ol_version_trigger" for relation "test_finance1649579414600_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579414600_mod_orders_storage.export_history CASCADE; 2022-04-10T08:30:25,102 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:30:25,103 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579414600_mod_orders_storage.export_history_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,103 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579414600_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:30:25,103 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:30:25,105 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:30:25,105 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS orders_view; 2022-04-10T08:30:25,105 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,105 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS orders_view; 2022-04-10T08:30:25,105 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:30:25,105 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "order_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,105 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:30:25,105 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:30:25,106 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "purchase_orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,106 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:30:25,106 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:30:25,106 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "po_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,106 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:30:25,106 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:30:25,107 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:30:25,107 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:30:25,107 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,107 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:30:25,107 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO test_finance1649579414600_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579414600_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:30:25,108 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO test_finance1649579414600_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579414600_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:30:25,108 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:30:25,108 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:30:25,108 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:30:25,109 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:30:25,109 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:30:25,109 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:30:25,109 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:30:25,109 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:30:25,109 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:30:25,110 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:30:25,110 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579414600_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:30:25,110 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579414600_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:30:25,110 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579414600_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:30:25,110 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579414600_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:30:25,110 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579414600_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:30:25,111 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579414600_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:30:25,111 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579414600_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:30:25,111 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579414600_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:30:25,111 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:30:25,111 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:30:25,111 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:30:25,111 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:30:25,112 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579414600_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:30:25,112 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:30:25,112 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:30:25,112 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579414600_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:30:25,113 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579414600_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:30:25,113 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:30:25,113 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579414600_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:30:25,113 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:30:25,113 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:30:25,113 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579414600_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:30:25,114 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579414600_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:30:25,114 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579414600_mod_orders_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_finance1649579414600_mod_orders_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_finance1649579414600_mod_orders_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 $$; 2022-04-10T08:30:25,114 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579414600_mod_orders_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_finance1649579414600_mod_orders_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_finance1649579414600_mod_orders_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 $$; 2022-04-10T08:30:25,114 INFO [vert.x-eventloop-thread-1] PostgresClient 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 $$; 2022-04-10T08:30:25,116 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$; 2022-04-10T08:30:25,116 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2022-04-10T08:30:25,118 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2022-04-10T08:30:25,118 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579414600_mod_orders_storage TO test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:25,124 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579414600_mod_orders_storage TO test_finance1649579414600_mod_orders_storage; 2022-04-10T08:30:25,124 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579414600_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:30:25,126 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579414600_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:30:25,132 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI postTenant 2022-04-10T08:30:25,139 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,139 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:30:25,139 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579414600 2022-04-10T08:30:25,139 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579414600_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:30:25,145 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/ebe73dd1-fa30-4c36-aad9-6c95ea5207ae null HTTP_1_1 404 9 5 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,145 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,152 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 116 7 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,153 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,158 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/af55e63f-10f9-4919-add9-6feaf7097a6c null HTTP_1_1 404 9 4 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,165 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 6 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,166 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,170 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/22bddeeb-6cbe-45bd-b73d-7343e28c0626 null HTTP_1_1 404 9 4 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,171 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,174 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 104 3 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,175 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,175 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/b72e8ea6-67b3-4238-9257-5d8e29b95694 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,176 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,177 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 123 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,180 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,180 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/29936d21-93e4-4ab3-9ac4-2d11fa40e942 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,181 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,182 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,183 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/dcbb7f40-f2ae-4ad3-a367-27bff67ff6e6 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,184 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,185 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,186 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,187 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,187 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,189 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 100 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,189 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,190 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/71a233f8-edac-4e8e-9600-d55222d64273 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,190 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,192 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,193 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,194 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/d17f9d15-4520-49ad-9ffa-123e7739ae53 null HTTP_1_1 404 9 1 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,194 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,195 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 125 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,196 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,197 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/8ab21f8d-1343-4228-ac5c-2979ba99412b null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,197 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,199 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 112 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,199 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,200 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/7c11e86e-4776-4f4f-9aa4-13e83b4ef44d null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,200 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,202 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,203 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,203 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/65a75ad7-fbbe-4139-9c69-79fbba805ce9 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,204 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,205 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 114 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,206 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,206 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/71a83ae9-6af0-479e-b579-4904b24a3300 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,207 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,208 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 110 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,209 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,210 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/8f11f23a-e101-4861-8df2-152da9ce4889 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,210 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,211 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,212 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,213 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/cae85c3d-a839-420a-868d-283cedb1fd2f null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,213 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,214 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 97 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,215 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,216 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/27d10e3b-66cc-490b-bee6-7c1b2b07394c null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,216 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,217 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 99 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,218 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,219 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/89389f7b-54e9-4b95-b5d0-f89c29b71147 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,219 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,220 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 96 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,221 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:30:25,222 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/configuration/reasons-for-closure/a47051ec-7a4f-499f-9541-a5fc5deb2f41 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,222 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:30:25,223 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 121 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,226 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,227 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/da6703b1-81fe-44af-927a-94f24d1ab8ee null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,228 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,229 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 350 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,230 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,230 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/8a33895e-2c69-4a98-ab48-b7ec1fa852d0 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,231 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,232 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,233 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,233 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,234 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,235 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 370 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,236 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,237 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/0a4163a5-d225-4007-ad90-2fb41b73efab null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,238 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,239 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,240 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,241 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/041035ad-b2a4-4aa0-b6a5-234b88bf938c null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,241 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,243 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 377 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,243 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,244 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,245 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,246 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 358 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,247 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,247 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/86d12634-b848-4968-adf0-5a95ce41c41b null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,248 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,249 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,250 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,251 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/d0d3811c-19f8-4c57-a462-958165cdbbea null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,251 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,252 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 354 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,253 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,254 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/d2420b93-7b93-41b7-8b42-798f64cb6dd2 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,254 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,255 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,256 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,257 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/df26d81b-9d63-4ff8-bf41-49bf75cfa70e null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,257 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,259 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,259 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,260 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/0c9b09c9-b94f-4702-aa63-a7f43617a225 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,261 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,262 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 362 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,262 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,263 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/5771a8a4-9323-49ee-9002-1b068d71ff42 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,264 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,265 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,265 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:30:25,266 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 PUT /orders-storage/acquisition-methods/aaa541f3-39d2-4887-ab8f-6ba12d08ca52 null HTTP_1_1 404 9 0 tid=test_finance1649579414600 Not Found 2022-04-10T08:30:25,266 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:30:25,268 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33188 POST /orders-storage/acquisition-methods null HTTP_1_1 201 378 1 tid=test_finance1649579414600 Created 2022-04-10T08:30:25,268 INFO [vert.x-eventloop-thread-1] TenantAPI job a76413fe-e1d3-4d9b-8e44-6d1a12eed0f4 completed 2022-04-10T08:30:25,434 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:30:25,435 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54206 GET /_/tenant/a76413fe-e1d3-4d9b-8e44-6d1a12eed0f4 null HTTP_1_1 200 452 1 tid=test_finance1649579414600 OK 2022-04-10T08:30:25,436 INFO [vert.x-eventloop-thread-1] RestRouting invoking deleteTenantByOperationId 2022-04-10T08:30:25,436 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI deleteTenant 2022-04-10T08:30:25,441 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54206 DELETE /_/tenant/a76413fe-e1d3-4d9b-8e44-6d1a12eed0f4 null HTTP_1_1 204 0 5 tid=test_finance1649579414600 No Content 2022-04-10T08:31:39,932 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:31:39,932 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:31:39,932 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579414600 2022-04-10T08:31:39,932 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579414600_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:31:39,940 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/po-number null HTTP_1_1 200 32 8 tid=test_finance1649579414600 OK 2022-04-10T08:31:39,948 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:31:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:31:39 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:31:39 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:31:39,952 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10000 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:31:39 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:31:39 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:31:39 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:31:39,959 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10000&limit=1 HTTP_1_1 200 50 11 tid=test_finance1649579414600 OK 2022-04-10T08:31:39,967 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:31:39,979 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@ccdc09de and associated data were successfully created 2022-04-10T08:31:39,979 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 12 tid=test_finance1649579414600 Created 2022-04-10T08:31:39,987 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:31:39,993 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/po-line-number purchaseOrderId=fa643ba9-b129-4cda-8487-02eaf9757563 HTTP_1_1 200 33 6 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,001 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:31:40,017 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@fbc02739 and associated data were successfully created 2022-04-10T08:31:40,018 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 POST /orders-storage/po-lines null HTTP_1_1 201 1504 17 tid=test_finance1649579414600 Created 2022-04-10T08:31:40,035 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,036 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(77ccaf73-95bc-4076-a9b5-7527f769fce8) >>>WHERE poLineId='77ccaf73-95bc-4076-a9b5-7527f769fce8' LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,041 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2877ccaf73-95bc-4076-a9b5-7527f769fce8%29&limit=2147483647 HTTP_1_1 200 42 5 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,118 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,119 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,122 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 4 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,123 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,124 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,125 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,185 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,186 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(77ccaf73-95bc-4076-a9b5-7527f769fce8) >>>WHERE poLineId='77ccaf73-95bc-4076-a9b5-7527f769fce8' LIMIT 15 OFFSET 0 2022-04-10T08:31:40,187 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2877ccaf73-95bc-4076-a9b5-7527f769fce8%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,190 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,191 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==77ccaf73-95bc-4076-a9b5-7527f769fce8 >>>WHERE poLineId='77ccaf73-95bc-4076-a9b5-7527f769fce8' LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,192 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D77ccaf73-95bc-4076-a9b5-7527f769fce8&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,199 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:31:40,202 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/po-lines/77ccaf73-95bc-4076-a9b5-7527f769fce8 null HTTP_1_1 200 1504 3 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,211 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:31:40,213 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/purchase-orders/fa643ba9-b129-4cda-8487-02eaf9757563 null HTTP_1_1 200 527 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,221 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,222 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==fa643ba9-b129-4cda-8487-02eaf9757563 >>>WHERE purchaseOrderId='fa643ba9-b129-4cda-8487-02eaf9757563' LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,224 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dfa643ba9-b129-4cda-8487-02eaf9757563&limit=2147483647 HTTP_1_1 200 1644 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,232 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:31:40,236 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 POST /orders-storage/pieces null HTTP_1_1 201 249 4 tid=test_finance1649579414600 Created 2022-04-10T08:31:40,312 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:31:40,316 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@3b7fa46a was successfully updated 2022-04-10T08:31:40,316 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '77ccaf73-95bc-4076-a9b5-7527f769fce8' >>>WHERE poLineId = '77ccaf73-95bc-4076-a9b5-7527f769fce8' 2022-04-10T08:31:40,319 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@3b7fa46a and associated data were successfully updated 2022-04-10T08:31:40,319 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 PUT /orders-storage/po-lines/77ccaf73-95bc-4076-a9b5-7527f769fce8 null HTTP_1_1 204 0 6 tid=test_finance1649579414600 No Content 2022-04-10T08:31:40,328 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:31:40,328 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=fa643ba9-b129-4cda-8487-02eaf9757563 2022-04-10T08:31:40,331 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=fa643ba9-b129-4cda-8487-02eaf9757563 successfully updated 2022-04-10T08:31:40,331 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 PUT /orders-storage/purchase-orders/fa643ba9-b129-4cda-8487-02eaf9757563 null HTTP_1_1 204 0 3 tid=test_finance1649579414600 No Content 2022-04-10T08:31:40,845 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:31:40,846 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,848 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:31:40,848 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10001 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:31:40,850 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10001&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,852 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:31:40,855 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@637b08bf and associated data were successfully created 2022-04-10T08:31:40,855 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 3 tid=test_finance1649579414600 Created 2022-04-10T08:31:40,857 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:31:40,858 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/po-line-number purchaseOrderId=04dd916c-e572-41fb-95b7-b47ec24e973f HTTP_1_1 200 33 1 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,860 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:31:40,864 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@a559ee32 and associated data were successfully created 2022-04-10T08:31:40,865 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 POST /orders-storage/po-lines null HTTP_1_1 201 1506 4 tid=test_finance1649579414600 Created 2022-04-10T08:31:40,873 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,874 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(0cecce24-08cd-4d17-b21b-3ce08e94548b) >>>WHERE poLineId='0cecce24-08cd-4d17-b21b-3ce08e94548b' LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,875 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%280cecce24-08cd-4d17-b21b-3ce08e94548b%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,899 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,900 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,900 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,901 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,902 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 3 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,903 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,924 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,925 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(0cecce24-08cd-4d17-b21b-3ce08e94548b) >>>WHERE poLineId='0cecce24-08cd-4d17-b21b-3ce08e94548b' LIMIT 15 OFFSET 0 2022-04-10T08:31:40,926 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%280cecce24-08cd-4d17-b21b-3ce08e94548b%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,928 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,928 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==0cecce24-08cd-4d17-b21b-3ce08e94548b >>>WHERE poLineId='0cecce24-08cd-4d17-b21b-3ce08e94548b' LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,929 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D0cecce24-08cd-4d17-b21b-3ce08e94548b&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,931 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:31:40,933 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/po-lines/0cecce24-08cd-4d17-b21b-3ce08e94548b null HTTP_1_1 200 1506 1 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,935 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:31:40,936 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/purchase-orders/04dd916c-e572-41fb-95b7-b47ec24e973f null HTTP_1_1 200 527 1 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,938 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:31:40 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:40,938 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==04dd916c-e572-41fb-95b7-b47ec24e973f >>>WHERE purchaseOrderId='04dd916c-e572-41fb-95b7-b47ec24e973f' LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:40,940 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D04dd916c-e572-41fb-95b7-b47ec24e973f&limit=2147483647 HTTP_1_1 200 1646 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:40,943 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:31:40,945 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579414600 Created 2022-04-10T08:31:40,985 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:31:40,987 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@3b00adcf was successfully updated 2022-04-10T08:31:40,987 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '0cecce24-08cd-4d17-b21b-3ce08e94548b' >>>WHERE poLineId = '0cecce24-08cd-4d17-b21b-3ce08e94548b' 2022-04-10T08:31:40,989 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@3b00adcf and associated data were successfully updated 2022-04-10T08:31:40,989 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 PUT /orders-storage/po-lines/0cecce24-08cd-4d17-b21b-3ce08e94548b null HTTP_1_1 204 0 4 tid=test_finance1649579414600 No Content 2022-04-10T08:31:40,992 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:31:40,992 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=04dd916c-e572-41fb-95b7-b47ec24e973f 2022-04-10T08:31:40,993 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=04dd916c-e572-41fb-95b7-b47ec24e973f successfully updated 2022-04-10T08:31:40,994 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 PUT /orders-storage/purchase-orders/04dd916c-e572-41fb-95b7-b47ec24e973f null HTTP_1_1 204 0 2 tid=test_finance1649579414600 No Content 2022-04-10T08:31:41,516 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:41,517 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:41,517 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:41,518 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:41,519 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:41,520 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:41,528 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) 2022-04-10T08:31:41,528 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) 2022-04-10T08:31:41,531 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%223b573e8c-eb41-4c1d-bc5d-9b5083e1c213%5C%22*%22%29&limit=0 HTTP_1_1 200 50 3 tid=test_finance1649579414600 OK 2022-04-10T08:31:41,533 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) 2022-04-10T08:31:41,534 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3b573e8c-eb41-4c1d-bc5d-9b5083e1c213"%')) 2022-04-10T08:31:41,538 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%223b573e8c-eb41-4c1d-bc5d-9b5083e1c213%5C%22*%22%29&limit=200 HTTP_1_1 200 1501 5 tid=test_finance1649579414600 OK 2022-04-10T08:31:41,540 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:31:41 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:31:41,541 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == fa643ba9-b129-4cda-8487-02eaf9757563) or (purchaseOrderId == 04dd916c-e572-41fb-95b7-b47ec24e973f) >>>WHERE (purchaseOrderId='fa643ba9-b129-4cda-8487-02eaf9757563') OR (purchaseOrderId='04dd916c-e572-41fb-95b7-b47ec24e973f') LIMIT 2147483647 OFFSET 0 2022-04-10T08:31:41,543 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+fa643ba9-b129-4cda-8487-02eaf9757563%29+or+%28purchaseOrderId+%3D%3D+04dd916c-e572-41fb-95b7-b47ec24e973f%29&limit=2147483647 HTTP_1_1 200 3532 2 tid=test_finance1649579414600 OK 2022-04-10T08:31:41,560 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:31:41,561 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:31:41,563 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:31:41,565 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:31:41,567 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@43f5b7bd was successfully updated 2022-04-10T08:31:41,567 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '77ccaf73-95bc-4076-a9b5-7527f769fce8' >>>WHERE poLineId = '77ccaf73-95bc-4076-a9b5-7527f769fce8' 2022-04-10T08:31:41,568 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@43f5b7bd and associated data were successfully updated 2022-04-10T08:31:41,569 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54210 PUT /orders-storage/po-lines/77ccaf73-95bc-4076-a9b5-7527f769fce8 null HTTP_1_1 204 0 9 tid=test_finance1649579414600 No Content 2022-04-10T08:31:41,570 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@1bdcd9db was successfully updated 2022-04-10T08:31:41,570 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '77ccaf73-95bc-4076-a9b5-7527f769fce8' >>>WHERE poLineId = '77ccaf73-95bc-4076-a9b5-7527f769fce8' 2022-04-10T08:31:41,571 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@d05b6c51 was successfully updated 2022-04-10T08:31:41,571 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '0cecce24-08cd-4d17-b21b-3ce08e94548b' >>>WHERE poLineId = '0cecce24-08cd-4d17-b21b-3ce08e94548b' 2022-04-10T08:31:41,573 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@d05b6c51 and associated data were successfully updated 2022-04-10T08:31:41,573 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54208 PUT /orders-storage/po-lines/0cecce24-08cd-4d17-b21b-3ce08e94548b null HTTP_1_1 204 0 11 tid=test_finance1649579414600 No Content 2022-04-10T08:31:41,573 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@1bdcd9db and associated data were successfully updated 2022-04-10T08:31:41,573 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54212 PUT /orders-storage/po-lines/77ccaf73-95bc-4076-a9b5-7527f769fce8 null HTTP_1_1 204 0 10 tid=test_finance1649579414600 No Content 2022-04-10T08:31:41,577 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@f03a4479 was successfully updated 2022-04-10T08:31:41,577 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '0cecce24-08cd-4d17-b21b-3ce08e94548b' >>>WHERE poLineId = '0cecce24-08cd-4d17-b21b-3ce08e94548b' 2022-04-10T08:31:41,579 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@f03a4479 and associated data were successfully updated 2022-04-10T08:31:41,580 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54214 PUT /orders-storage/po-lines/0cecce24-08cd-4d17-b21b-3ce08e94548b null HTTP_1_1 204 0 15 tid=test_finance1649579414600 No Content 2022-04-10T08:31:45,302 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:31:45,313 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -387100150 2022-04-10T08:31:45,316 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP SCHEMA IF EXISTS test_finance1649579414600_mod_orders_storage CASCADE; 2022-04-10T08:31:45,326 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='drop cascades to 67 other objects', detail='drop cascades to table test_finance1649579414600_mod_orders_storage.rmb_internal drop cascades to table test_finance1649579414600_mod_orders_storage.rmb_job drop cascades to table test_finance1649579414600_mod_orders_storage.rmb_internal_index drop cascades to table test_finance1649579414600_mod_orders_storage.rmb_internal_analyze drop cascades to function test_finance1649579414600_mod_orders_storage.uuid_smaller(uuid,uuid) drop cascades to function test_finance1649579414600_mod_orders_storage.uuid_larger(uuid,uuid) drop cascades to function test_finance1649579414600_mod_orders_storage.next_uuid(uuid) drop cascades to function test_finance1649579414600_mod_orders_storage.max(uuid) drop cascades to function test_finance1649579414600_mod_orders_storage.min(uuid) drop cascades to function test_finance1649579414600_mod_orders_storage.count_estimate_smart2(bigint,bigint,text) drop cascades to function test_finance1649579414600_mod_orders_storage.count_estimate_default(text) drop cascades to function test_finance1649579414600_mod_orders_storage.count_estimate(text) drop cascades to function test_finance1649579414600_mod_orders_storage.upsert(text,uuid,anyelement) drop cascades to function test_finance1649579414600_mod_orders_storage.f_unaccent(text) drop cascades to function test_finance1649579414600_mod_orders_storage.get_tsvector(text) drop cascades to function test_finance1649579414600_mod_orders_storage.tsquery_and(text) drop cascades to function test_finance1649579414600_mod_orders_storage.tsquery_or(text) drop cascades to function test_finance1649579414600_mod_orders_storage.tsquery_phrase(text) drop cascades to function test_finance1649579414600_mod_orders_storage.normalize_digits(text) drop cascades to function test_finance1649579414600_mod_orders_storage.set_id_in_jsonb() drop cascades to function test_finance1649579414600_mod_orders_storage.concat_space_sql(text[]) drop cascades to function test_finance1649579414600_mod_orders_storage.concat_array_object_values(jsonb,text) drop cascades to function test_finance1649579414600_mod_orders_storage.concat_array_object_values(jsonb,text,text,text) drop cascades to function test_finance1649579414600_mod_orders_storage.first_array_object_value(jsonb,text,text,text) drop cascades to function test_finance1649579414600_mod_orders_storage.concat_array_object(jsonb) drop cascades to function test_finance1649579414600_mod_orders_storage.rmb_internal_index(text,text,text,text) drop cascades to table test_finance1649579414600_mod_orders_storage.alert drop cascades to function test_finance1649579414600_mod_orders_storage.alert_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_alert_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.reporting_code drop cascades to function test_finance1649579414600_mod_orders_storage.reporting_code_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_reporting_code_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.purchase_order drop cascades to function test_finance1649579414600_mod_orders_storage.purchase_order_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_purchase_order_md_json() drop cascades to sequence test_finance1649579414600_mod_orders_storage.po_number drop cascades to table test_finance1649579414600_mod_orders_storage.po_line drop cascades to function test_finance1649579414600_mod_orders_storage.update_po_line_references() drop cascades to function test_finance1649579414600_mod_orders_storage.po_line_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_po_line_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.titles drop cascades to function test_finance1649579414600_mod_orders_storage.update_titles_references() drop cascades to function test_finance1649579414600_mod_orders_storage.titles_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_titles_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.pieces drop cascades to function test_finance1649579414600_mod_orders_storage.update_pieces_references() drop cascades to function test_finance1649579414600_mod_orders_storage.pieces_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_pieces_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.order_invoice_relationship drop cascades to function test_finance1649579414600_mod_orders_storage.update_order_invoice_relationship_references() drop cascades to table test_finance1649579414600_mod_orders_storage.acquisitions_unit drop cascades to function test_finance1649579414600_mod_orders_storage.acquisitions_unit_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership drop cascades to function test_finance1649579414600_mod_orders_storage.update_acquisitions_unit_membership_references() drop cascades to function test_finance1649579414600_mod_orders_storage.acquisitions_unit_membership_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_acquisitions_unit_membership_md_json() drop cascades to table test_finance1649579414600_mod_orders_storage.order_templates drop cascades to table test_finance1649579414600_mod_orders_storage.reasons_for_closure drop cascades to table test_finance1649579414600_mod_orders_storage.prefixes drop cascades to table test_finance1649579414600_mod_orders_storage.suffixes drop cascades to table test_finance1649579414600_mod_orders_storage.acquisition_method drop cascades to table test_finance1649579414600_mod_orders_storage.export_history drop cascades to function test_finance1649579414600_mod_orders_storage.export_history_set_md() drop cascades to function test_finance1649579414600_mod_orders_storage.set_export_history_md_json() drop cascades to view test_finance1649579414600_mod_orders_storage.receiving_history_view drop cascades to function test_finance1649579414600_mod_orders_storage.set_fund_code_into_pol(jsonb)', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dependency.c', line='1214', routine='reportDependentObjects', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:31:45,338 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP SCHEMA IF EXISTS test_finance1649579414600_mod_orders_storage CASCADE; 2022-04-10T08:31:45,338 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP ROLE IF EXISTS test_finance1649579414600_mod_orders_storage; 2022-04-10T08:31:45,338 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP ROLE IF EXISTS test_finance1649579414600_mod_orders_storage; 2022-04-10T08:31:45,349 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54214 POST /_/tenant null HTTP_1_1 204 0 47 tid=test_finance1649579414600 No Content 2022-04-10T08:35:05,482 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:35:05,505 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 1513840819 2022-04-10T08:35:05,509 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE ROLE test_finance1649579695604_mod_orders_storage PASSWORD 'test_finance1649579695604' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:35:05,509 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE ROLE test_finance1649579695604_mod_orders_storage PASSWORD 'test_finance1649579695604' NOSUPERUSER NOCREATEDB INHERIT LOGIN; 2022-04-10T08:35:05,509 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT test_finance1649579695604_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:35:05,510 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT test_finance1649579695604_mod_orders_storage TO CURRENT_USER; 2022-04-10T08:35:05,510 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SCHEMA test_finance1649579695604_mod_orders_storage AUTHORIZATION test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:05,510 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SCHEMA test_finance1649579695604_mod_orders_storage AUTHORIZATION test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:05,510 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER ROLE test_finance1649579695604_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:35:05,510 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER ROLE test_finance1649579695604_mod_orders_storage SET search_path = "$user"; 2022-04-10T08:35:05,510 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:35:05,512 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN -- This only succeeds if show_trgm, a pg_trgm function, -- has been loaded into public schema. PERFORM public.show_trgm('a'); EXCEPTION WHEN undefined_function THEN BEGIN ALTER EXTENSION pg_trgm SET SCHEMA public; EXCEPTION WHEN undefined_object THEN NULL; END; END; END $$; 2022-04-10T08:35:05,512 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:35:05,512 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "unaccent" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,512 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; 2022-04-10T08:35:05,512 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:35:05,512 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "pg_trgm" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,512 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; 2022-04-10T08:35:05,512 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,520 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,520 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} insert into test_finance1649579695604_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:35:05,520 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed insert into test_finance1649579695604_mod_orders_storage.rmb_internal (jsonb) values ('{"rmbVersion": "33.0.0", "moduleVersion": "mod-orders-storage-13.3.0-SNAPSHOT.264"}'::jsonb); 2022-04-10T08:35:05,520 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,526 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.rmb_job ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,532 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54216 POST /_/tenant null HTTP_1_1 201 393 50 tid=test_finance1649579695604 Created 2022-04-10T08:35:05,672 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id -1098441804 2022-04-10T08:35:05,673 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:35:05,676 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} SET search_path TO test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:05,676 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed SET search_path TO test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:05,676 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:35:05,679 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54216 GET /_/tenant/3ba21712-b044-47e5-adae-45d3a0bc8838 null HTTP_1_1 200 393 5 tid=test_finance1649579695604 OK 2022-04-10T08:35:05,683 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); 2022-04-10T08:35:05,683 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:35:05,684 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.rmb_internal_index SET remove = TRUE; 2022-04-10T08:35:05,684 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:35:05,687 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS rmb_internal_analyze ( tablename text ); 2022-04-10T08:35:05,687 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,689 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,689 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,689 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,689 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:35:05,690 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; RETURN uuid; END; $$ LANGUAGE plpgsql; 2022-04-10T08:35:05,690 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579695604_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579695604_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579695604_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:35:05,691 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579695604_mod_orders_storage.max(uuid) ( stype = uuid, sfunc = test_finance1649579695604_mod_orders_storage.uuid_larger, combinefunc = test_finance1649579695604_mod_orders_storage.uuid_larger, parallel = safe, sortop = operator (>) ); 2022-04-10T08:35:05,691 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE AGGREGATE test_finance1649579695604_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579695604_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579695604_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:35:05,691 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE AGGREGATE test_finance1649579695604_mod_orders_storage.min(uuid) ( stype = uuid, sfunc = test_finance1649579695604_mod_orders_storage.uuid_smaller, combinefunc = test_finance1649579695604_mod_orders_storage.uuid_smaller, parallel = safe, sortop = operator (<) ); 2022-04-10T08:35:05,691 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:35:05,691 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.count_estimate_smart2(pg_catalog.int8,pg_catalog.int8,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,691 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.count_estimate_smart2(bigint,bigint,text); 2022-04-10T08:35:05,691 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,692 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,692 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579695604_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:35:05,692 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO rows; IF rows < 40000 THEN return rows; END IF; rows = test_finance1649579695604_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF rows < 40000 THEN return 40000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; 2022-04-10T08:35:05,692 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579695604_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:35:05,693 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = test_finance1649579695604_mod_orders_storage.count_estimate_smart2(40000, 40000, query); IF est_count > 4*40000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 40000) x'; EXECUTE q INTO count; IF count < 40000 THEN RETURN count; END IF; IF est_count < 40000 THEN RETURN 40000; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; 2022-04-10T08:35:05,693 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579695604_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579695604_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:35:05,693 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.upsert(text, uuid, anyelement) RETURNS uuid AS $$ DECLARE ret uuid; BEGIN EXECUTE format('UPDATE test_finance1649579695604_mod_orders_storage.%I SET jsonb=$3 WHERE id=$2 RETURNING id', $1) USING $1, $2, $3 INTO ret; IF ret IS NOT NULL THEN RETURN ret; END IF; EXECUTE format('INSERT INTO test_finance1649579695604_mod_orders_storage.%I (id, jsonb) VALUES ($2, $3) RETURNING id', $1) USING $1, $2, $3 INTO STRICT ret; RETURN ret; END; $$ LANGUAGE plpgsql; 2022-04-10T08:35:05,693 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579695604_mod_orders_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_finance1649579695604_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:35:05,694 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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_finance1649579695604_mod_orders_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\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || E'\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || E'\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || E'\u0360\u0361\u0362' || E'\u20dd\u20de\u20df\u20e0' || E'\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; 2022-04-10T08:35:05,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,694 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.get_tsvector(text) RETURNS tsvector AS $$ SELECT to_tsvector('simple', translate($1, '&', ',')); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,694 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,695 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,695 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579695604_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,695 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579695604_mod_orders_storage.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,695 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579695604_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,695 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(test_finance1649579695604_mod_orders_storage.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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'; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_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'; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579695604_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579695604_mod_orders_storage.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; 2022-04-10T08:35:05,696 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,697 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,697 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,697 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,697 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,697 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,697 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,698 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed create or replace function test_finance1649579695604_mod_orders_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; 2022-04-10T08:35:05,698 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:35:05,698 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function rmb_internal_index(text,text,text) does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,698 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS rmb_internal_index(aname text, tops text, newdef text); 2022-04-10T08:35:05,698 INFO [vert.x-eventloop-thread-1] PostgresClient 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_finance1649579695604_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579695604_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579695604_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579695604_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:35:05,699 INFO [vert.x-eventloop-thread-1] PostgresClient 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 EXISTS %s', aname); EXECUTE 'DELETE FROM test_finance1649579695604_mod_orders_storage.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM test_finance1649579695604_mod_orders_storage.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM test_finance1649579695604_mod_orders_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, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; EXECUTE 'INSERT INTO rmb_internal_analyze VALUES ($1)' USING atable; END IF; EXECUTE 'INSERT INTO test_finance1649579695604_mod_orders_storage.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; 2022-04-10T08:35:05,699 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579695604_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:35:05,699 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN -- use advisory lock to prevent "tuple concurrently updated" -- https://issues.folio.org/browse/RMB-744 PERFORM pg_advisory_xact_lock(20201101, 1234567890); REVOKE ALL PRIVILEGES ON SCHEMA public FROM test_finance1649579695604_mod_orders_storage; REVOKE CREATE ON SCHEMA public FROM PUBLIC; END $$; 2022-04-10T08:35:05,699 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,705 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.alert ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,705 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,705 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_alert" for relation "test_finance1649579695604_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,705 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_alert ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,705 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,705 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,705 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,705 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.alert ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,706 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_alert_references" for relation "test_finance1649579695604_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_alert_references ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_alert_references(); 2022-04-10T08:35:05,706 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_alert_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_alert_references(); 2022-04-10T08:35:05,706 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.alert_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,707 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_trigger ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.alert_set_md(); 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.alert_set_md(); 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_alert_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,707 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,708 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_md_json_trigger ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_alert_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.alert FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_alert_md_json(); 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,708 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_alert_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.alert" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_alert_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.alert CASCADE; 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:35:05,708 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.alert_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.alert_set_ol_version() CASCADE; 2022-04-10T08:35:05,708 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.reporting_code ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,714 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reporting_code" for relation "test_finance1649579695604_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reporting_code ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,714 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,714 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.reporting_code ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,715 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reporting_code_references" for relation "test_finance1649579695604_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reporting_code_references ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:35:05,715 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_reporting_code_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_reporting_code_references(); 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.reporting_code_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,715 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,716 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,716 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_trigger ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,716 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:35:05,716 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.reporting_code_set_md(); 2022-04-10T08:35:05,716 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,716 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_reporting_code_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,716 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,717 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_md_json_trigger ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_reporting_code_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.reporting_code FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_reporting_code_md_json(); 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,717 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reporting_code_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.reporting_code" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reporting_code_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.reporting_code CASCADE; 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:35:05,717 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.reporting_code_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.reporting_code_set_ol_version() CASCADE; 2022-04-10T08:35:05,717 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,723 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.purchase_order ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,723 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,724 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_purchase_order" for relation "test_finance1649579695604_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,724 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_purchase_order ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,724 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,724 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,724 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,724 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,724 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,724 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,725 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.purchase_order ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,725 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,726 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,729 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'acqUnitIds')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,729 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,729 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_assignedto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_assignedTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,732 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_assignedTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_assignedTo_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'assignedTo')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,732 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,733 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,735 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,735 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,736 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_metadata_createdbyuserid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_metadata_createdByUserId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,739 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_metadata_createdByUserId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_metadata_createdByUserId_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdByUserId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,739 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,739 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_workflowstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_workflowStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,742 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_workflowStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_workflowStatus_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'workflowStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,742 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,743 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_approved_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_approved_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,746 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_approved_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_approved_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'approved')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,746 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,746 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_dateordered_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_dateOrdered_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,748 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_dateOrdered_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_dateOrdered_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'dateOrdered')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,748 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,749 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ordertype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_orderType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,752 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_orderType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_orderType_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderType')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,752 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,752 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_reencumber_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_reEncumber_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,755 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_reEncumber_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_reEncumber_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->>'reEncumber')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,755 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,755 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,755 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_manualRenewal_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_manualRenewal_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,755 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,755 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,755 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_renewalDate_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_renewalDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,755 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,756 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_renewal_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_renewal_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,756 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_renewal_reviewPeriod_idx', 'DELETE', 'CREATE INDEX IF NOT EXISTS purchase_order_renewal_reviewPeriod_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'renewal'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,756 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,756 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_manualrenewal_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_manualRenewal_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,759 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_manualRenewal_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_manualRenewal_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'manualRenewal')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,759 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,759 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_renewaldate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_renewalDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,763 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_renewalDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_renewalDate_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'renewalDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,763 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,763 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_ongoing_reviewperiod_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_ongoing_reviewPeriod_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,765 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_ongoing_reviewPeriod_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_ongoing_reviewPeriod_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ' || $rmb$(left(lower(f_unaccent(jsonb->'ongoing'->>'reviewPeriod')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,765 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:35:05,766 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_reason_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_reason_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,767 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_reason_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_reason_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'reason')) )$rmb$); END $do$; 2022-04-10T08:35:05,767 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:35:05,767 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_closereason_note_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_closeReason_note_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,768 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_closeReason_note_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_closeReason_note_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'closeReason'->>'note')) )$rmb$); END $do$; 2022-04-10T08:35:05,768 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:35:05,768 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "purchase_order_acqunitids_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS purchase_order_acqUnitIds_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,768 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'purchase_order', 'purchase_order_acqUnitIds_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS purchase_order_acqUnitIds_idx_ft ON test_finance1649579695604_mod_orders_storage.purchase_order USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'acqUnitIds')) )$rmb$); END $do$; 2022-04-10T08:35:05,768 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,768 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_purchase_order_references" for relation "test_finance1649579695604_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,768 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_purchase_order_references ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,769 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:35:05,769 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_purchase_order_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,769 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_purchase_order_references(); 2022-04-10T08:35:05,769 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,769 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.purchase_order_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,769 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,770 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_trigger ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.purchase_order_set_md(); 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_purchase_order_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,770 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_md_json_trigger ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,770 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:35:05,771 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_purchase_order_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.purchase_order FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_purchase_order_md_json(); 2022-04-10T08:35:05,771 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,771 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_purchase_order_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.purchase_order" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,771 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_purchase_order_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.purchase_order CASCADE; 2022-04-10T08:35:05,771 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:35:05,771 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.purchase_order_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,771 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.purchase_order_set_ol_version() CASCADE; 2022-04-10T08:35:05,771 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE SEQUENCE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:35:05,772 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE SEQUENCE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.po_number MAXVALUE 9999999999999999 START WITH 10000 CACHE 1 NO CYCLE; 2022-04-10T08:35:05,772 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT USAGE ON SEQUENCE test_finance1649579695604_mod_orders_storage.po_number TO test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:05,772 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT USAGE ON SEQUENCE test_finance1649579695604_mod_orders_storage.po_number TO test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:05,772 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:35:05,775 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE UNIQUE INDEX IF NOT EXISTS purchase_order_po_number_unique_idx ON test_finance1649579695604_mod_orders_storage.purchase_order ((jsonb->>'poNumber')); 2022-04-10T08:35:05,775 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,780 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.po_line ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,780 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,780 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_po_line" for relation "test_finance1649579695604_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,780 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_po_line ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,780 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,780 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,780 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,780 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,781 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,781 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,781 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_accessprovider_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_accessProvider_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,785 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_accessProvider_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_accessProvider_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'accessProvider')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,785 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,786 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_activated_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_activated_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,788 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_activated_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_activated_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'activated')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,788 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,789 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_expectedactivation_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_expectedActivation_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,791 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_expectedActivation_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_expectedActivation_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'expectedActivation')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,791 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,792 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_trial_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_trial_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,794 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_trial_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_trial_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'trial')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,794 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,794 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_eresource_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_eresource_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,797 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_eresource_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_eresource_materialType_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'eresource'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,797 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,797 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionfrom_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionFrom_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,800 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionFrom_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionFrom_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionFrom')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,800 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,801 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_subscriptionto_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_subscriptionTo_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,803 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_subscriptionTo_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_subscriptionTo_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'details'->>'subscriptionTo')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,803 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,803 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_location_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_location_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,806 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_location_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_location_locationId_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'location'->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,806 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,806 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_receiptdue_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_receiptDue_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,808 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_receiptDue_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_receiptDue_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'receiptDue')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,808 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,808 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_expectedreceiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_expectedReceiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,811 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_expectedReceiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_expectedReceiptDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'expectedReceiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,811 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,812 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,815 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'volumes')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,815 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,815 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_materialtype_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_materialType_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,818 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_materialType_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_materialType_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'physical'->>'materialType')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,818 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,818 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_grace_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_grace_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,821 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_grace_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_grace_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'grace')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,821 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,821 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_claim_sent_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_claim_sent_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,823 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_claim_sent_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_claim_sent_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'claim'->>'sent')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,823 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,824 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_collection_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_collection_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,827 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_collection_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_collection_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'collection')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,827 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,827 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,829 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptStatus_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,829 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,829 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_paymentstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_paymentStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,832 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_paymentStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_paymentStatus_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'paymentStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,832 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,833 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_orderformat_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_orderFormat_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,835 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_orderFormat_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_orderFormat_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'orderFormat')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,835 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,836 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_receiptdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_receiptDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,839 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_receiptDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_receiptDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'receiptDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,839 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,839 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_metadata_createddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_metadata_createdDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,841 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_metadata_createdDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_metadata_createdDate_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->'metadata'->>'createdDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,841 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,842 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_rush_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_rush_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,844 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_rush_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_rush_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'rush')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,844 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,844 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_source_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_source_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,847 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_source_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_source_idx ON test_finance1649579695604_mod_orders_storage.po_line ' || $rmb$(left(lower(f_unaccent(jsonb->>'source')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,847 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,847 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_funddistribution_code_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_fundDistribution_code_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,848 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_fundDistribution_code_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_fundDistribution_code_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'fundDistribution'->>'code'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,848 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,848 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_details_productids_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_details_productIds_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,849 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_details_productIds_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_details_productIds_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'details'->>'productIds'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,849 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,849 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_title_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_title_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,849 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_title_idx_gin', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_title_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'title'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,849 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,849 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_titleorpackage_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_titleOrPackage_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,850 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_titleOrPackage_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_titleOrPackage_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'titleOrPackage'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,850 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,850 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_vendoraccount_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_vendorAccount_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,851 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_vendorAccount_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_vendorAccount_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'vendorAccount'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,851 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,851 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_tags_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_tags_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,851 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_tags_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_tags_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'tags'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,851 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,852 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_contributors_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_contributors_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,852 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_contributors_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_contributors_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'contributors'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,852 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,852 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_requester_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_requester_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,853 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_requester_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_requester_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'requester'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,853 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,853 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_polinenumber_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_poLineNumber_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,854 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_poLineNumber_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_poLineNumber_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'poLineNumber'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,854 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,854 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,855 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'publisher'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,855 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,855 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,855 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'donor'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,855 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,856 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,856 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'selector'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,856 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,856 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,857 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,857 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,857 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_physical_volumes_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_physical_volumes_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,858 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_physical_volumes_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_physical_volumes_idx_gin ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$((lower(f_unaccent(jsonb->'physical'->>'volumes'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,858 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:35:05,858 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_publisher_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_publisher_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,858 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_publisher_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_publisher_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'publisher')) )$rmb$); END $do$; 2022-04-10T08:35:05,858 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:35:05,858 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_donor_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_donor_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,859 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_donor_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_donor_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'donor')) )$rmb$); END $do$; 2022-04-10T08:35:05,859 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:35:05,859 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_selector_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_selector_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 10 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,859 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_selector_idx_ft', 'DELETE', 'CREATE INDEX IF NOT EXISTS po_line_selector_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'selector')) )$rmb$); END $do$; 2022-04-10T08:35:05,859 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:35:05,859 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "po_line_vendordetail_referencenumbers_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS po_line_vendorDetail_referenceNumbers_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,860 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'po_line', 'po_line_vendorDetail_referenceNumbers_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS po_line_vendorDetail_referenceNumbers_idx_ft ON test_finance1649579695604_mod_orders_storage.po_line USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->'vendorDetail'->>'referenceNumbers')) )$rmb$); END $do$; 2022-04-10T08:35:05,860 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:35:05,860 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.po_line ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:35:05,860 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,862 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE po_line ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,862 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579695604_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS po_line_purchaseOrderId_idx ON test_finance1649579695604_mod_orders_storage.po_line (purchaseOrderId); 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('po_line'); 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_po_line_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,865 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_po_line_references" for relation "test_finance1649579695604_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_po_line_references ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_po_line_references(); 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_po_line_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_po_line_references(); 2022-04-10T08:35:05,865 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,866 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE po_line DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,866 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,866 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.po_line_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,866 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,867 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_trigger ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.po_line_set_md(); 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.po_line_set_md(); 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_po_line_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,867 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_md_json_trigger ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,867 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:35:05,868 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_po_line_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.po_line FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_po_line_md_json(); 2022-04-10T08:35:05,868 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,868 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_po_line_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.po_line" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,868 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_po_line_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.po_line CASCADE; 2022-04-10T08:35:05,868 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:35:05,868 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.po_line_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,868 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.po_line_set_ol_version() CASCADE; 2022-04-10T08:35:05,868 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,874 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.titles ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,874 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,875 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_titles" for relation "test_finance1649579695604_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_titles ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,875 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,875 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:35:05,876 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.titles ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:35:05,876 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,877 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE titles ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,877 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579695604_mod_orders_storage.titles (poLineId); 2022-04-10T08:35:05,879 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS titles_poLineId_idx ON test_finance1649579695604_mod_orders_storage.titles (poLineId); 2022-04-10T08:35:05,879 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:35:05,879 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('titles'); 2022-04-10T08:35:05,879 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,879 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_titles_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,879 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,879 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_titles_references" for relation "test_finance1649579695604_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_titles_references ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_titles_references(); 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_titles_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_titles_references(); 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE titles DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.titles_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,880 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,881 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,881 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_trigger ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,881 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.titles_set_md(); 2022-04-10T08:35:05,881 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.titles_set_md(); 2022-04-10T08:35:05,881 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,881 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_titles_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,881 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,881 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_md_json_trigger ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_titles_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.titles FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_titles_md_json(); 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,882 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_titles_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.titles" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_titles_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.titles CASCADE; 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:35:05,882 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.titles_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.titles_set_ol_version() CASCADE; 2022-04-10T08:35:05,882 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,887 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.pieces ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,887 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,887 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_pieces" for relation "test_finance1649579695604_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,887 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_pieces ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,887 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,887 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,887 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,887 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,888 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,888 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,888 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,888 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,888 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_format_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_format_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,891 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_format_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_format_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'format')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,891 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,891 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_itemid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_itemId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,894 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_itemId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_itemId_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'itemId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,894 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,894 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_locationid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_locationId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,896 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_locationId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_locationId_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'locationId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,896 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,897 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receivingstatus_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivingStatus_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,899 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivingStatus_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivingStatus_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivingStatus')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,899 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,899 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_receiveddate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_receivedDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,902 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_receivedDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_receivedDate_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'receivedDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,902 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,902 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_supplement_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_supplement_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,905 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_supplement_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_supplement_idx ON test_finance1649579695604_mod_orders_storage.pieces ' || $rmb$(left(lower(f_unaccent(jsonb->>'supplement')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,905 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579695604_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,905 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_caption_idx_gin" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_caption_idx_gin" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579695604_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,906 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_caption_idx_gin', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_caption_idx_gin ON test_finance1649579695604_mod_orders_storage.pieces USING GIN ' || $rmb$((lower(f_unaccent(jsonb->>'caption'))) public.gin_trgm_ops)$rmb$ ); END $do$; 2022-04-10T08:35:05,906 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579695604_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:35:05,906 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "pieces_comment_idx_ft" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS pieces_comment_idx_ft" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579695604_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$)" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,907 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'pieces', 'pieces_comment_idx_ft', 'ADD', 'CREATE INDEX IF NOT EXISTS pieces_comment_idx_ft ON test_finance1649579695604_mod_orders_storage.pieces USING GIN ' || $rmb$( get_tsvector(f_unaccent(jsonb->>'comment')) )$rmb$); END $do$; 2022-04-10T08:35:05,907 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:35:05,907 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS poLineId UUID; 2022-04-10T08:35:05,907 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,908 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT poLineId_po_line_fkey FOREIGN KEY (poLineId) REFERENCES po_line; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,908 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579695604_mod_orders_storage.pieces (poLineId); 2022-04-10T08:35:05,910 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_poLineId_idx ON test_finance1649579695604_mod_orders_storage.pieces (poLineId); 2022-04-10T08:35:05,910 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:35:05,910 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:35:05,910 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:35:05,911 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.pieces ADD COLUMN IF NOT EXISTS titleId UUID; 2022-04-10T08:35:05,911 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,911 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE pieces ADD CONSTRAINT titleId_titles_fkey FOREIGN KEY (titleId) REFERENCES titles; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,911 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579695604_mod_orders_storage.pieces (titleId); 2022-04-10T08:35:05,913 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS pieces_titleId_idx ON test_finance1649579695604_mod_orders_storage.pieces (titleId); 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('pieces'); 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_pieces_references() RETURNS TRIGGER AS $$ BEGIN NEW.poLineId = (NEW.jsonb->>'poLineId'); NEW.titleId = (NEW.jsonb->>'titleId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,914 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_pieces_references" for relation "test_finance1649579695604_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_pieces_references ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_pieces_references(); 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_pieces_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_pieces_references(); 2022-04-10T08:35:05,914 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,915 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'poLineId_po_line_fkey' || i; END LOOP; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE pieces DROP CONSTRAINT IF EXISTS ' || 'titleId_titles_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,915 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,915 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.pieces_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,915 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,915 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,915 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_trigger ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,915 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.pieces_set_md(); 2022-04-10T08:35:05,916 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.pieces_set_md(); 2022-04-10T08:35:05,916 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,916 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_pieces_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,916 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,916 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,916 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_md_json_trigger ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,916 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:35:05,917 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_pieces_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.pieces FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_pieces_md_json(); 2022-04-10T08:35:05,917 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,917 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_pieces_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.pieces" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,917 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_pieces_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.pieces CASCADE; 2022-04-10T08:35:05,917 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:35:05,917 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.pieces_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,917 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.pieces_set_ol_version() CASCADE; 2022-04-10T08:35:05,917 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.order_invoice_relationship ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_invoice_relationship" for relation "test_finance1649579695604_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_invoice_relationship ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:05,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,923 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.order_invoice_relationship DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:05,923 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:35:05,924 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_invoice_relationship_purchaseorderid_invoiceid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,926 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_invoice_relationship', 'order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_invoiceId_idx_unique ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship ' || $rmb$(lower(f_unaccent(concat_space_sql(order_invoice_relationship.jsonb->>'purchaseOrderId' , order_invoice_relationship.jsonb->>'invoiceId'))))$rmb$ ); END $do$; 2022-04-10T08:35:05,926 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:35:05,926 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.order_invoice_relationship ADD COLUMN IF NOT EXISTS purchaseOrderId UUID; 2022-04-10T08:35:05,927 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,927 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE order_invoice_relationship ADD CONSTRAINT purchaseOrderId_purchase_order_fkey FOREIGN KEY (purchaseOrderId) REFERENCES purchase_order; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,927 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS order_invoice_relationship_purchaseOrderId_idx ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship (purchaseOrderId); 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('order_invoice_relationship'); 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_order_invoice_relationship_references() RETURNS TRIGGER AS $$ BEGIN NEW.purchaseOrderId = (NEW.jsonb->>'purchaseOrderId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,930 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_invoice_relationship_references" for relation "test_finance1649579695604_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_invoice_relationship_references ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_order_invoice_relationship_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_order_invoice_relationship_references(); 2022-04-10T08:35:05,930 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE order_invoice_relationship DROP CONSTRAINT IF EXISTS ' || 'purchaseOrderId_purchase_order_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:35:05,931 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.order_invoice_relationship_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_invoice_relationship_set_md() CASCADE; 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,931 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_trigger ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:35:05,931 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.set_order_invoice_relationship_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_order_invoice_relationship_md_json() CASCADE; 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,931 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_md_json_trigger ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,931 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,932 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_invoice_relationship_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.order_invoice_relationship" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,932 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_invoice_relationship_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.order_invoice_relationship CASCADE; 2022-04-10T08:35:05,932 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:35:05,932 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.order_invoice_relationship_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,932 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_invoice_relationship_set_ol_version() CASCADE; 2022-04-10T08:35:05,932 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,937 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,937 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,937 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,937 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,937 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,937 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,937 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,937 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,938 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,938 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,938 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisitions_unit ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,938 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,938 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_isdeleted_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_isDeleted_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,941 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_isDeleted_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_isDeleted_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'isDeleted')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,941 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,942 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_protectread_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_protectRead_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,945 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_protectRead_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_protectRead_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(left(lower(f_unaccent(jsonb->>'protectRead')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,945 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:35:05,946 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,949 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit', 'acquisitions_unit_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisitions_unit_name_idx_unique ON test_finance1649579695604_mod_orders_storage.acquisitions_unit ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:35:05,949 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,949 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_references" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,949 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_references ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,949 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:35:05,949 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,949 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_references(); 2022-04-10T08:35:05,949 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,950 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,950 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,950 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,950 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,950 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:35:05,950 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_md(); 2022-04-10T08:35:05,950 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,951 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_md_json_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_md_json(); 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,951 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit CASCADE; 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:35:05,951 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_ol_version() CASCADE; 2022-04-10T08:35:05,951 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:35:05,952 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "acquisitions_unit_assignments" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_assignments CASCADE; 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TABLE IF EXISTS test_finance1649579695604_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:35:05,952 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='table "not_existing_auditing_table" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TABLE IF EXISTS test_finance1649579695604_mod_orders_storage.NOT_EXISTING_AUDITING_TABLE CASCADE; 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:35:05,952 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_assignments_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_assignments_references(); 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:35:05,952 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_assignments_set_ol_version() CASCADE; 2022-04-10T08:35:05,952 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,959 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisitions_unit_membership" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisitions_unit_membership ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,959 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,959 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,960 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:05,960 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,960 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisitions_unit_membership_userid_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisitions_unit_membership_userId_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,963 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisitions_unit_membership', 'acquisitions_unit_membership_userId_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_userId_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ' || $rmb$(left(lower(f_unaccent(jsonb->>'userId')),600))$rmb$ ); END $do$; 2022-04-10T08:35:05,963 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:35:05,963 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership ADD COLUMN IF NOT EXISTS acquisitionsUnitId UUID; 2022-04-10T08:35:05,963 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,964 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ BEGIN BEGIN ALTER TABLE acquisitions_unit_membership ADD CONSTRAINT acquisitionsUnitId_acquisitions_unit_fkey FOREIGN KEY (acquisitionsUnitId) REFERENCES acquisitions_unit; EXCEPTION WHEN duplicate_object OR duplicate_table THEN NULL; END; END $$; 2022-04-10T08:35:05,964 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:35:05,967 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE INDEX IF NOT EXISTS acquisitions_unit_membership_acquisitionsUnitId_idx ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership (acquisitionsUnitId); 2022-04-10T08:35:05,967 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:35:05,967 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO rmb_internal_analyze VALUES ('acquisitions_unit_membership'); 2022-04-10T08:35:05,967 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,967 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_membership_references() RETURNS TRIGGER AS $$ BEGIN NEW.acquisitionsUnitId = (NEW.jsonb->>'acquisitionsUnitId'); RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,968 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisitions_unit_membership_references" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisitions_unit_membership_references ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER update_acquisitions_unit_membership_references BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_membership_references(); 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i INT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM rmb_internal; IF version !~ '^(\d\.|1\d\.|2\d\.|30\.0\.)' THEN RETURN; END IF; FOR i IN 1..50 LOOP EXECUTE 'ALTER TABLE acquisitions_unit_membership DROP CONSTRAINT IF EXISTS ' || 'acquisitionsUnitId_acquisitions_unit_fkey' || i; END LOOP; END $$; 2022-04-10T08:35:05,968 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,969 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_md(); 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_membership_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:05,969 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,970 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_md_json_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_acquisitions_unit_membership_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_membership_md_json(); 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,970 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisitions_unit_membership_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisitions_unit_membership_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership CASCADE; 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:35:05,970 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_ol_version() CASCADE; 2022-04-10T08:35:05,970 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,976 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.order_templates ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,976 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,977 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_order_templates" for relation "test_finance1649579695604_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_order_templates ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,977 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.order_templates FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:05,977 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,977 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.order_templates DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:05,977 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579695604_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:35:05,978 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "order_templates_templatename_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS order_templates_templateName_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579695604_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,980 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:35:05,981 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54216 GET /_/tenant/3ba21712-b044-47e5-adae-45d3a0bc8838 null HTTP_1_1 200 393 1 tid=test_finance1649579695604 OK 2022-04-10T08:35:05,981 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'order_templates', 'order_templates_templateName_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS order_templates_templateName_idx_unique ON test_finance1649579695604_mod_orders_storage.order_templates ' || $rmb$(lower(f_unaccent(jsonb->>'templateName')))$rmb$ ); END $do$; 2022-04-10T08:35:05,981 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,981 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_order_templates_references" for relation "test_finance1649579695604_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,981 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_order_templates_references ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,981 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:35:05,981 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_order_templates_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_order_templates_references(); 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:35:05,982 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.order_templates_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_templates_set_md() CASCADE; 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,982 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_trigger ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:35:05,982 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.set_order_templates_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_order_templates_md_json() CASCADE; 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,982 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_md_json_trigger ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,982 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_order_templates_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.order_templates" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_order_templates_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.order_templates CASCADE; 2022-04-10T08:35:05,982 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:35:05,983 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.order_templates_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,983 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.order_templates_set_ol_version() CASCADE; 2022-04-10T08:35:05,983 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.reasons_for_closure ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,990 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_reasons_for_closure" for relation "test_finance1649579695604_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_reasons_for_closure ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,990 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.reasons_for_closure FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:05,990 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:05,990 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,991 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,991 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.reasons_for_closure DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:05,991 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579695604_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:35:05,991 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "reasons_for_closure_reason_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS reasons_for_closure_reason_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579695604_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,993 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'reasons_for_closure', 'reasons_for_closure_reason_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS reasons_for_closure_reason_idx_unique ON test_finance1649579695604_mod_orders_storage.reasons_for_closure ' || $rmb$(lower(f_unaccent(jsonb->>'reason')))$rmb$ ); END $do$; 2022-04-10T08:35:05,993 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,993 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_reasons_for_closure_references" for relation "test_finance1649579695604_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,993 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_reasons_for_closure_references ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,993 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:35:05,994 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_reasons_for_closure_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_reasons_for_closure_references(); 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:35:05,994 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.reasons_for_closure_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.reasons_for_closure_set_md() CASCADE; 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,994 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_trigger ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:35:05,994 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.set_reasons_for_closure_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_reasons_for_closure_md_json() CASCADE; 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,994 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_md_json_trigger ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,994 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_reasons_for_closure_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.reasons_for_closure" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_reasons_for_closure_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.reasons_for_closure CASCADE; 2022-04-10T08:35:05,994 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:35:05,995 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.reasons_for_closure_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:05,995 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.reasons_for_closure_set_ol_version() CASCADE; 2022-04-10T08:35:05,995 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,001 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.prefixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,001 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,001 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_prefixes" for relation "test_finance1649579695604_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,001 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_prefixes ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,001 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,001 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,001 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,001 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,002 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.prefixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,002 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:06,002 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,002 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,002 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.prefixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:06,002 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579695604_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:35:06,002 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "prefixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS prefixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579695604_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,005 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'prefixes', 'prefixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS prefixes_name_idx_unique ON test_finance1649579695604_mod_orders_storage.prefixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:35:06,005 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_prefixes_references" for relation "test_finance1649579695604_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_prefixes_references ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:35:06,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_prefixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_prefixes_references(); 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:35:06,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.prefixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.prefixes_set_md() CASCADE; 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_trigger ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:35:06,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.set_prefixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_prefixes_md_json() CASCADE; 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,006 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_md_json_trigger ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,006 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,007 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_prefixes_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.prefixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_prefixes_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.prefixes CASCADE; 2022-04-10T08:35:06,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:35:06,007 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.prefixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,007 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.prefixes_set_ol_version() CASCADE; 2022-04-10T08:35:06,007 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.suffixes ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,013 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_suffixes" for relation "test_finance1649579695604_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_suffixes ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,013 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.suffixes FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,013 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:06,014 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,014 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,014 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.suffixes DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:06,014 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579695604_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:35:06,014 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "suffixes_name_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS suffixes_name_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579695604_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,018 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'suffixes', 'suffixes_name_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS suffixes_name_idx_unique ON test_finance1649579695604_mod_orders_storage.suffixes ' || $rmb$(lower(f_unaccent(jsonb->>'name')))$rmb$ ); END $do$; 2022-04-10T08:35:06,018 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_suffixes_references" for relation "test_finance1649579695604_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_suffixes_references ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_suffixes_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_suffixes_references(); 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.suffixes_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.suffixes_set_md() CASCADE; 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_trigger ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.set_suffixes_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_suffixes_md_json() CASCADE; 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_md_json_trigger ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_suffixes_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.suffixes" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_suffixes_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.suffixes CASCADE; 2022-04-10T08:35:06,019 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:35:06,020 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.suffixes_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,020 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.suffixes_set_ol_version() CASCADE; 2022-04-10T08:35:06,020 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,026 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.acquisition_method ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,026 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,026 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_acquisition_method" for relation "test_finance1649579695604_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,026 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_acquisition_method ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,026 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,026 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,026 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,026 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,027 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.acquisition_method FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,027 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:06,027 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "creation_date" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,027 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='column "created_by" of relation "acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='7434', routine='ATExecDropColumn', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,027 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.acquisition_method DROP COLUMN IF EXISTS creation_date CASCADE, DROP COLUMN IF EXISTS created_by CASCADE; 2022-04-10T08:35:06,027 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579695604_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:35:06,027 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "acquisition_method_value_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS acquisition_method_value_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579695604_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'acquisition_method', 'acquisition_method_value_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS acquisition_method_value_idx_unique ON test_finance1649579695604_mod_orders_storage.acquisition_method ' || $rmb$(lower(f_unaccent(jsonb->>'value')))$rmb$ ); END $do$; 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,031 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_acquisition_method_references" for relation "test_finance1649579695604_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_acquisition_method_references ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:35:06,031 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_acquisition_method_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_acquisition_method_references(); 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:35:06,031 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.acquisition_method_set_md() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisition_method_set_md() CASCADE; 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,031 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_trigger ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,031 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:35:06,032 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.set_acquisition_method_md_json() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.set_acquisition_method_md_json() CASCADE; 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,032 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_md_json_trigger ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,032 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_acquisition_method_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.acquisition_method" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_acquisition_method_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.acquisition_method CASCADE; 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:35:06,032 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.acquisition_method_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.acquisition_method_set_ol_version() CASCADE; 2022-04-10T08:35:06,032 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,037 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TABLE IF NOT EXISTS test_finance1649579695604_mod_orders_storage.export_history ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); 2022-04-10T08:35:06,037 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,038 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_injson_export_history" for relation "test_finance1649579695604_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_injson_export_history ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,038 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_id_in_jsonb" for relation "test_finance1649579695604_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_id_in_jsonb ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON test_finance1649579695604_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_id_in_jsonb(); 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} ALTER TABLE test_finance1649579695604_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed ALTER TABLE test_finance1649579695604_mod_orders_storage.export_history ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; 2022-04-10T08:35:06,038 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579695604_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:06,039 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportdate_idx" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportDate_idx" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579695604_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,041 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportDate_idx', 'ADD', 'CREATE INDEX IF NOT EXISTS export_history_exportDate_idx ON test_finance1649579695604_mod_orders_storage.export_history ' || $rmb$(left(lower(f_unaccent(jsonb->>'exportDate')),600))$rmb$ ); END $do$; 2022-04-10T08:35:06,042 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579695604_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:35:06,042 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='index "export_history_exportjobid_idx_unique" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='SQL statement "DROP INDEX IF EXISTS export_history_exportJobId_idx_unique" PL/pgSQL function rmb_internal_index(text,text,text,text) line 23 at EXECUTE SQL statement "SELECT rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579695604_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ )" PL/pgSQL function inline_code_block line 3 at PERFORM', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $do$ BEGIN PERFORM rmb_internal_index( 'export_history', 'export_history_exportJobId_idx_unique', 'ADD', 'CREATE UNIQUE INDEX IF NOT EXISTS export_history_exportJobId_idx_unique ON test_finance1649579695604_mod_orders_storage.export_history ' || $rmb$(lower(f_unaccent(jsonb->>'exportJobId')))$rmb$ ); END $do$; 2022-04-10T08:35:06,045 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,045 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "update_export_history_references" for relation "test_finance1649579695604_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS update_export_history_references ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,045 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_export_history_references(); 2022-04-10T08:35:06,045 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.update_export_history_references() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,045 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.update_export_history_references(); 2022-04-10T08:35:06,045 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.export_history_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,046 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_trigger" for relation "test_finance1649579695604_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_trigger ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.export_history_set_md(); 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_trigger BEFORE INSERT ON test_finance1649579695604_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.export_history_set_md(); 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:06,046 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_export_history_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,047 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_md_json_trigger" for relation "test_finance1649579695604_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_md_json_trigger ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE TRIGGER set_export_history_md_json_trigger BEFORE UPDATE ON test_finance1649579695604_mod_orders_storage.export_history FOR EACH ROW EXECUTE PROCEDURE test_finance1649579695604_mod_orders_storage.set_export_history_md_json(); 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,047 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='trigger "set_export_history_ol_version_trigger" for relation "test_finance1649579695604_mod_orders_storage.export_history" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP TRIGGER IF EXISTS set_export_history_ol_version_trigger ON test_finance1649579695604_mod_orders_storage.export_history CASCADE; 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:35:06,047 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='function test_finance1649579695604_mod_orders_storage.export_history_set_ol_version() does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dropcmds.c', line='491', routine='does_not_exist_skipping', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP FUNCTION IF EXISTS test_finance1649579695604_mod_orders_storage.export_history_set_ol_version() CASCADE; 2022-04-10T08:35:06,047 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE VIEW receiving_history_view AS SELECT pieces.id AS id, json_build_object( 'id', pieces.jsonb ->>'id', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->>'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage') AS jsonb, json_build_object( 'id', pieces.jsonb ->>'id', 'acqUnitIds', purchase_order.jsonb ->>'acqUnitIds', 'caption', pieces.jsonb ->>'caption', 'checkin', po_line.jsonb ->>'checkinItems', 'chronology', pieces.jsonb ->>'chronology', 'comment', pieces.jsonb ->>'comment', 'copyNumber', pieces.jsonb ->>'copyNumber', 'dateOrdered', purchase_order.jsonb ->>'dateOrdered', 'discoverySuppress', pieces.jsonb ->>'discoverySuppress', 'displayOnHolding', pieces.jsonb ->>'displayOnHolding', 'enumeration', pieces.jsonb ->>'enumeration', 'itemId', pieces.jsonb ->>'itemId', 'locationId', pieces.jsonb ->>'locationId', 'pieceFormat', pieces.jsonb ->>'format', 'poLineId', pieces.jsonb ->>'poLineId', 'poLineNumber', po_line.jsonb ->>'poLineNumber', 'purchaseOrderId', po_line.jsonb ->>'purchaseOrderId', 'poLineReceiptStatus', po_line.jsonb ->>'receiptStatus', 'receiptDate', pieces.jsonb ->>'receiptDate', 'receivedDate', pieces.jsonb ->>'receivedDate', 'receivingNote', po_line.jsonb -> 'details' ->> 'receivingNote', 'receivingStatus', pieces.jsonb ->>'receivingStatus', 'supplement', pieces.jsonb ->>'supplement', 'title', po_line.jsonb ->>'titleOrPackage')::jsonb AS metadata FROM pieces LEFT OUTER JOIN po_line ON pieces.jsonb ->>'poLineId' = po_line.jsonb->>'id' LEFT OUTER JOIN purchase_order ON po_line.jsonb->>'purchaseOrderId' = purchase_order.jsonb->>'id'; 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS orders_view; 2022-04-10T08:35:06,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS orders_view; 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:35:06,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "order_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS order_lines_view; 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:35:06,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "purchase_orders_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS purchase_orders_view; 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:35:06,050 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='view "po_lines_view" does not exist, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='tablecmds.c', line='1194', routine='DropErrorMsgNonExistent', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP VIEW IF EXISTS po_lines_view; 2022-04-10T08:35:06,050 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:35:06,051 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(distrib - 'percentage' || jsonb_build_object('value', coalesce(distrib -> 'percentage', distrib -> 'value'), 'distributionType', coalesce(distrib ->> 'distributionType', 'percentage')))) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem -> 'distributionType' IS NULL OR elem -> 'percentage' IS NOT NULL) > 0; 2022-04-10T08:35:06,051 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:35:06,051 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,051 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:35:06,051 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} INSERT INTO test_finance1649579695604_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579695604_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:35:06,052 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed INSERT INTO test_finance1649579695604_mod_orders_storage.titles SELECT public.uuid_generate_v4(), jsonb_strip_nulls(jsonb_build_object('title', po_line.jsonb -> 'title', 'poLineId', po_line.id, 'instanceId', po_line.jsonb-> 'instanceId', 'productIds', po_line.jsonb -> 'details' -> 'productIds', 'contributors', po_line.jsonb -> 'contributors', 'edition', po_line.jsonb -> 'edition', 'publisher', po_line.jsonb -> 'publisher', 'publishedDate', po_line.jsonb -> 'publicationDate', 'subscriptionFrom', po_line.jsonb -> 'details' -> 'subscriptionFrom', 'subscriptionTo', po_line.jsonb -> 'details' -> 'subscriptionTo', 'subscriptionInterval', po_line.jsonb -> 'details' -> 'subscriptionInterval')) FROM test_finance1649579695604_mod_orders_storage.po_line AS po_line WHERE po_line.jsonb ? 'title'; 2022-04-10T08:35:06,052 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:35:06,052 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = jsonb - '{title}'::text[] || jsonb_build_object('titleOrPackage', jsonb->'title', 'isPackage', false) WHERE jsonb ? 'title';-- Rename the "renewal" field to "ongoing" in purchase_order table UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{renewal}' || jsonb_build_object('ongoing', jsonb::json -> 'renewal') WHERE jsonb ? 'renewal'; 2022-04-10T08:35:06,052 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:35:06,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing,cycle}'; 2022-04-10T08:35:06,053 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:35:06,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing,interval}', '365') WHERE jsonb #> '{ongoing, interval}' IS NOT NULL; 2022-04-10T08:35:06,053 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:35:06,053 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, isSubscription}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, isSubscription}' IS NULL); 2022-04-10T08:35:06,053 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:35:06,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb #- '{ongoing}' WHERE jsonb::json ->> 'orderType' = 'One-Time'; 2022-04-10T08:35:06,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579695604_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:35:06,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberSuffix', ( select s.jsonb -> 'name' from test_finance1649579695604_mod_orders_storage.suffixes s where o.jsonb ->> 'poNumber' like '%' || (s.jsonb ->> 'name') limit 1 ))); 2022-04-10T08:35:06,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579695604_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:35:06,054 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order o SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('poNumberPrefix', ( select p.jsonb -> 'name' from test_finance1649579695604_mod_orders_storage.prefixes p where o.jsonb ->> 'poNumber' like (p.jsonb ->> 'name') || '%' limit 1 ))); 2022-04-10T08:35:06,054 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579695604_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:35:06,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.titles as titles SET jsonb = jsonb - 'packageName' || ( SELECT jsonb_strip_nulls(jsonb_build_object('poLineNumber', po_line.jsonb -> 'poLineNumber', 'receivingNote', po_line.jsonb -> 'details' -> 'receivingNote', 'expectedReceiptDate', po_line.jsonb -> 'physical' -> 'expectedReceiptDate', 'packageName', CASE WHEN po_line.jsonb ? 'packagePoLineId' OR (po_line.jsonb->>'isPackage')::boolean THEN po_line.jsonb -> 'titleOrPackage' END)) FROM test_finance1649579695604_mod_orders_storage.po_line as po_line WHERE po_line.id = titles.poLineId ); 2022-04-10T08:35:06,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579695604_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:35:06,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.pieces p SET jsonb = jsonb || jsonb_strip_nulls(jsonb_build_object('titleId', ( select t.jsonb -> 'id' from test_finance1649579695604_mod_orders_storage.titles t where p.jsonb->>'poLineId' = t.jsonb->>'poLineId' limit 1 ))); 2022-04-10T08:35:06,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:35:06,055 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='42710', message='extension "uuid-ossp" already exists, skipping', detail='null', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='extension.c', line='1761', routine='CreateExtension', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:35:06,055 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; 2022-04-10T08:35:06,055 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:35:06,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed CREATE OR REPLACE FUNCTION test_finance1649579695604_mod_orders_storage.set_fund_code_into_pol(_funds_list jsonb) RETURNS VOID as $$ BEGIN UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg(jsonb_set(distrib, '{code}', coalesce((SELECT funds -> 'code' FROM jsonb_array_elements(_funds_list) funds WHERE funds ->> 'id' = distrib ->> 'fundId'), distrib -> 'code', '""')) ) ) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0; END; $$ LANGUAGE plpgsql; 2022-04-10T08:35:06,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:35:06,056 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{reEncumber}', 'true') WHERE NOT jsonb ? 'reEncumber' OR (jsonb ->> 'reEncumber')::text = '' OR NOT (jsonb ->> 'reEncumber')::boolean; 2022-04-10T08:35:06,056 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579695604_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:35:06,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.po_line pol SET jsonb = pol.jsonb || jsonb_strip_nulls(jsonb_build_object('paymentStatus', 'Ongoing', 'receiptStatus', 'Ongoing')) FROM test_finance1649579695604_mod_orders_storage.purchase_order po WHERE pol.purchaseOrderId = po.id AND po.jsonb->>'orderType' = 'Ongoing' AND (po.jsonb->>'workflowStatus' IN ('Open', 'Closed')); 2022-04-10T08:35:06,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:35:06,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = (jsonb || jsonb_set(jsonb, '{vendorDetail, referenceNumbers}', jsonb_build_array(jsonb_strip_nulls(jsonb_build_object( 'refNumber', jsonb->'vendorDetail'->>'refNumber', 'refNumberType', CASE WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s continuation order' OR jsonb->'vendorDetail'->>'refNumberType' = 'Library''s continuation order number' THEN 'Vendor continuation reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Internal vendor number' THEN 'Vendor internal number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Supplier''s unique order line reference number' THEN 'Vendor order reference number' WHEN jsonb->'vendorDetail'->>'refNumberType' = 'Agent''s unique subscription reference number' THEN 'Vendor subscription reference number' ELSE null END, 'vendorDetailsSource', 'OrderLine'))), true)) #- '{vendorDetail, refNumber}' #- '{vendorDetail, refNumberType}' WHERE jsonb ? 'vendorDetail' AND (jsonb->'vendorDetail' ? 'refNumber' OR jsonb->'vendorDetail' ? 'refNumberType');-- Replace colon ":" with hyphen "-" for fund codes in fund distributions UPDATE test_finance1649579695604_mod_orders_storage.po_line SET jsonb = ( SELECT jsonb_set(jsonb, '{fundDistribution}', jsonb_agg( distrib || jsonb_build_object('code', replace(distrib ->> 'code', ':', '-')) )) FROM jsonb_array_elements(jsonb -> 'fundDistribution') distrib ) WHERE jsonb_array_length(jsonb -> 'fundDistribution') > 0 AND (SELECT count(*) FROM jsonb_array_elements(jsonb -> 'fundDistribution') elem WHERE elem ->> 'code' LIKE '%:%') > 0; 2022-04-10T08:35:06,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:35:06,057 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.purchase_order SET jsonb = jsonb_set(jsonb, '{ongoing, manualRenewal}', 'false') WHERE (jsonb ? 'ongoing' AND jsonb #> '{ongoing, manualRenewal}' IS NULL); 2022-04-10T08:35:06,057 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579695604_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:35:06,058 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM test_finance1649579695604_mod_orders_storage.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE 'DROP INDEX IF EXISTS ' || aname; END LOOP; END $$; 2022-04-10T08:35:06,058 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579695604_mod_orders_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_finance1649579695604_mod_orders_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_finance1649579695604_mod_orders_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 $$; 2022-04-10T08:35:06,058 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM test_finance1649579695604_mod_orders_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_finance1649579695604_mod_orders_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_finance1649579695604_mod_orders_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 $$; 2022-04-10T08:35:06,058 INFO [vert.x-eventloop-thread-1] PostgresClient 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 $$; 2022-04-10T08:35:06,060 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DO $$ DECLARE t TEXT; BEGIN FOR t IN SELECT DISTINCT tablename FROM rmb_internal_analyze LOOP EXECUTE 'ANALYZE ' || t; END LOOP; END $$; 2022-04-10T08:35:06,060 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} TRUNCATE rmb_internal_analyze; 2022-04-10T08:35:06,064 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed TRUNCATE rmb_internal_analyze; 2022-04-10T08:35:06,064 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579695604_mod_orders_storage TO test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:06,068 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA test_finance1649579695604_mod_orders_storage TO test_finance1649579695604_mod_orders_storage; 2022-04-10T08:35:06,068 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} UPDATE test_finance1649579695604_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:35:06,074 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed UPDATE test_finance1649579695604_mod_orders_storage.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '33.0.0', 'moduleVersion', 'mod-orders-storage-13.3.0-SNAPSHOT.264', 'schemaJson', $mainftl${ "exactCount" : 40000, "scripts": [ { "run": "after", "snippetPath": "views/receiving_history_view.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS orders_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS order_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS purchase_orders_view;", "fromModuleVersion": "mod-orders-storage-7.0.0" }, { "run": "after", "snippet": "DROP VIEW IF EXISTS po_lines_view;", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/9.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-9.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/po_line_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/10.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-10.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/purchase_order_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/11.0.0/update_title.sql", "fromModuleVersion": "mod-orders-storage-11.0.1" }, { "run": "after", "snippetPath": "data-migration/11.0.0/pieces_table.sql", "fromModuleVersion": "mod-orders-storage-11.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/po_line_sync_fund_code.sql", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/purchase_order_encumber_flag.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/pol_status_for_ongoing_orders.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/reference_number_migration.sql", "fromModuleVersion": "mod-orders-storage-12.0.0" }, { "run": "after", "snippetPath": "data-migration/12.0.0/delete_order_invoices_relation_duplicates.ftl", "fromModuleVersion": "mod-orders-storage-12.1.0" }, { "run": "after", "snippetPath": "data-migration/13.1.0/restriction_for_fund_codes.sql", "fromModuleVersion": "mod-orders-storage-13.1.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_acquisition_method.ftl", "fromModuleVersion": "mod-orders-storage-13.2.0" }, { "run": "after", "snippetPath": "data-migration/13.2.0/update_ongoing_manual_renewal.sql", "fromModuleVersion": "mod-orders-storage-13.2.2" } ], "tables": [ { "tableName": "alert", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "reporting_code", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true }, { "tableName": "purchase_order", "fromModuleVersion": "mod-orders-storage-10.0.0", "withMetadata": true, "customSnippetPath": "purchase_order_table.sql", "index": [ { "fieldName": "acqUnitIds", "caseSensitive": false }, { "fieldName": "assignedTo", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "metadata.createdByUserId", "caseSensitive": false }, { "fieldName": "workflowStatus", "caseSensitive": false }, { "fieldName": "approved", "caseSensitive": false }, { "fieldName": "dateOrdered", "caseSensitive": false }, { "fieldName": "orderType", "caseSensitive": false }, { "fieldName": "reEncumber", "caseSensitive": false }, { "fieldName": "renewal.manualRenewal", "tOps": "DELETE" }, { "fieldName": "renewal.renewalDate", "tOps": "DELETE" }, { "fieldName": "renewal.reviewPeriod", "tOps": "DELETE" }, { "fieldName": "ongoing.manualRenewal", "caseSensitive": false }, { "fieldName": "ongoing.renewalDate", "caseSensitive": false }, { "fieldName": "ongoing.reviewPeriod", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "closeReason.reason" }, { "fieldName": "closeReason.note" }, { "fieldName": "acqUnitIds" } ] }, { "tableName": "po_line", "fromModuleVersion": "mod-orders-storage-12.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "poLine", "targetTableAlias": "purchaseOrder" } ], "index": [ { "fieldName": "eresource.accessProvider", "caseSensitive": false }, { "fieldName": "eresource.activated", "caseSensitive": false }, { "fieldName": "eresource.expectedActivation", "caseSensitive": false }, { "fieldName": "eresource.trial", "caseSensitive": false }, { "fieldName": "eresource.materialType", "caseSensitive": false }, { "fieldName": "details.subscriptionFrom", "caseSensitive": false }, { "fieldName": "details.subscriptionTo", "caseSensitive": false }, { "fieldName": "location.locationId", "caseSensitive": false }, { "fieldName": "physical.receiptDue", "caseSensitive": false }, { "fieldName": "physical.expectedReceiptDate", "caseSensitive": false }, { "fieldName": "physical.volumes", "caseSensitive": false }, { "fieldName": "physical.materialType", "caseSensitive": false }, { "fieldName": "claim.grace", "caseSensitive": false }, { "fieldName": "claim.sent", "caseSensitive": false }, { "fieldName": "collection", "caseSensitive": false }, { "fieldName": "receiptStatus", "caseSensitive": false }, { "fieldName": "paymentStatus", "caseSensitive": false }, { "fieldName": "orderFormat", "caseSensitive": false }, { "fieldName": "receiptDate", "caseSensitive": false }, { "fieldName": "metadata.createdDate", "caseSensitive": false }, { "fieldName": "rush", "caseSensitive": false }, { "fieldName": "source", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "publisher", "tOps": "DELETE" }, { "fieldName": "donor", "tOps": "DELETE" }, { "fieldName": "selector", "tOps": "DELETE" }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] } ], "ginIndex": [ { "fieldName": "fundDistribution.code", "caseSensitive": false, "removeAccents": true }, { "fieldName": "details.productIds", "caseSensitive": false, "removeAccents": true }, { "fieldName": "title", "tOps": "DELETE" }, { "fieldName": "titleOrPackage", "caseSensitive": false, "removeAccents": true, "tOps": "ADD" }, { "fieldName": "vendorDetail.vendorAccount", "caseSensitive": false, "removeAccents": true }, { "fieldName": "tags", "caseSensitive": false, "removeAccents": true }, { "fieldName": "contributors", "caseSensitive": false, "removeAccents": true }, { "fieldName": "requester", "caseSensitive": false, "removeAccents": true }, { "fieldName": "poLineNumber", "caseSensitive": false, "removeAccents": true }, { "fieldName": "publisher", "caseSensitive": false, "removeAccents": true }, { "fieldName": "donor", "caseSensitive": false, "removeAccents": true }, { "fieldName": "selector", "caseSensitive": false, "removeAccents": true }, { "fieldName": "vendorDetail.referenceNumbers", "caseSensitive": false, "removeAccents": true, "arraySubfield": "refNumber", "arrayModifiers": ["refNumberType", "vendorDetailsSource"] }, { "fieldName": "physical.volumes", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "titles", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line", "targetTableAlias": "poLine", "tableAlias": "titles", "tOps": "ADD" }, { "targetPath": ["poLineId", "purchaseOrderId"], "targetTable": "purchase_order", "targetTableAlias": "purchaseOrder", "tableAlias": "titles" } ] }, { "tableName": "pieces", "fromModuleVersion": "mod-orders-storage-11.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "poLineId", "targetTable": "po_line" }, { "fieldName": "titleId", "targetTable": "titles", "targetTableAlias": "titles", "tableAlias": "pieces", "tOps": "ADD" } ], "index": [ { "fieldName": "format", "caseSensitive": false }, { "fieldName": "itemId", "caseSensitive": false }, { "fieldName": "locationId", "caseSensitive": false }, { "fieldName": "receivingStatus", "caseSensitive": false }, { "fieldName": "receivedDate", "caseSensitive": false }, { "fieldName": "supplement", "caseSensitive": false } ], "fullTextIndex": [ { "fieldName": "comment" } ], "ginIndex": [ { "fieldName": "caption", "caseSensitive": false, "removeAccents": true } ] }, { "tableName": "order_invoice_relationship", "fromModuleVersion": "mod-orders-storage-12.1.0", "withMetadata": false, "uniqueIndex": [ { "fieldName": "purchaseOrderId_invoiceId", "multiFieldNames": "purchaseOrderId,invoiceId", "tOps": "ADD" } ], "foreignKeys": [ { "fieldName": "purchaseOrderId", "targetTable": "purchase_order", "tableAlias": "orderInvoiceRel", "targetTableAlias": "purchase_order", "tOps": "ADD" } ] }, { "tableName": "acquisitions_unit", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "uniqueIndex": [ { "fieldName" : "name" } ], "index": [ { "fieldName": "isDeleted", "caseSensitive": false }, { "fieldName": "protectRead", "caseSensitive": false } ] }, { "tableName": "acquisitions_unit_assignments", "fromModuleVersion": "mod-orders-storage-7.0.0", "mode": "delete", "auditingTableName": "NOT_EXISTING_AUDITING_TABLE" }, { "tableName": "acquisitions_unit_membership", "fromModuleVersion": "mod-orders-storage-7.0.0", "withMetadata": true, "foreignKeys": [ { "fieldName": "acquisitionsUnitId", "targetTable": "acquisitions_unit" } ], "index": [ { "fieldName" : "userId" } ] }, { "tableName": "order_templates", "fromModuleVersion": "mod-orders-storage-8.0.0", "withMetadata": false, "uniqueIndex": [ { "fieldName" : "templateName" } ] }, { "tableName": "reasons_for_closure", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "reason" } ] }, { "tableName": "prefixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "suffixes", "fromModuleVersion": "mod-orders-storage-10.0.0", "uniqueIndex": [ { "fieldName" : "name" } ] }, { "tableName": "acquisition_method", "fromModuleVersion": "mod-orders-storage-13.2.0", "uniqueIndex": [ { "fieldName" : "value" } ] }, { "tableName": "export_history", "fromModuleVersion": "mod-orders-storage-13.2.0", "withMetadata": true, "index": [ { "fieldName": "exportDate", "caseSensitive": false } ], "uniqueIndex": [ { "fieldName": "exportJobId", "caseSensitive": false } ] } ] } $mainftl$); 2022-04-10T08:35:06,078 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI postTenant 2022-04-10T08:35:06,083 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,083 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:35:06,083 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579695604 2022-04-10T08:35:06,083 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579695604_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:35:06,088 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/ebe73dd1-fa30-4c36-aad9-6c95ea5207ae null HTTP_1_1 404 9 5 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,089 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,100 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 116 10 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,101 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,106 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/af55e63f-10f9-4919-add9-6feaf7097a6c null HTTP_1_1 404 9 5 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,106 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,114 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 7 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,115 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,120 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/22bddeeb-6cbe-45bd-b73d-7343e28c0626 null HTTP_1_1 404 9 4 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,120 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,124 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 104 3 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,125 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,126 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/b72e8ea6-67b3-4238-9257-5d8e29b95694 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,126 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,128 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 123 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,129 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,129 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/29936d21-93e4-4ab3-9ac4-2d11fa40e942 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,130 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,132 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,132 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,133 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/dcbb7f40-f2ae-4ad3-a367-27bff67ff6e6 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,133 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,135 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 115 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,136 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,136 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/fa4ab110-bf7c-4c1c-9014-fa3f95e1d07c null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,137 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,138 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 100 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,139 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,139 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/71a233f8-edac-4e8e-9600-d55222d64273 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,140 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,141 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 109 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,142 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,142 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/d17f9d15-4520-49ad-9ffa-123e7739ae53 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,143 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,144 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 125 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,145 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,146 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/8ab21f8d-1343-4228-ac5c-2979ba99412b null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,146 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,148 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 112 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,148 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,149 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/7c11e86e-4776-4f4f-9aa4-13e83b4ef44d null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,149 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,152 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 2 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,152 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,153 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/65a75ad7-fbbe-4139-9c69-79fbba805ce9 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,153 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,155 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 114 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,156 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,156 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/71a83ae9-6af0-479e-b579-4904b24a3300 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,157 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,159 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 110 2 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,160 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,161 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/8f11f23a-e101-4861-8df2-152da9ce4889 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,161 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,163 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 102 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,164 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,164 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/cae85c3d-a839-420a-868d-283cedb1fd2f null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,165 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,167 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 97 2 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,168 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,168 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/27d10e3b-66cc-490b-bee6-7c1b2b07394c null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,169 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,170 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 99 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,171 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,172 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/89389f7b-54e9-4b95-b5d0-f89c29b71147 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,172 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,174 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 96 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,174 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageConfigurationReasonsForClosureById 2022-04-10T08:35:06,175 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/configuration/reasons-for-closure/a47051ec-7a4f-499f-9541-a5fc5deb2f41 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,175 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageConfigurationReasonsForClosure 2022-04-10T08:35:06,177 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/configuration/reasons-for-closure null HTTP_1_1 201 121 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,181 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,182 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/da6703b1-81fe-44af-927a-94f24d1ab8ee null HTTP_1_1 404 9 1 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,185 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 350 2 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,186 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,186 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/8a33895e-2c69-4a98-ab48-b7ec1fa852d0 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,187 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,189 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,190 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,190 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/306489dd-0053-49ee-a068-c316444a8f55 null HTTP_1_1 404 9 1 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,191 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,192 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 370 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,193 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,194 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/0a4163a5-d225-4007-ad90-2fb41b73efab null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,194 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,195 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,196 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,197 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/041035ad-b2a4-4aa0-b6a5-234b88bf938c null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,197 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,198 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 377 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,199 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,199 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,200 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,201 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 358 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,202 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,202 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/86d12634-b848-4968-adf0-5a95ce41c41b null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,203 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,204 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 349 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,205 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,205 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/d0d3811c-19f8-4c57-a462-958165cdbbea null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,206 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,207 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 354 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,208 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,208 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/d2420b93-7b93-41b7-8b42-798f64cb6dd2 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,209 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,210 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,211 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,211 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/df26d81b-9d63-4ff8-bf41-49bf75cfa70e null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,212 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,213 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 353 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,213 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,214 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/0c9b09c9-b94f-4702-aa63-a7f43617a225 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,215 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,216 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 362 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,217 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,217 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/5771a8a4-9323-49ee-9002-1b068d71ff42 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,218 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,219 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 355 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,220 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStorageAcquisitionMethodsById 2022-04-10T08:35:06,220 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 PUT /orders-storage/acquisition-methods/aaa541f3-39d2-4887-ab8f-6ba12d08ca52 null HTTP_1_1 404 9 0 tid=test_finance1649579695604 Not Found 2022-04-10T08:35:06,221 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStorageAcquisitionMethods 2022-04-10T08:35:06,222 INFO [vert.x-eventloop-thread-1] LogUtil 172.17.0.1:33190 POST /orders-storage/acquisition-methods null HTTP_1_1 201 378 1 tid=test_finance1649579695604 Created 2022-04-10T08:35:06,222 INFO [vert.x-eventloop-thread-1] TenantAPI job 3ba21712-b044-47e5-adae-45d3a0bc8838 completed 2022-04-10T08:35:06,357 INFO [vert.x-eventloop-thread-1] RestRouting invoking getTenantByOperationId 2022-04-10T08:35:06,358 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54216 GET /_/tenant/3ba21712-b044-47e5-adae-45d3a0bc8838 null HTTP_1_1 200 452 1 tid=test_finance1649579695604 OK 2022-04-10T08:35:06,359 INFO [vert.x-eventloop-thread-1] RestRouting invoking deleteTenantByOperationId 2022-04-10T08:35:06,359 INFO [vert.x-eventloop-thread-1] TenantReferenceAPI deleteTenant 2022-04-10T08:35:06,362 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54216 DELETE /_/tenant/3ba21712-b044-47e5-adae-45d3a0bc8838 null HTTP_1_1 204 0 3 tid=test_finance1649579695604 No Content 2022-04-10T08:36:48,476 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:48,476 INFO [vert.x-eventloop-thread-1] PostgresClient DB config read from environment variables 2022-04-10T08:36:48,476 INFO [vert.x-eventloop-thread-1] PostgresClient Using schema: test_finance1649579695604 2022-04-10T08:36:48,476 INFO [vert.x-eventloop-thread-1] PostgresClient postgreSQLClientConfig = {"maxPoolSize":5,"port":5432,"queryTimeout":60000,"username":"test_finance1649579695604_mod_orders_storage","charset":"UTF-8","host":"10.36.1.28","database":"okapi_modules","password":"...","postgres_tester":false} 2022-04-10T08:36:48,482 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /orders-storage/po-number null HTTP_1_1 200 32 5 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,489 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:36:48,494 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10000 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10000 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10000')) 2022-04-10T08:36:48,500 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10000&limit=1 HTTP_1_1 200 50 11 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,508 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:48,518 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@eeed6940 and associated data were successfully created 2022-04-10T08:36:48,519 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 11 tid=test_finance1649579695604 Created 2022-04-10T08:36:48,526 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:48,531 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /orders-storage/po-line-number purchaseOrderId=d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc HTTP_1_1 200 33 4 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,541 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:48,557 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9192c52 and associated data were successfully created 2022-04-10T08:36:48,557 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 POST /orders-storage/po-lines null HTTP_1_1 201 1261 16 tid=test_finance1649579695604 Created 2022-04-10T08:36:48,569 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:48,570 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(e90e87fc-d288-4dfe-a141-978b602aeaae) >>>WHERE poLineId='e90e87fc-d288-4dfe-a141-978b602aeaae' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:48,576 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28e90e87fc-d288-4dfe-a141-978b602aeaae%29&limit=2147483647 HTTP_1_1 200 42 6 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,644 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:48,645 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:48,649 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 4 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,650 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:48,651 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:48,653 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,706 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:48,707 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(e90e87fc-d288-4dfe-a141-978b602aeaae) >>>WHERE poLineId='e90e87fc-d288-4dfe-a141-978b602aeaae' LIMIT 15 OFFSET 0 2022-04-10T08:36:48,708 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28e90e87fc-d288-4dfe-a141-978b602aeaae%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,710 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:48,711 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==e90e87fc-d288-4dfe-a141-978b602aeaae >>>WHERE poLineId='e90e87fc-d288-4dfe-a141-978b602aeaae' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:48,712 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3De90e87fc-d288-4dfe-a141-978b602aeaae&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,719 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:48,722 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/e90e87fc-d288-4dfe-a141-978b602aeaae null HTTP_1_1 200 1261 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,729 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:48,731 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc null HTTP_1_1 200 527 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,738 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:48 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:48,739 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc >>>WHERE purchaseOrderId='d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:48,740 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd5eddf67-2feb-4f2e-bd38-bfeb48d70ecc&limit=2147483647 HTTP_1_1 200 1389 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:48,748 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:48,752 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:48,811 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:48,815 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@e1aa88a0 was successfully updated 2022-04-10T08:36:48,815 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'e90e87fc-d288-4dfe-a141-978b602aeaae' >>>WHERE poLineId = 'e90e87fc-d288-4dfe-a141-978b602aeaae' 2022-04-10T08:36:48,817 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@e1aa88a0 and associated data were successfully updated 2022-04-10T08:36:48,817 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/e90e87fc-d288-4dfe-a141-978b602aeaae null HTTP_1_1 204 0 6 tid=test_finance1649579695604 No Content 2022-04-10T08:36:48,825 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:48,825 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc 2022-04-10T08:36:48,828 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc successfully updated 2022-04-10T08:36:48,828 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc null HTTP_1_1 204 0 3 tid=test_finance1649579695604 No Content 2022-04-10T08:36:49,355 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:49,356 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,358 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:36:49,361 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10001 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10001 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10001')) 2022-04-10T08:36:49,363 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10001&limit=1 HTTP_1_1 200 50 5 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,365 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:49,368 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@c92e9c0e and associated data were successfully created 2022-04-10T08:36:49,368 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:49,371 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:49,372 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=5f2ba25e-551f-432c-811b-2ae04a390a69 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,374 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:49,378 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@88e42ecc and associated data were successfully created 2022-04-10T08:36:49,378 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1263 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:49,381 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:49,381 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(75d6db44-fd3a-4bf2-afe8-79d6531e279c) >>>WHERE poLineId='75d6db44-fd3a-4bf2-afe8-79d6531e279c' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:49,382 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2875d6db44-fd3a-4bf2-afe8-79d6531e279c%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,413 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:49,414 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:49,414 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:49,415 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:49,416 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,418 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,439 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:49,440 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(75d6db44-fd3a-4bf2-afe8-79d6531e279c) >>>WHERE poLineId='75d6db44-fd3a-4bf2-afe8-79d6531e279c' LIMIT 15 OFFSET 0 2022-04-10T08:36:49,441 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2875d6db44-fd3a-4bf2-afe8-79d6531e279c%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,444 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:49,445 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==75d6db44-fd3a-4bf2-afe8-79d6531e279c >>>WHERE poLineId='75d6db44-fd3a-4bf2-afe8-79d6531e279c' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:49,446 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D75d6db44-fd3a-4bf2-afe8-79d6531e279c&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,448 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:49,449 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/75d6db44-fd3a-4bf2-afe8-79d6531e279c null HTTP_1_1 200 1263 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,452 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:49,453 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/5f2ba25e-551f-432c-811b-2ae04a390a69 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,455 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:49 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:49,456 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==5f2ba25e-551f-432c-811b-2ae04a390a69 >>>WHERE purchaseOrderId='5f2ba25e-551f-432c-811b-2ae04a390a69' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:49,458 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D5f2ba25e-551f-432c-811b-2ae04a390a69&limit=2147483647 HTTP_1_1 200 1391 3 tid=test_finance1649579695604 OK 2022-04-10T08:36:49,461 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:49,464 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:36:49,495 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:49,498 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@21e5d79f was successfully updated 2022-04-10T08:36:49,498 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '75d6db44-fd3a-4bf2-afe8-79d6531e279c' >>>WHERE poLineId = '75d6db44-fd3a-4bf2-afe8-79d6531e279c' 2022-04-10T08:36:49,500 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@21e5d79f and associated data were successfully updated 2022-04-10T08:36:49,500 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/75d6db44-fd3a-4bf2-afe8-79d6531e279c null HTTP_1_1 204 0 5 tid=test_finance1649579695604 No Content 2022-04-10T08:36:49,503 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:49,503 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=5f2ba25e-551f-432c-811b-2ae04a390a69 2022-04-10T08:36:49,505 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=5f2ba25e-551f-432c-811b-2ae04a390a69 successfully updated 2022-04-10T08:36:49,505 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/5f2ba25e-551f-432c-811b-2ae04a390a69 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:36:50,017 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:50,017 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,019 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) 2022-04-10T08:36:50,020 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10002 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10002 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10002')) 2022-04-10T08:36:50,022 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10002&limit=1 HTTP_1_1 200 50 3 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,026 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:50,028 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@fd3ee4c4 and associated data were successfully created 2022-04-10T08:36:50,029 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 679 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:50,031 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:50,033 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=e1e1e44e-79f5-499f-8b59-2d520780ea75 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,035 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:50,038 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@408395c2 and associated data were successfully created 2022-04-10T08:36:50,038 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1261 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:50,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,041 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(8e95c754-d6d0-427f-a0a2-87b6d6a1616c) >>>WHERE poLineId='8e95c754-d6d0-427f-a0a2-87b6d6a1616c' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,042 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%288e95c754-d6d0-427f-a0a2-87b6d6a1616c%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,072 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,073 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,074 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,075 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,076 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 4 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,077 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 3 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,106 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,107 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(8e95c754-d6d0-427f-a0a2-87b6d6a1616c) >>>WHERE poLineId='8e95c754-d6d0-427f-a0a2-87b6d6a1616c' LIMIT 15 OFFSET 0 2022-04-10T08:36:50,109 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%288e95c754-d6d0-427f-a0a2-87b6d6a1616c%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,111 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,112 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==8e95c754-d6d0-427f-a0a2-87b6d6a1616c >>>WHERE poLineId='8e95c754-d6d0-427f-a0a2-87b6d6a1616c' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,113 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D8e95c754-d6d0-427f-a0a2-87b6d6a1616c&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,116 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:50,117 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/8e95c754-d6d0-427f-a0a2-87b6d6a1616c null HTTP_1_1 200 1261 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,121 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:50,122 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/e1e1e44e-79f5-499f-8b59-2d520780ea75 null HTTP_1_1 200 679 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,125 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,125 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==e1e1e44e-79f5-499f-8b59-2d520780ea75 >>>WHERE purchaseOrderId='e1e1e44e-79f5-499f-8b59-2d520780ea75' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,127 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3De1e1e44e-79f5-499f-8b59-2d520780ea75&limit=2147483647 HTTP_1_1 200 1389 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,134 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:50,137 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:36:50,172 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:50,174 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@cf65a7e3 was successfully updated 2022-04-10T08:36:50,174 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '8e95c754-d6d0-427f-a0a2-87b6d6a1616c' >>>WHERE poLineId = '8e95c754-d6d0-427f-a0a2-87b6d6a1616c' 2022-04-10T08:36:50,176 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@cf65a7e3 and associated data were successfully updated 2022-04-10T08:36:50,176 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/8e95c754-d6d0-427f-a0a2-87b6d6a1616c null HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:36:50,180 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:50,180 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=e1e1e44e-79f5-499f-8b59-2d520780ea75 2022-04-10T08:36:50,182 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=e1e1e44e-79f5-499f-8b59-2d520780ea75 successfully updated 2022-04-10T08:36:50,182 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/e1e1e44e-79f5-499f-8b59-2d520780ea75 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:36:50,697 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:50,698 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,700 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) 2022-04-10T08:36:50,701 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10003 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10003 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10003')) 2022-04-10T08:36:50,702 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10003&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,705 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:50,707 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@4d611243 and associated data were successfully created 2022-04-10T08:36:50,707 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 680 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:50,710 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:50,711 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=6941b52f-dbd0-451e-9198-b03eb2848343 HTTP_1_1 200 33 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,714 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:50,717 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@b7f707b9 and associated data were successfully created 2022-04-10T08:36:50,718 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1261 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:50,720 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,720 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(f2be6da1-cc82-455e-878a-6507469fee5d) >>>WHERE poLineId='f2be6da1-cc82-455e-878a-6507469fee5d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,721 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28f2be6da1-cc82-455e-878a-6507469fee5d%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,747 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,747 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,748 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,748 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,749 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,750 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,767 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,768 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(f2be6da1-cc82-455e-878a-6507469fee5d) >>>WHERE poLineId='f2be6da1-cc82-455e-878a-6507469fee5d' LIMIT 15 OFFSET 0 2022-04-10T08:36:50,769 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28f2be6da1-cc82-455e-878a-6507469fee5d%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,771 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,772 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==f2be6da1-cc82-455e-878a-6507469fee5d >>>WHERE poLineId='f2be6da1-cc82-455e-878a-6507469fee5d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,773 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3Df2be6da1-cc82-455e-878a-6507469fee5d&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,774 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:50,776 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/f2be6da1-cc82-455e-878a-6507469fee5d null HTTP_1_1 200 1261 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,778 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:50,779 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6941b52f-dbd0-451e-9198-b03eb2848343 null HTTP_1_1 200 680 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,780 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:50 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:50,780 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6941b52f-dbd0-451e-9198-b03eb2848343 >>>WHERE purchaseOrderId='6941b52f-dbd0-451e-9198-b03eb2848343' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:50,782 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6941b52f-dbd0-451e-9198-b03eb2848343&limit=2147483647 HTTP_1_1 200 1389 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:50,784 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:50,786 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:36:50,811 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:50,812 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@7eb2d7f3 was successfully updated 2022-04-10T08:36:50,813 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'f2be6da1-cc82-455e-878a-6507469fee5d' >>>WHERE poLineId = 'f2be6da1-cc82-455e-878a-6507469fee5d' 2022-04-10T08:36:50,814 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@7eb2d7f3 and associated data were successfully updated 2022-04-10T08:36:50,814 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/f2be6da1-cc82-455e-878a-6507469fee5d null HTTP_1_1 204 0 3 tid=test_finance1649579695604 No Content 2022-04-10T08:36:50,817 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:50,817 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=6941b52f-dbd0-451e-9198-b03eb2848343 2022-04-10T08:36:50,819 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=6941b52f-dbd0-451e-9198-b03eb2848343 successfully updated 2022-04-10T08:36:50,819 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/6941b52f-dbd0-451e-9198-b03eb2848343 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:36:51,327 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:51,328 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,330 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10004 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10004')) Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10004 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10004')) 2022-04-10T08:36:51,331 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10004 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10004')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10004 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10004')) Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10004 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10004')) Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10004 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10004')) 2022-04-10T08:36:51,332 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10004&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,334 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:51,337 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@bb41730e and associated data were successfully created 2022-04-10T08:36:51,337 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 680 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:51,340 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:51,341 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=3f0a4106-881b-42e2-a7b0-181b43fc63d3 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,343 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:51,346 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@e2bd3cc1 and associated data were successfully created 2022-04-10T08:36:51,346 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1380 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:51,348 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:51,349 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(3c9ecc71-f1d3-4081-849a-176bb04e4fee) >>>WHERE poLineId='3c9ecc71-f1d3-4081-849a-176bb04e4fee' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:51,350 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%283c9ecc71-f1d3-4081-849a-176bb04e4fee%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,389 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:51,390 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:51,390 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:51,391 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:51,392 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,393 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,419 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:51,420 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(3c9ecc71-f1d3-4081-849a-176bb04e4fee) >>>WHERE poLineId='3c9ecc71-f1d3-4081-849a-176bb04e4fee' LIMIT 15 OFFSET 0 2022-04-10T08:36:51,421 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%283c9ecc71-f1d3-4081-849a-176bb04e4fee%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:51,424 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==3c9ecc71-f1d3-4081-849a-176bb04e4fee >>>WHERE poLineId='3c9ecc71-f1d3-4081-849a-176bb04e4fee' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:51,425 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D3c9ecc71-f1d3-4081-849a-176bb04e4fee&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,427 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:51,429 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/3c9ecc71-f1d3-4081-849a-176bb04e4fee null HTTP_1_1 200 1380 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,431 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:51,432 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/3f0a4106-881b-42e2-a7b0-181b43fc63d3 null HTTP_1_1 200 680 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,433 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:51 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:51,434 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==3f0a4106-881b-42e2-a7b0-181b43fc63d3 >>>WHERE purchaseOrderId='3f0a4106-881b-42e2-a7b0-181b43fc63d3' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:51,436 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D3f0a4106-881b-42e2-a7b0-181b43fc63d3&limit=2147483647 HTTP_1_1 200 1516 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:51,440 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:51,443 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:36:51,482 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:51,484 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@eb0cc28d was successfully updated 2022-04-10T08:36:51,484 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '3c9ecc71-f1d3-4081-849a-176bb04e4fee' >>>WHERE poLineId = '3c9ecc71-f1d3-4081-849a-176bb04e4fee' 2022-04-10T08:36:51,486 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@eb0cc28d and associated data were successfully updated 2022-04-10T08:36:51,486 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/3c9ecc71-f1d3-4081-849a-176bb04e4fee null HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:36:51,489 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:51,489 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=3f0a4106-881b-42e2-a7b0-181b43fc63d3 2022-04-10T08:36:51,491 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=3f0a4106-881b-42e2-a7b0-181b43fc63d3 successfully updated 2022-04-10T08:36:51,491 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/3f0a4106-881b-42e2-a7b0-181b43fc63d3 null HTTP_1_1 204 0 3 tid=test_finance1649579695604 No Content 2022-04-10T08:36:52,009 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:52,010 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,012 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10005 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10005')) Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10005 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10005')) 2022-04-10T08:36:52,012 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10005 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10005')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10005 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10005')) Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10005 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10005')) Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10005 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10005')) 2022-04-10T08:36:52,014 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10005&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,017 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:52,019 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@b6060666 and associated data were successfully created 2022-04-10T08:36:52,020 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 679 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:52,022 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:52,023 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=86d5bbce-8746-45f1-b15f-edc7f919c0b3 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,025 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:52,029 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@5017b17 and associated data were successfully created 2022-04-10T08:36:52,029 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1380 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:52,032 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:52,032 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4b64c423-63b4-47b8-a6aa-d5ffa664aeed) >>>WHERE poLineId='4b64c423-63b4-47b8-a6aa-d5ffa664aeed' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:52,033 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%284b64c423-63b4-47b8-a6aa-d5ffa664aeed%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,064 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:52,065 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:52,065 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:52,066 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:52,067 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,068 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,089 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:52,090 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(4b64c423-63b4-47b8-a6aa-d5ffa664aeed) >>>WHERE poLineId='4b64c423-63b4-47b8-a6aa-d5ffa664aeed' LIMIT 15 OFFSET 0 2022-04-10T08:36:52,091 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%284b64c423-63b4-47b8-a6aa-d5ffa664aeed%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,093 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:52,094 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==4b64c423-63b4-47b8-a6aa-d5ffa664aeed >>>WHERE poLineId='4b64c423-63b4-47b8-a6aa-d5ffa664aeed' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:52,095 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D4b64c423-63b4-47b8-a6aa-d5ffa664aeed&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,096 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:52,098 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/4b64c423-63b4-47b8-a6aa-d5ffa664aeed null HTTP_1_1 200 1380 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,100 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:52,101 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/86d5bbce-8746-45f1-b15f-edc7f919c0b3 null HTTP_1_1 200 679 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,102 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:52,103 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==86d5bbce-8746-45f1-b15f-edc7f919c0b3 >>>WHERE purchaseOrderId='86d5bbce-8746-45f1-b15f-edc7f919c0b3' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:52,105 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D86d5bbce-8746-45f1-b15f-edc7f919c0b3&limit=2147483647 HTTP_1_1 200 1516 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,114 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:52,117 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:52,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:52,160 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@224539be was successfully updated 2022-04-10T08:36:52,160 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '4b64c423-63b4-47b8-a6aa-d5ffa664aeed' >>>WHERE poLineId = '4b64c423-63b4-47b8-a6aa-d5ffa664aeed' 2022-04-10T08:36:52,162 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@224539be and associated data were successfully updated 2022-04-10T08:36:52,162 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/4b64c423-63b4-47b8-a6aa-d5ffa664aeed null HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:36:52,166 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:52,166 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=86d5bbce-8746-45f1-b15f-edc7f919c0b3 2022-04-10T08:36:52,168 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=86d5bbce-8746-45f1-b15f-edc7f919c0b3 successfully updated 2022-04-10T08:36:52,168 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/86d5bbce-8746-45f1-b15f-edc7f919c0b3 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:36:52,661 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:52,661 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,663 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10006 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10006')) Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10006 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10006')) 2022-04-10T08:36:52,664 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10006 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10006')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10006 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10006')) Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10006 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10006')) Apr 10, 2022 8:36:52 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10006 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10006')) 2022-04-10T08:36:52,665 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10006&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:52,667 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:52,670 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@d76d737 and associated data were successfully created 2022-04-10T08:36:52,670 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:53,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:53,183 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6a7dc545-8bad-4d95-a13d-196a6176db26 >>>WHERE purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26' LIMIT 0 OFFSET 0 2022-04-10T08:36:53,185 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6a7dc545-8bad-4d95-a13d-196a6176db26&limit=0 HTTP_1_1 200 43 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:53,192 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:53,193 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:53,201 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:53,202 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=6a7dc545-8bad-4d95-a13d-196a6176db26 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:53,209 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:53,213 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@d69d226b and associated data were successfully created 2022-04-10T08:36:53,213 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1502 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:53,677 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:53 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:53,678 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6a7dc545-8bad-4d95-a13d-196a6176db26 >>>WHERE purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26' LIMIT 0 OFFSET 0 2022-04-10T08:36:53,679 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6a7dc545-8bad-4d95-a13d-196a6176db26&limit=0 HTTP_1_1 200 43 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:53,681 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:53,681 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:53,683 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:53,684 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=6a7dc545-8bad-4d95-a13d-196a6176db26 HTTP_1_1 200 33 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:53,686 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:53,689 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@896d5f84 and associated data were successfully created 2022-04-10T08:36:53,690 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1504 4 tid=test_finance1649579695604 Created 2022-04-10T08:36:54,175 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:54,176 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,183 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,183 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6a7dc545-8bad-4d95-a13d-196a6176db26 >>>WHERE purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,185 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6a7dc545-8bad-4d95-a13d-196a6176db26&limit=2147483647 HTTP_1_1 200 3252 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,193 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,193 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c or 5fc657f0-8402-4944-8589-bc9d141360cc) >>>WHERE (poLineId='7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c') OR (poLineId='5fc657f0-8402-4944-8589-bc9d141360cc') LIMIT 15 OFFSET 0 2022-04-10T08:36:54,194 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%287c8ada0e-a8f4-42dd-9a09-d6e56b8b388c+or+5fc657f0-8402-4944-8589-bc9d141360cc%29&limit=15 HTTP_1_1 200 601 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,259 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,260 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,260 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,261 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,262 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,263 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,829 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:54,831 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,837 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,838 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6a7dc545-8bad-4d95-a13d-196a6176db26 >>>WHERE purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,840 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6a7dc545-8bad-4d95-a13d-196a6176db26&limit=2147483647 HTTP_1_1 200 3252 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,848 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,848 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c or 5fc657f0-8402-4944-8589-bc9d141360cc) >>>WHERE (poLineId='7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c') OR (poLineId='5fc657f0-8402-4944-8589-bc9d141360cc') LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,850 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%287c8ada0e-a8f4-42dd-9a09-d6e56b8b388c+or+5fc657f0-8402-4944-8589-bc9d141360cc%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,858 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:54,860 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@7182aed5 was successfully updated 2022-04-10T08:36:54,860 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' >>>WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' 2022-04-10T08:36:54,862 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@7182aed5 and associated data were successfully updated 2022-04-10T08:36:54,862 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c lang=en HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:36:54,863 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:54,865 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@739b497e was successfully updated 2022-04-10T08:36:54,865 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' >>>WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' 2022-04-10T08:36:54,866 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@739b497e and associated data were successfully updated 2022-04-10T08:36:54,866 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc lang=en HTTP_1_1 204 0 3 tid=test_finance1649579695604 No Content 2022-04-10T08:36:54,868 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,869 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c or 5fc657f0-8402-4944-8589-bc9d141360cc) >>>WHERE (poLineId='7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c') OR (poLineId='5fc657f0-8402-4944-8589-bc9d141360cc') LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,870 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%287c8ada0e-a8f4-42dd-9a09-d6e56b8b388c+or+5fc657f0-8402-4944-8589-bc9d141360cc%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,921 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,922 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,922 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,923 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,924 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,925 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,960 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,961 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c or 5fc657f0-8402-4944-8589-bc9d141360cc) >>>WHERE (poLineId='7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c') OR (poLineId='5fc657f0-8402-4944-8589-bc9d141360cc') LIMIT 15 OFFSET 0 2022-04-10T08:36:54,962 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%287c8ada0e-a8f4-42dd-9a09-d6e56b8b388c+or+5fc657f0-8402-4944-8589-bc9d141360cc%29&limit=15 HTTP_1_1 200 601 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,964 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,965 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c >>>WHERE poLineId='7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,965 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,966 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==5fc657f0-8402-4944-8589-bc9d141360cc >>>WHERE poLineId='5fc657f0-8402-4944-8589-bc9d141360cc' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,966 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,967 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D5fc657f0-8402-4944-8589-bc9d141360cc&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,972 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:54,974 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c null HTTP_1_1 200 1502 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,976 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:54,976 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,977 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:54,978 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,978 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6a7dc545-8bad-4d95-a13d-196a6176db26 >>>WHERE purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,979 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc null HTTP_1_1 200 1504 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,982 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6a7dc545-8bad-4d95-a13d-196a6176db26&limit=2147483647 HTTP_1_1 200 3252 4 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,983 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:54,983 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,986 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:54 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:54,986 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6a7dc545-8bad-4d95-a13d-196a6176db26 >>>WHERE purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:54,988 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6a7dc545-8bad-4d95-a13d-196a6176db26&limit=2147483647 HTTP_1_1 200 3252 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:54,991 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:54,992 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 1 tid=test_finance1649579695604 Created 2022-04-10T08:36:54,998 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:55,000 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 1 tid=test_finance1649579695604 Created 2022-04-10T08:36:55,104 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:55,105 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:55,107 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@47d6fbae was successfully updated 2022-04-10T08:36:55,107 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' >>>WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' 2022-04-10T08:36:55,109 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@9eb9ff03 was successfully updated 2022-04-10T08:36:55,109 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' >>>WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' 2022-04-10T08:36:55,109 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@47d6fbae and associated data were successfully updated 2022-04-10T08:36:55,109 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c null HTTP_1_1 204 0 5 tid=test_finance1649579695604 No Content 2022-04-10T08:36:55,110 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9eb9ff03 and associated data were successfully updated 2022-04-10T08:36:55,110 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 PUT /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc null HTTP_1_1 204 0 6 tid=test_finance1649579695604 No Content 2022-04-10T08:36:55,119 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:55,119 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=6a7dc545-8bad-4d95-a13d-196a6176db26 2022-04-10T08:36:55,121 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=6a7dc545-8bad-4d95-a13d-196a6176db26 successfully updated 2022-04-10T08:36:55,121 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:36:55,614 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:55,615 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,617 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10007 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10007')) Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10007 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10007')) 2022-04-10T08:36:55,618 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10007 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10007')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10007 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10007')) Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10007 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10007')) Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10007 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10007')) 2022-04-10T08:36:55,619 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10007&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,621 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:55,624 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@6706dce7 and associated data were successfully created 2022-04-10T08:36:55,625 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 679 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:55,627 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:55,628 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,630 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:55,632 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@1eb5da4b and associated data were successfully created 2022-04-10T08:36:55,633 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1474 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:55,635 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:55,635 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(25224bf1-fcfb-4ed6-99f3-62764c2c45a7) >>>WHERE poLineId='25224bf1-fcfb-4ed6-99f3-62764c2c45a7' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:55,636 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2825224bf1-fcfb-4ed6-99f3-62764c2c45a7%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,675 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:55,675 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:55,676 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:55,676 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:55,677 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,678 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,700 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:55,700 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(25224bf1-fcfb-4ed6-99f3-62764c2c45a7) >>>WHERE poLineId='25224bf1-fcfb-4ed6-99f3-62764c2c45a7' LIMIT 15 OFFSET 0 2022-04-10T08:36:55,702 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2825224bf1-fcfb-4ed6-99f3-62764c2c45a7%29&limit=15 HTTP_1_1 200 295 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,703 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:55,704 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==25224bf1-fcfb-4ed6-99f3-62764c2c45a7 >>>WHERE poLineId='25224bf1-fcfb-4ed6-99f3-62764c2c45a7' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:55,705 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D25224bf1-fcfb-4ed6-99f3-62764c2c45a7&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,707 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:36:55,708 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines/25224bf1-fcfb-4ed6-99f3-62764c2c45a7 null HTTP_1_1 200 1474 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,710 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:36:55,711 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders/ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a null HTTP_1_1 200 679 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,712 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:36:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:36:55,713 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a >>>WHERE purchaseOrderId='ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a' LIMIT 2147483647 OFFSET 0 2022-04-10T08:36:55,715 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dad0dcfa5-b248-49f2-9508-c2c8f6f86f7a&limit=2147483647 HTTP_1_1 200 1618 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:55,717 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:36:55,720 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:36:55,770 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:36:55,773 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@b9fb420c was successfully updated 2022-04-10T08:36:55,773 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' >>>WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' 2022-04-10T08:36:55,775 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@b9fb420c and associated data were successfully updated 2022-04-10T08:36:55,775 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/25224bf1-fcfb-4ed6-99f3-62764c2c45a7 null HTTP_1_1 204 0 5 tid=test_finance1649579695604 No Content 2022-04-10T08:36:55,778 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:36:55,779 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a 2022-04-10T08:36:55,781 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a successfully updated 2022-04-10T08:36:55,781 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/purchase-orders/ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:36:57,182 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:36:57,183 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:36:57,184 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:36:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:36:57 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10008 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10008')) Apr 10, 2022 8:36:57 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10008 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10008')) 2022-04-10T08:36:57,185 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10008 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10008')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:36:57 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10008 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10008')) Apr 10, 2022 8:36:57 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10008 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10008')) Apr 10, 2022 8:36:57 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10008 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10008')) 2022-04-10T08:36:57,187 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10008&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:36:57,189 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:36:57,191 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@b12d16fb and associated data were successfully created 2022-04-10T08:36:57,192 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/purchase-orders null HTTP_1_1 201 678 3 tid=test_finance1649579695604 Created 2022-04-10T08:36:57,193 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:36:57,195 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-line-number purchaseOrderId=649f0a62-bacb-423f-b570-3016508746f7 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:36:57,196 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:36:57,199 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9e55cd5b and associated data were successfully created 2022-04-10T08:36:57,199 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 POST /orders-storage/po-lines null HTTP_1_1 201 1321 3 tid=test_finance1649579695604 Created 2022-04-10T08:37:27,946 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:27,947 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:37:27,948 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:27,948 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:37:27,949 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:37:27,950 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:37:27,959 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) 2022-04-10T08:37:27,962 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" or poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" or poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" or poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" or poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" or poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" or poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" or poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" or poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" or poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" or poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (((((((((((purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%'))))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) 2022-04-10T08:37:27,970 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%224b16cca5-9a5b-4593-a77a-cff2f7e3827d%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%226b89d006-10ec-49ff-ac2e-a710f5777e00%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2229fa7d58-0c7b-4e5c-8a76-a9773f29204c%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%223197a5ec-7124-4288-a5b8-a761ca92dea4%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22e889ae3b-c7ea-4544-a6ef-ac104caf73d0%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%220e5809dd-a024-45bf-ae46-73f390328ae6%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2222bc6ce4-ee16-48e8-9273-2e6faed76390%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22452c94a4-5c57-4644-b743-a9f50717d770%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2225224bf1-fcfb-4ed6-99f3-62764c2c45a7%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22bbc9dc9d-de61-47ba-ad7f-f9ace19581aa%5C%22*%22%29&limit=0 HTTP_1_1 200 50 10 tid=test_finance1649579695604 OK 2022-04-10T08:37:27,972 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) 2022-04-10T08:37:27,976 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" or poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" or poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" or poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" or poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" or poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" or poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" or poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" or poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" or poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" or poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (((((((((((purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%'))))) OR (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%'))))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"4b16cca5-9a5b-4593-a77a-cff2f7e3827d\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"4b16cca5-9a5b-4593-a77a-cff2f7e3827d"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"6b89d006-10ec-49ff-ac2e-a710f5777e00\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"6b89d006-10ec-49ff-ac2e-a710f5777e00"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"29fa7d58-0c7b-4e5c-8a76-a9773f29204c\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"29fa7d58-0c7b-4e5c-8a76-a9773f29204c"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"3197a5ec-7124-4288-a5b8-a761ca92dea4\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"3197a5ec-7124-4288-a5b8-a761ca92dea4"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"e889ae3b-c7ea-4544-a6ef-ac104caf73d0\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"e889ae3b-c7ea-4544-a6ef-ac104caf73d0"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"0e5809dd-a024-45bf-ae46-73f390328ae6\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"0e5809dd-a024-45bf-ae46-73f390328ae6"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"22bc6ce4-ee16-48e8-9273-2e6faed76390\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"22bc6ce4-ee16-48e8-9273-2e6faed76390"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"452c94a4-5c57-4644-b743-a9f50717d770\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"452c94a4-5c57-4644-b743-a9f50717d770"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"25224bf1-fcfb-4ed6-99f3-62764c2c45a7\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"25224bf1-fcfb-4ed6-99f3-62764c2c45a7"%')) Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"bbc9dc9d-de61-47ba-ad7f-f9ace19581aa"%')) 2022-04-10T08:37:27,989 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%224b16cca5-9a5b-4593-a77a-cff2f7e3827d%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%226b89d006-10ec-49ff-ac2e-a710f5777e00%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2229fa7d58-0c7b-4e5c-8a76-a9773f29204c%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%223197a5ec-7124-4288-a5b8-a761ca92dea4%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22e889ae3b-c7ea-4544-a6ef-ac104caf73d0%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%220e5809dd-a024-45bf-ae46-73f390328ae6%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2222bc6ce4-ee16-48e8-9273-2e6faed76390%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22452c94a4-5c57-4644-b743-a9f50717d770%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2225224bf1-fcfb-4ed6-99f3-62764c2c45a7%5C%22*%22+or+poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22bbc9dc9d-de61-47ba-ad7f-f9ace19581aa%5C%22*%22%29&limit=200 HTTP_1_1 200 6679 16 tid=test_finance1649579695604 OK 2022-04-10T08:37:27,993 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:37:27 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:27,994 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == 6941b52f-dbd0-451e-9198-b03eb2848343) or (purchaseOrderId == 3f0a4106-881b-42e2-a7b0-181b43fc63d3) or (purchaseOrderId == 86d5bbce-8746-45f1-b15f-edc7f919c0b3) or (purchaseOrderId == d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc) or (purchaseOrderId == 5f2ba25e-551f-432c-811b-2ae04a390a69) or (purchaseOrderId == 6a7dc545-8bad-4d95-a13d-196a6176db26) or (purchaseOrderId == ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a) or (purchaseOrderId == e1e1e44e-79f5-499f-8b59-2d520780ea75) >>>WHERE (((((((purchaseOrderId='6941b52f-dbd0-451e-9198-b03eb2848343') OR (purchaseOrderId='3f0a4106-881b-42e2-a7b0-181b43fc63d3')) OR (purchaseOrderId='86d5bbce-8746-45f1-b15f-edc7f919c0b3')) OR (purchaseOrderId='d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc')) OR (purchaseOrderId='5f2ba25e-551f-432c-811b-2ae04a390a69')) OR (purchaseOrderId='6a7dc545-8bad-4d95-a13d-196a6176db26')) OR (purchaseOrderId='ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a')) OR (purchaseOrderId='e1e1e44e-79f5-499f-8b59-2d520780ea75') LIMIT 2147483647 OFFSET 0 2022-04-10T08:37:27,997 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+6941b52f-dbd0-451e-9198-b03eb2848343%29+or+%28purchaseOrderId+%3D%3D+3f0a4106-881b-42e2-a7b0-181b43fc63d3%29+or+%28purchaseOrderId+%3D%3D+86d5bbce-8746-45f1-b15f-edc7f919c0b3%29+or+%28purchaseOrderId+%3D%3D+d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc%29+or+%28purchaseOrderId+%3D%3D+5f2ba25e-551f-432c-811b-2ae04a390a69%29+or+%28purchaseOrderId+%3D%3D+6a7dc545-8bad-4d95-a13d-196a6176db26%29+or+%28purchaseOrderId+%3D%3D+ad0dcfa5-b248-49f2-9508-c2c8f6f86f7a%29+or+%28purchaseOrderId+%3D%3D+e1e1e44e-79f5-499f-8b59-2d520780ea75%29&limit=2147483647 HTTP_1_1 200 14292 4 tid=test_finance1649579695604 OK 2022-04-10T08:37:28,027 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,028 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,031 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,036 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@9a04c1d1 was successfully updated 2022-04-10T08:37:28,036 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' >>>WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' 2022-04-10T08:37:28,036 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@feb0c771 was successfully updated 2022-04-10T08:37:28,037 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = 'e90e87fc-d288-4dfe-a141-978b602aeaae' >>>WHERE poLineId = 'e90e87fc-d288-4dfe-a141-978b602aeaae' 2022-04-10T08:37:28,037 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,038 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,039 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,040 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,041 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,042 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,043 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:37:28,045 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9a04c1d1 and associated data were successfully updated 2022-04-10T08:37:28,045 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54218 PUT /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c null HTTP_1_1 204 0 19 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,046 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@feb0c771 and associated data were successfully updated 2022-04-10T08:37:28,046 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54220 PUT /orders-storage/po-lines/e90e87fc-d288-4dfe-a141-978b602aeaae null HTTP_1_1 204 0 18 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,047 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@d75211d1 was successfully updated 2022-04-10T08:37:28,047 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '8e95c754-d6d0-427f-a0a2-87b6d6a1616c' >>>WHERE poLineId = '8e95c754-d6d0-427f-a0a2-87b6d6a1616c' 2022-04-10T08:37:28,048 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@f38c2431 was successfully updated 2022-04-10T08:37:28,048 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' >>>WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' 2022-04-10T08:37:28,049 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@7ce6d17d was successfully updated 2022-04-10T08:37:28,049 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' >>>WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' 2022-04-10T08:37:28,050 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@f38c2431 and associated data were successfully updated 2022-04-10T08:37:28,050 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54232 PUT /orders-storage/po-lines/25224bf1-fcfb-4ed6-99f3-62764c2c45a7 null HTTP_1_1 204 0 10 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,051 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@d75211d1 and associated data were successfully updated 2022-04-10T08:37:28,051 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54228 PUT /orders-storage/po-lines/8e95c754-d6d0-427f-a0a2-87b6d6a1616c null HTTP_1_1 204 0 13 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,053 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@7ce6d17d and associated data were successfully updated 2022-04-10T08:37:28,053 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54222 PUT /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc null HTTP_1_1 204 0 22 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,053 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@3b83da3b was successfully updated 2022-04-10T08:37:28,053 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' >>>WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' 2022-04-10T08:37:28,055 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@3b83da3b and associated data were successfully updated 2022-04-10T08:37:28,055 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 PUT /orders-storage/po-lines/25224bf1-fcfb-4ed6-99f3-62764c2c45a7 null HTTP_1_1 204 0 14 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,055 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@d1886c67 was successfully updated 2022-04-10T08:37:28,055 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' >>>WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' 2022-04-10T08:37:28,056 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@3b83da3b was successfully updated 2022-04-10T08:37:28,056 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' >>>WHERE poLineId = '25224bf1-fcfb-4ed6-99f3-62764c2c45a7' 2022-04-10T08:37:28,057 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@d1886c67 and associated data were successfully updated 2022-04-10T08:37:28,057 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 PUT /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c null HTTP_1_1 204 0 15 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,058 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@3b83da3b and associated data were successfully updated 2022-04-10T08:37:28,058 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54236 PUT /orders-storage/po-lines/25224bf1-fcfb-4ed6-99f3-62764c2c45a7 null HTTP_1_1 204 0 17 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,058 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@19802271 was successfully updated 2022-04-10T08:37:28,058 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' >>>WHERE poLineId = '7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' 2022-04-10T08:37:28,059 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@2cb515b9 was successfully updated 2022-04-10T08:37:28,059 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' >>>WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' 2022-04-10T08:37:28,060 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@19802271 and associated data were successfully updated 2022-04-10T08:37:28,060 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c null HTTP_1_1 204 0 17 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,062 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@2cb515b9 and associated data were successfully updated 2022-04-10T08:37:28,062 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54226 PUT /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc null HTTP_1_1 204 0 25 tid=test_finance1649579695604 No Content 2022-04-10T08:37:28,063 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@bca481cd was successfully updated 2022-04-10T08:37:28,063 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' >>>WHERE poLineId = '5fc657f0-8402-4944-8589-bc9d141360cc' 2022-04-10T08:37:28,065 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@bca481cd and associated data were successfully updated 2022-04-10T08:37:28,065 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54230 PUT /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc null HTTP_1_1 204 0 26 tid=test_finance1649579695604 No Content 2022-04-10T08:37:55,791 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:37:55,793 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/8e95c754-d6d0-427f-a0a2-87b6d6a1616c null HTTP_1_1 200 1356 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:55,800 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:37:55,801 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/e1e1e44e-79f5-499f-8b59-2d520780ea75 null HTTP_1_1 200 838 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:55,809 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:37:55 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:55,810 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==8e95c754-d6d0-427f-a0a2-87b6d6a1616c >>>WHERE poLineId='8e95c754-d6d0-427f-a0a2-87b6d6a1616c' LIMIT 1 OFFSET 0 2022-04-10T08:37:55,811 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D8e95c754-d6d0-427f-a0a2-87b6d6a1616c&limit=1 HTTP_1_1 200 321 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:56,718 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:37:56,719 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/e90e87fc-d288-4dfe-a141-978b602aeaae null HTTP_1_1 200 1373 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:56,722 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:37:56,723 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/d5eddf67-2feb-4f2e-bd38-bfeb48d70ecc null HTTP_1_1 200 686 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:56,725 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:37:56 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:56,725 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==e90e87fc-d288-4dfe-a141-978b602aeaae >>>WHERE poLineId='e90e87fc-d288-4dfe-a141-978b602aeaae' LIMIT 1 OFFSET 0 2022-04-10T08:37:56,726 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3De90e87fc-d288-4dfe-a141-978b602aeaae&limit=1 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:37:57,629 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:37:57,631 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c null HTTP_1_1 200 1735 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:57,633 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:37:57,634 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 686 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:57,636 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:37:57 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:57,637 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c >>>WHERE poLineId='7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c' LIMIT 1 OFFSET 0 2022-04-10T08:37:57,638 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D7c8ada0e-a8f4-42dd-9a09-d6e56b8b388c&limit=1 HTTP_1_1 200 321 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:58,534 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:37:58,536 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/5fc657f0-8402-4944-8589-bc9d141360cc null HTTP_1_1 200 1738 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:58,539 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:37:58,539 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/6a7dc545-8bad-4d95-a13d-196a6176db26 null HTTP_1_1 200 686 1 tid=test_finance1649579695604 OK 2022-04-10T08:37:58,542 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:37:58 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:37:58,542 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==5fc657f0-8402-4944-8589-bc9d141360cc >>>WHERE poLineId='5fc657f0-8402-4944-8589-bc9d141360cc' LIMIT 1 OFFSET 0 2022-04-10T08:37:58,544 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D5fc657f0-8402-4944-8589-bc9d141360cc&limit=1 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,421 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:38:08,422 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10009 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10009')) 2022-04-10T08:38:08,424 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10009 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10009')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10009 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10009')) Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10009 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10009')) Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10009 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10009')) Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10009 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10009')) 2022-04-10T08:38:08,425 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10009&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,427 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:38:08,430 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@5c0dda90 and associated data were successfully created 2022-04-10T08:38:08,431 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 3 tid=test_finance1649579695604 Created 2022-04-10T08:38:08,432 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:38:08,434 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-line-number purchaseOrderId=610514b9-80ad-4727-8954-98f95c0f6759 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,435 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:38:08,439 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@6d10e8f and associated data were successfully created 2022-04-10T08:38:08,439 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/po-lines null HTTP_1_1 201 1504 4 tid=test_finance1649579695604 Created 2022-04-10T08:38:08,449 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:08,449 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(9c1a685b-3f79-4a62-adc2-65ddc728a6fd) >>>WHERE poLineId='9c1a685b-3f79-4a62-adc2-65ddc728a6fd' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:08,451 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%289c1a685b-3f79-4a62-adc2-65ddc728a6fd%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,472 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:08,473 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:08,473 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:08,474 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:08,475 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 3 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,476 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,494 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:08,494 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(9c1a685b-3f79-4a62-adc2-65ddc728a6fd) >>>WHERE poLineId='9c1a685b-3f79-4a62-adc2-65ddc728a6fd' LIMIT 15 OFFSET 0 2022-04-10T08:38:08,496 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%289c1a685b-3f79-4a62-adc2-65ddc728a6fd%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,497 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:08,498 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==9c1a685b-3f79-4a62-adc2-65ddc728a6fd >>>WHERE poLineId='9c1a685b-3f79-4a62-adc2-65ddc728a6fd' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:08,499 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D9c1a685b-3f79-4a62-adc2-65ddc728a6fd&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,500 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:38:08,502 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/9c1a685b-3f79-4a62-adc2-65ddc728a6fd null HTTP_1_1 200 1504 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,503 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:38:08,504 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/610514b9-80ad-4727-8954-98f95c0f6759 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,505 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:08 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:08,506 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==610514b9-80ad-4727-8954-98f95c0f6759 >>>WHERE purchaseOrderId='610514b9-80ad-4727-8954-98f95c0f6759' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:08,508 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D610514b9-80ad-4727-8954-98f95c0f6759&limit=2147483647 HTTP_1_1 200 1644 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:08,510 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:38:08,512 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:38:08,545 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:08,547 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@67394ebd was successfully updated 2022-04-10T08:38:08,547 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '9c1a685b-3f79-4a62-adc2-65ddc728a6fd' >>>WHERE poLineId = '9c1a685b-3f79-4a62-adc2-65ddc728a6fd' 2022-04-10T08:38:08,548 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@67394ebd and associated data were successfully updated 2022-04-10T08:38:08,549 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/9c1a685b-3f79-4a62-adc2-65ddc728a6fd null HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:38:08,551 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:38:08,551 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=610514b9-80ad-4727-8954-98f95c0f6759 2022-04-10T08:38:08,553 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=610514b9-80ad-4727-8954-98f95c0f6759 successfully updated 2022-04-10T08:38:08,553 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/purchase-orders/610514b9-80ad-4727-8954-98f95c0f6759 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:38:09,049 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:38:09,050 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,051 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10010 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10010')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10010 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10010')) 2022-04-10T08:38:09,052 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10010 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10010')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10010 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10010')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10010 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10010')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10010 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10010')) 2022-04-10T08:38:09,054 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10010&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,056 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:38:09,059 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@e499eaf3 and associated data were successfully created 2022-04-10T08:38:09,059 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 3 tid=test_finance1649579695604 Created 2022-04-10T08:38:09,061 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:38:09,062 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-line-number purchaseOrderId=e4cbf70a-08b5-415e-8abd-23cfa80be17d HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,064 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:38:09,067 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@e8c4fc0e and associated data were successfully created 2022-04-10T08:38:09,068 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/po-lines null HTTP_1_1 201 1506 4 tid=test_finance1649579695604 Created 2022-04-10T08:38:09,077 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,078 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(45844494-7ece-43da-945b-2052a6502ed3) >>>WHERE poLineId='45844494-7ece-43da-945b-2052a6502ed3' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,079 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%2845844494-7ece-43da-945b-2052a6502ed3%29&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,106 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,106 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,107 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,107 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,108 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 3 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,110 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,129 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,130 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(45844494-7ece-43da-945b-2052a6502ed3) >>>WHERE poLineId='45844494-7ece-43da-945b-2052a6502ed3' LIMIT 15 OFFSET 0 2022-04-10T08:38:09,132 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2845844494-7ece-43da-945b-2052a6502ed3%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,133 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,134 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==45844494-7ece-43da-945b-2052a6502ed3 >>>WHERE poLineId='45844494-7ece-43da-945b-2052a6502ed3' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,135 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D45844494-7ece-43da-945b-2052a6502ed3&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,137 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:38:09,139 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/45844494-7ece-43da-945b-2052a6502ed3 null HTTP_1_1 200 1506 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,141 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:38:09,142 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/e4cbf70a-08b5-415e-8abd-23cfa80be17d null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,143 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,144 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==e4cbf70a-08b5-415e-8abd-23cfa80be17d >>>WHERE purchaseOrderId='e4cbf70a-08b5-415e-8abd-23cfa80be17d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,146 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3De4cbf70a-08b5-415e-8abd-23cfa80be17d&limit=2147483647 HTTP_1_1 200 1646 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,148 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:38:09,151 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:38:09,187 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:09,190 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@ea0d6c0d was successfully updated 2022-04-10T08:38:09,190 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '45844494-7ece-43da-945b-2052a6502ed3' >>>WHERE poLineId = '45844494-7ece-43da-945b-2052a6502ed3' 2022-04-10T08:38:09,192 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@ea0d6c0d and associated data were successfully updated 2022-04-10T08:38:09,192 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/45844494-7ece-43da-945b-2052a6502ed3 null HTTP_1_1 204 0 5 tid=test_finance1649579695604 No Content 2022-04-10T08:38:09,195 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:38:09,196 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=e4cbf70a-08b5-415e-8abd-23cfa80be17d 2022-04-10T08:38:09,197 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=e4cbf70a-08b5-415e-8abd-23cfa80be17d successfully updated 2022-04-10T08:38:09,198 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/purchase-orders/e4cbf70a-08b5-415e-8abd-23cfa80be17d null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:38:09,700 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,701 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,701 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits 2022-04-10T08:38:09,702 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,703 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 3 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,704 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,712 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) 2022-04-10T08:38:09,714 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) 2022-04-10T08:38:09,717 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22a8273383-6a75-4bc3-a424-7c35afa70ad9%5C%22*%22%29&limit=0 HTTP_1_1 200 50 5 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,719 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) 2022-04-10T08:38:09,720 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"a8273383-6a75-4bc3-a424-7c35afa70ad9\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"a8273383-6a75-4bc3-a424-7c35afa70ad9"%')) 2022-04-10T08:38:09,724 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%22a8273383-6a75-4bc3-a424-7c35afa70ad9%5C%22*%22%29&limit=200 HTTP_1_1 200 1501 5 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,726 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:09 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:09,727 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == 610514b9-80ad-4727-8954-98f95c0f6759) or (purchaseOrderId == e4cbf70a-08b5-415e-8abd-23cfa80be17d) >>>WHERE (purchaseOrderId='610514b9-80ad-4727-8954-98f95c0f6759') OR (purchaseOrderId='e4cbf70a-08b5-415e-8abd-23cfa80be17d') LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:09,729 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+610514b9-80ad-4727-8954-98f95c0f6759%29+or+%28purchaseOrderId+%3D%3D+e4cbf70a-08b5-415e-8abd-23cfa80be17d%29&limit=2147483647 HTTP_1_1 200 3532 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:09,745 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:09,746 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:09,746 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:09,747 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:09,749 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@97f43498 was successfully updated 2022-04-10T08:38:09,749 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '9c1a685b-3f79-4a62-adc2-65ddc728a6fd' >>>WHERE poLineId = '9c1a685b-3f79-4a62-adc2-65ddc728a6fd' 2022-04-10T08:38:09,749 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@9b5ab536 was successfully updated 2022-04-10T08:38:09,749 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '45844494-7ece-43da-945b-2052a6502ed3' >>>WHERE poLineId = '45844494-7ece-43da-945b-2052a6502ed3' 2022-04-10T08:38:09,751 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@97f43498 and associated data were successfully updated 2022-04-10T08:38:09,752 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 PUT /orders-storage/po-lines/9c1a685b-3f79-4a62-adc2-65ddc728a6fd null HTTP_1_1 204 0 6 tid=test_finance1649579695604 No Content 2022-04-10T08:38:09,752 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@9b5ab536 and associated data were successfully updated 2022-04-10T08:38:09,752 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54236 PUT /orders-storage/po-lines/45844494-7ece-43da-945b-2052a6502ed3 null HTTP_1_1 204 0 6 tid=test_finance1649579695604 No Content 2022-04-10T08:38:09,752 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@4ffc7e8e was successfully updated 2022-04-10T08:38:09,753 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '9c1a685b-3f79-4a62-adc2-65ddc728a6fd' >>>WHERE poLineId = '9c1a685b-3f79-4a62-adc2-65ddc728a6fd' 2022-04-10T08:38:09,753 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@e3526b40 was successfully updated 2022-04-10T08:38:09,753 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '45844494-7ece-43da-945b-2052a6502ed3' >>>WHERE poLineId = '45844494-7ece-43da-945b-2052a6502ed3' 2022-04-10T08:38:09,755 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@4ffc7e8e and associated data were successfully updated 2022-04-10T08:38:09,755 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/9c1a685b-3f79-4a62-adc2-65ddc728a6fd null HTTP_1_1 204 0 10 tid=test_finance1649579695604 No Content 2022-04-10T08:38:09,756 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@e3526b40 and associated data were successfully updated 2022-04-10T08:38:09,756 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 PUT /orders-storage/po-lines/45844494-7ece-43da-945b-2052a6502ed3 null HTTP_1_1 204 0 9 tid=test_finance1649579695604 No Content 2022-04-10T08:38:19,146 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:38:19,147 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,153 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10011 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10011')) Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10011 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10011')) 2022-04-10T08:38:19,154 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10011 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10011')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10011 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10011')) Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10011 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10011')) Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10011 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10011')) 2022-04-10T08:38:19,156 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10011&limit=1 HTTP_1_1 200 50 3 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,158 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:38:19,162 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@d7ff0f8b and associated data were successfully created 2022-04-10T08:38:19,162 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 4 tid=test_finance1649579695604 Created 2022-04-10T08:38:19,164 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:38:19,166 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-line-number purchaseOrderId=6b0689a6-88e5-4e7e-95db-ccd059b6b324 HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,167 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:38:19,171 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@48d3b0f4 and associated data were successfully created 2022-04-10T08:38:19,171 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/po-lines null HTTP_1_1 201 1504 4 tid=test_finance1649579695604 Created 2022-04-10T08:38:19,180 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,181 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(3b31a496-7dac-4bd8-9153-22aa8234d3f9) >>>WHERE poLineId='3b31a496-7dac-4bd8-9153-22aa8234d3f9' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,182 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%283b31a496-7dac-4bd8-9153-22aa8234d3f9%29&limit=2147483647 HTTP_1_1 200 42 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,205 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,205 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,206 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,206 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,208 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 3 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,208 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,228 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,229 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(3b31a496-7dac-4bd8-9153-22aa8234d3f9) >>>WHERE poLineId='3b31a496-7dac-4bd8-9153-22aa8234d3f9' LIMIT 15 OFFSET 0 2022-04-10T08:38:19,230 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%283b31a496-7dac-4bd8-9153-22aa8234d3f9%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,232 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,233 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==3b31a496-7dac-4bd8-9153-22aa8234d3f9 >>>WHERE poLineId='3b31a496-7dac-4bd8-9153-22aa8234d3f9' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,234 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D3b31a496-7dac-4bd8-9153-22aa8234d3f9&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,235 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:38:19,237 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/3b31a496-7dac-4bd8-9153-22aa8234d3f9 null HTTP_1_1 200 1504 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,238 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:38:19,239 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/6b0689a6-88e5-4e7e-95db-ccd059b6b324 null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,241 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,242 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==6b0689a6-88e5-4e7e-95db-ccd059b6b324 >>>WHERE purchaseOrderId='6b0689a6-88e5-4e7e-95db-ccd059b6b324' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,244 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D6b0689a6-88e5-4e7e-95db-ccd059b6b324&limit=2147483647 HTTP_1_1 200 1644 3 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,246 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:38:19,249 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:38:19,285 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:19,287 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@dd98ac3b was successfully updated 2022-04-10T08:38:19,287 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '3b31a496-7dac-4bd8-9153-22aa8234d3f9' >>>WHERE poLineId = '3b31a496-7dac-4bd8-9153-22aa8234d3f9' 2022-04-10T08:38:19,288 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@dd98ac3b and associated data were successfully updated 2022-04-10T08:38:19,288 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/3b31a496-7dac-4bd8-9153-22aa8234d3f9 null HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:38:19,291 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:38:19,291 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=6b0689a6-88e5-4e7e-95db-ccd059b6b324 2022-04-10T08:38:19,293 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=6b0689a6-88e5-4e7e-95db-ccd059b6b324 successfully updated 2022-04-10T08:38:19,293 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/purchase-orders/6b0689a6-88e5-4e7e-95db-ccd059b6b324 null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:38:19,790 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoNumber 2022-04-10T08:38:19,790 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-number null HTTP_1_1 200 32 0 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,792 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10012 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10012')) Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10012 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10012')) 2022-04-10T08:38:19,793 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poNumber==10012 >>>WHERE lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10012')) LIMIT 1 OFFSET 0 Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10012 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10012')) Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10012 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10012')) Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing LIKE search without index for purchase_order.jsonb->>'poNumber', CQL >>> SQL: poNumber == 10012 >>> lower(f_unaccent(purchase_order.jsonb->>'poNumber')) LIKE lower(f_unaccent('10012')) 2022-04-10T08:38:19,795 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=poNumber%3D%3D10012&limit=1 HTTP_1_1 200 50 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,797 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePurchaseOrders 2022-04-10T08:38:19,800 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Order org.folio.rest.jaxrs.model.PurchaseOrder@e702ac and associated data were successfully created 2022-04-10T08:38:19,801 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/purchase-orders null HTTP_1_1 201 527 4 tid=test_finance1649579695604 Created 2022-04-10T08:38:19,803 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLineNumber 2022-04-10T08:38:19,805 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-line-number purchaseOrderId=31d27536-98f0-4bdb-929d-ce73e9cd320d HTTP_1_1 200 33 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,806 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePoLines 2022-04-10T08:38:19,810 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@ee57c76d and associated data were successfully created 2022-04-10T08:38:19,810 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/po-lines null HTTP_1_1 201 1506 4 tid=test_finance1649579695604 Created 2022-04-10T08:38:19,819 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,820 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(313bf55a-c3ef-4eae-9ad1-e198e1308165) >>>WHERE poLineId='313bf55a-c3ef-4eae-9ad1-e198e1308165' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,821 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D%28313bf55a-c3ef-4eae-9ad1-e198e1308165%29&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,842 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,843 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999991 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999991'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999991')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999991')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,844 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,844 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,845 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999991 HTTP_1_1 200 63 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,846 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,868 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,869 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(313bf55a-c3ef-4eae-9ad1-e198e1308165) >>>WHERE poLineId='313bf55a-c3ef-4eae-9ad1-e198e1308165' LIMIT 15 OFFSET 0 2022-04-10T08:38:19,871 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28313bf55a-c3ef-4eae-9ad1-e198e1308165%29&limit=15 HTTP_1_1 200 321 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,872 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePieces Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,873 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==313bf55a-c3ef-4eae-9ad1-e198e1308165 >>>WHERE poLineId='313bf55a-c3ef-4eae-9ad1-e198e1308165' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,874 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/pieces offset=0&query=poLineId%3D%3D313bf55a-c3ef-4eae-9ad1-e198e1308165&limit=2147483647 HTTP_1_1 200 42 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,876 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLinesById 2022-04-10T08:38:19,877 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines/313bf55a-c3ef-4eae-9ad1-e198e1308165 null HTTP_1_1 200 1506 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,879 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:38:19,880 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/31d27536-98f0-4bdb-929d-ce73e9cd320d null HTTP_1_1 200 527 1 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,881 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:19 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:19,881 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==31d27536-98f0-4bdb-929d-ce73e9cd320d >>>WHERE purchaseOrderId='31d27536-98f0-4bdb-929d-ce73e9cd320d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:19,883 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D31d27536-98f0-4bdb-929d-ce73e9cd320d&limit=2147483647 HTTP_1_1 200 1646 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:19,885 INFO [vert.x-eventloop-thread-1] RestRouting invoking postOrdersStoragePieces 2022-04-10T08:38:19,887 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /orders-storage/pieces null HTTP_1_1 201 249 2 tid=test_finance1649579695604 Created 2022-04-10T08:38:19,923 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:19,925 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@6a205ebe was successfully updated 2022-04-10T08:38:19,925 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '313bf55a-c3ef-4eae-9ad1-e198e1308165' >>>WHERE poLineId = '313bf55a-c3ef-4eae-9ad1-e198e1308165' 2022-04-10T08:38:19,927 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@6a205ebe and associated data were successfully updated 2022-04-10T08:38:19,927 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/313bf55a-c3ef-4eae-9ad1-e198e1308165 null HTTP_1_1 204 0 4 tid=test_finance1649579695604 No Content 2022-04-10T08:38:19,930 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePurchaseOrdersById 2022-04-10T08:38:19,930 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Update purchase order with id=31d27536-98f0-4bdb-929d-ce73e9cd320d 2022-04-10T08:38:19,932 INFO [vert.x-eventloop-thread-1] PurchaseOrdersAPI Purchase order id=31d27536-98f0-4bdb-929d-ce73e9cd320d successfully updated 2022-04-10T08:38:19,932 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/purchase-orders/31d27536-98f0-4bdb-929d-ce73e9cd320d null HTTP_1_1 204 0 2 tid=test_finance1649579695604 No Content 2022-04-10T08:38:20,025 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationSuffixes Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,030 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(suffixes.jsonb->>'name')),600), lower(f_unaccent(suffixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,035 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/configuration/suffixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 168 9 tid=diku OK 2022-04-10T08:38:20,040 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,044 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (cql.allRecords=1) sortby name >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (true) ORDER BY left(lower(f_unaccent(acquisitions_unit.jsonb->>'name')),600), lower(f_unaccent(acquisitions_unit.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,050 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28cql.allRecords%3D1%29+sortby+name&limit=1000 HTTP_1_1 200 401 10 tid=diku OK 2022-04-10T08:38:20,100 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationPrefixes Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,105 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby name >>>WHERE true ORDER BY left(lower(f_unaccent(prefixes.jsonb->>'name')),600), lower(f_unaccent(prefixes.jsonb->>'name')) LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,110 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/configuration/prefixes offset=0&query=cql.allRecords%3D1+sortby+name&limit=1000 HTTP_1_1 200 169 10 tid=diku OK 2022-04-10T08:38:20,116 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,121 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,126 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d HTTP_1_1 200 61 9 tid=diku OK 2022-04-10T08:38:20,210 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,214 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,220 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 10 tid=diku OK 2022-04-10T08:38:20,224 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:38:20,226 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 976 2 tid=diku OK 2022-04-10T08:38:20,239 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,240 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,242 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:38:20,253 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,254 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,256 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:38:20,268 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,269 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,270 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:38:20,283 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,284 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,285 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 1 tid=diku OK 2022-04-10T08:38:20,298 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,299 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,301 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:38:20,313 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,313 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,315 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:38:20,327 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,328 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,329 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:38:20,342 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,342 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,344 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 2 tid=diku OK 2022-04-10T08:38:20,357 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,357 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,367 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&limit=1000 HTTP_1_1 200 2697 10 tid=diku OK 2022-04-10T08:38:20,372 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,372 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 10 OFFSET 0 2022-04-10T08:38:20,376 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&lang=en HTTP_1_1 200 1079 4 tid=diku OK 2022-04-10T08:38:20,387 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,388 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and ((workflowStatus=="Open")) sortby metadata.updatedDate/sort.descending >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END) ORDER BY left(lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')),600) DESC, lower(f_unaccent(purchase_order.jsonb->'metadata'->>'updatedDate')) DESC LIMIT 50 OFFSET 0 2022-04-10T08:38:20,392 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders limit=50&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28%28workflowStatus%3D%3D%22Open%22%29%29+sortby+metadata.updatedDate%2Fsort.descending&lang=en HTTP_1_1 200 2835 4 tid=diku OK 2022-04-10T08:38:20,423 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,424 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,427 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2697 3 tid=diku OK 2022-04-10T08:38:20,447 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,448 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:38:20,450 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 2 tid=diku OK 2022-04-10T08:38:20,466 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,467 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==00000000-1111-5555-9999-999999999992 >>>WHERE CASE WHEN length(lower(f_unaccent('00000000-1111-5555-9999-999999999992'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('00000000-1111-5555-9999-999999999992')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('00000000-1111-5555-9999-999999999992')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,467 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,470 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,471 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D00000000-1111-5555-9999-999999999992 HTTP_1_1 200 63 5 tid=test_finance1649579695604 OK 2022-04-10T08:38:20,473 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 53 5 tid=test_finance1649579695604 OK 2022-04-10T08:38:20,480 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) 2022-04-10T08:38:20,481 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')))) LIMIT 0 OFFSET 0 Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) 2022-04-10T08:38:20,484 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,484 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:38:20,486 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 2 tid=diku OK 2022-04-10T08:38:20,487 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2256689e80-f3a9-4a4d-8dc7-49b18aa91c4b%5C%22*%22%29&limit=0 HTTP_1_1 200 50 6 tid=test_finance1649579695604 OK 2022-04-10T08:38:20,490 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) 2022-04-10T08:38:20,490 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (orderType == Ongoing or orderType == One-Time) and (workflowStatus==Open) and (poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*") >>>WHERE (((CASE WHEN length(lower(f_unaccent('Ongoing'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('Ongoing')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('Ongoing')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('Ongoing')) END) OR (CASE WHEN length(lower(f_unaccent('One-Time'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE lower(f_unaccent('One-Time')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'orderType')),600) LIKE left(lower(f_unaccent('One-Time')),600) AND lower(f_unaccent(purchase_order.jsonb->>'orderType')) LIKE lower(f_unaccent('One-Time')) END)) AND (CASE WHEN length(lower(f_unaccent('Open'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE lower(f_unaccent('Open')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')),600) LIKE left(lower(f_unaccent('Open')),600) AND lower(f_unaccent(purchase_order.jsonb->>'workflowStatus')) LIKE lower(f_unaccent('Open')) END)) AND (purchase_order.id IN ( SELECT purchaseOrderId FROM po_line WHERE lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')))) LIMIT 200 OFFSET 0 Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON queryByLike WARNING: Doing wildcard LIKE search without index for po_line.jsonb->>'fundDistribution', CQL >>> SQL: poLine.fundDistribution == "*\"fundId\":*\"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b\"*" >>> lower(f_unaccent(po_line.jsonb->>'fundDistribution')) LIKE lower(f_unaccent('%"fundId":%"56689e80-f3a9-4a4d-8dc7-49b18aa91c4b"%')) 2022-04-10T08:38:20,496 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/purchase-orders offset=0&query=%28orderType+%3D%3D+Ongoing+or+orderType+%3D%3D+One-Time%29+and++%28workflowStatus%3D%3DOpen%29++and+%28poLine.fundDistribution+%3D%3D+%22*%5C%22fundId%5C%22%3A*%5C%2256689e80-f3a9-4a4d-8dc7-49b18aa91c4b%5C%22*%22%29&limit=200 HTTP_1_1 200 1501 6 tid=test_finance1649579695604 OK 2022-04-10T08:38:20,498 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,498 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrderId == 31d27536-98f0-4bdb-929d-ce73e9cd320d) or (purchaseOrderId == 6b0689a6-88e5-4e7e-95db-ccd059b6b324) >>>WHERE (purchaseOrderId='31d27536-98f0-4bdb-929d-ce73e9cd320d') OR (purchaseOrderId='6b0689a6-88e5-4e7e-95db-ccd059b6b324') LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,500 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=%28purchaseOrderId+%3D%3D+31d27536-98f0-4bdb-929d-ce73e9cd320d%29+or+%28purchaseOrderId+%3D%3D+6b0689a6-88e5-4e7e-95db-ccd059b6b324%29&limit=2147483647 HTTP_1_1 200 3532 2 tid=test_finance1649579695604 OK 2022-04-10T08:38:20,514 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:20,515 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:20,515 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:20,516 INFO [vert.x-eventloop-thread-1] RestRouting invoking putOrdersStoragePoLinesById 2022-04-10T08:38:20,518 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@57102abd was successfully updated 2022-04-10T08:38:20,518 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '3b31a496-7dac-4bd8-9153-22aa8234d3f9' >>>WHERE poLineId = '3b31a496-7dac-4bd8-9153-22aa8234d3f9' 2022-04-10T08:38:20,518 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@b57f6237 was successfully updated 2022-04-10T08:38:20,518 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '313bf55a-c3ef-4eae-9ad1-e198e1308165' >>>WHERE poLineId = '313bf55a-c3ef-4eae-9ad1-e198e1308165' 2022-04-10T08:38:20,520 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@57102abd and associated data were successfully updated 2022-04-10T08:38:20,520 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 PUT /orders-storage/po-lines/3b31a496-7dac-4bd8-9153-22aa8234d3f9 null HTTP_1_1 204 0 5 tid=test_finance1649579695604 No Content 2022-04-10T08:38:20,522 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@b57f6237 and associated data were successfully updated 2022-04-10T08:38:20,522 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 PUT /orders-storage/po-lines/313bf55a-c3ef-4eae-9ad1-e198e1308165 null HTTP_1_1 204 0 6 tid=test_finance1649579695604 No Content 2022-04-10T08:38:20,522 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@f1874b3 was successfully updated 2022-04-10T08:38:20,522 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '3b31a496-7dac-4bd8-9153-22aa8234d3f9' >>>WHERE poLineId = '3b31a496-7dac-4bd8-9153-22aa8234d3f9' 2022-04-10T08:38:20,522 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine record org.folio.rest.jaxrs.model.PoLine@6d87ac2d was successfully updated 2022-04-10T08:38:20,522 INFO [vert.x-eventloop-thread-1] CQLWrapper CRITERION >>> SQL: WHERE poLineId = '313bf55a-c3ef-4eae-9ad1-e198e1308165' >>>WHERE poLineId = '313bf55a-c3ef-4eae-9ad1-e198e1308165' 2022-04-10T08:38:20,525 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@6d87ac2d and associated data were successfully updated 2022-04-10T08:38:20,525 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54236 PUT /orders-storage/po-lines/313bf55a-c3ef-4eae-9ad1-e198e1308165 null HTTP_1_1 204 0 9 tid=test_finance1649579695604 No Content 2022-04-10T08:38:20,525 INFO [vert.x-eventloop-thread-1] PoLinesAPI POLine org.folio.rest.jaxrs.model.PoLine@f1874b3 and associated data were successfully updated 2022-04-10T08:38:20,525 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 PUT /orders-storage/po-lines/3b31a496-7dac-4bd8-9153-22aa8234d3f9 null HTTP_1_1 204 0 11 tid=test_finance1649579695604 No Content 2022-04-10T08:38:20,647 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,647 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,649 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&lang=en HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:38:20,661 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,662 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,664 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&lang=en HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:38:20,760 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,761 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,761 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:20 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:20,762 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:20,763 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:38:20,764 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:38:21,069 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:38:21,071 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 1 tid=diku OK 2022-04-10T08:38:24,164 INFO [vert.x-eventloop-thread-1] RestRouting invoking postTenant 2022-04-10T08:38:24,176 INFO [vert.x-eventloop-thread-1] PostgresClient Executing multiple statements with id 1942081578 2022-04-10T08:38:24,179 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP SCHEMA IF EXISTS test_finance1649579695604_mod_orders_storage CASCADE; 2022-04-10T08:38:24,189 WARN [vert.x-eventloop-thread-1] SocketConnectionBase Backend notice: severity='NOTICE', code='00000', message='drop cascades to 68 other objects', detail='drop cascades to table test_finance1649579695604_mod_orders_storage.rmb_internal drop cascades to table test_finance1649579695604_mod_orders_storage.rmb_job drop cascades to table test_finance1649579695604_mod_orders_storage.rmb_internal_index drop cascades to table test_finance1649579695604_mod_orders_storage.rmb_internal_analyze drop cascades to function test_finance1649579695604_mod_orders_storage.uuid_smaller(uuid,uuid) drop cascades to function test_finance1649579695604_mod_orders_storage.uuid_larger(uuid,uuid) drop cascades to function test_finance1649579695604_mod_orders_storage.next_uuid(uuid) drop cascades to function test_finance1649579695604_mod_orders_storage.max(uuid) drop cascades to function test_finance1649579695604_mod_orders_storage.min(uuid) drop cascades to function test_finance1649579695604_mod_orders_storage.count_estimate_smart2(bigint,bigint,text) drop cascades to function test_finance1649579695604_mod_orders_storage.count_estimate_default(text) drop cascades to function test_finance1649579695604_mod_orders_storage.count_estimate(text) drop cascades to function test_finance1649579695604_mod_orders_storage.upsert(text,uuid,anyelement) drop cascades to function test_finance1649579695604_mod_orders_storage.f_unaccent(text) drop cascades to function test_finance1649579695604_mod_orders_storage.get_tsvector(text) drop cascades to function test_finance1649579695604_mod_orders_storage.tsquery_and(text) drop cascades to function test_finance1649579695604_mod_orders_storage.tsquery_or(text) drop cascades to function test_finance1649579695604_mod_orders_storage.tsquery_phrase(text) drop cascades to function test_finance1649579695604_mod_orders_storage.normalize_digits(text) drop cascades to function test_finance1649579695604_mod_orders_storage.set_id_in_jsonb() drop cascades to function test_finance1649579695604_mod_orders_storage.concat_space_sql(text[]) drop cascades to function test_finance1649579695604_mod_orders_storage.concat_array_object_values(jsonb,text) drop cascades to function test_finance1649579695604_mod_orders_storage.concat_array_object_values(jsonb,text,text,text) drop cascades to function test_finance1649579695604_mod_orders_storage.first_array_object_value(jsonb,text,text,text) drop cascades to function test_finance1649579695604_mod_orders_storage.concat_array_object(jsonb) drop cascades to function test_finance1649579695604_mod_orders_storage.rmb_internal_index(text,text,text,text) drop cascades to table test_finance1649579695604_mod_orders_storage.alert drop cascades to function test_finance1649579695604_mod_orders_storage.alert_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_alert_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.reporting_code drop cascades to function test_finance1649579695604_mod_orders_storage.reporting_code_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_reporting_code_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.purchase_order drop cascades to function test_finance1649579695604_mod_orders_storage.purchase_order_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_purchase_order_md_json() drop cascades to sequence test_finance1649579695604_mod_orders_storage.po_number drop cascades to table test_finance1649579695604_mod_orders_storage.po_line drop cascades to function test_finance1649579695604_mod_orders_storage.update_po_line_references() drop cascades to function test_finance1649579695604_mod_orders_storage.po_line_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_po_line_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.titles drop cascades to function test_finance1649579695604_mod_orders_storage.update_titles_references() drop cascades to function test_finance1649579695604_mod_orders_storage.titles_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_titles_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.pieces drop cascades to function test_finance1649579695604_mod_orders_storage.update_pieces_references() drop cascades to function test_finance1649579695604_mod_orders_storage.pieces_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_pieces_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.order_invoice_relationship drop cascades to function test_finance1649579695604_mod_orders_storage.update_order_invoice_relationship_references() drop cascades to table test_finance1649579695604_mod_orders_storage.acquisitions_unit drop cascades to function test_finance1649579695604_mod_orders_storage.acquisitions_unit_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership drop cascades to function test_finance1649579695604_mod_orders_storage.update_acquisitions_unit_membership_references() drop cascades to function test_finance1649579695604_mod_orders_storage.acquisitions_unit_membership_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_acquisitions_unit_membership_md_json() drop cascades to table test_finance1649579695604_mod_orders_storage.order_templates drop cascades to table test_finance1649579695604_mod_orders_storage.reasons_for_closure drop cascades to table test_finance1649579695604_mod_orders_storage.prefixes drop cascades to table test_finance1649579695604_mod_orders_storage.suffixes drop cascades to table test_finance1649579695604_mod_orders_storage.acquisition_method drop cascades to table test_finance1649579695604_mod_orders_storage.export_history drop cascades to function test_finance1649579695604_mod_orders_storage.export_history_set_md() drop cascades to function test_finance1649579695604_mod_orders_storage.set_export_history_md_json() drop cascades to view test_finance1649579695604_mod_orders_storage.receiving_history_view drop cascades to function test_finance1649579695604_mod_orders_storage.set_fund_code_into_pol(jsonb) drop cascades to sequence test_finance1649579695604_mod_orders_storage."polNumber_649f0a62-bacb-423f-b570-3016508746f7"', hint='null', position='null', internalPosition='null', internalQuery='null', where='null', file='dependency.c', line='1214', routine='reportDependentObjects', schema='null', table='null', column='null', dataType='null', constraint='null' 2022-04-10T08:38:24,202 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP SCHEMA IF EXISTS test_finance1649579695604_mod_orders_storage CASCADE; 2022-04-10T08:38:24,202 INFO [vert.x-eventloop-thread-1] PostgresClient trying to execute: {} DROP ROLE IF EXISTS test_finance1649579695604_mod_orders_storage; 2022-04-10T08:38:24,202 INFO [vert.x-eventloop-thread-1] PostgresClient Successfully executed DROP ROLE IF EXISTS test_finance1649579695604_mod_orders_storage; 2022-04-10T08:38:24,212 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 POST /_/tenant null HTTP_1_1 204 0 48 tid=test_finance1649579695604 No Content 2022-04-10T08:38:39,862 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:38:39,865 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 GET /orders-storage/purchase-orders/d1aa94ab-77f2-410a-a095-6355c7b5b426 null HTTP_1_1 200 686 2 tid=diku OK 2022-04-10T08:38:39,866 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,867 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 1000 OFFSET 0 2022-04-10T08:38:39,868 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,868 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426 >>>WHERE purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426' LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,871 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426 HTTP_1_1 200 61 4 tid=diku OK 2022-04-10T08:38:39,871 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,872 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,872 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,873 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,875 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,875 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,876 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,876 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,878 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426&limit=2147483647 HTTP_1_1 200 2273 9 tid=diku OK 2022-04-10T08:38:39,878 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:38:39,879 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54236 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:38:39,880 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,881 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(c7ac156e-316d-4e20-b87f-6a28420b8133) >>>WHERE poLineId='c7ac156e-316d-4e20-b87f-6a28420b8133' LIMIT 15 OFFSET 0 2022-04-10T08:38:39,882 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 6 tid=diku OK 2022-04-10T08:38:39,882 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 6 tid=diku OK 2022-04-10T08:38:39,882 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,883 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 1000 OFFSET 0 2022-04-10T08:38:39,884 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%28c7ac156e-316d-4e20-b87f-6a28420b8133%29&limit=15 HTTP_1_1 200 380 3 tid=diku OK 2022-04-10T08:38:39,884 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,885 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==d1aa94ab-77f2-410a-a095-6355c7b5b426) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='d1aa94ab-77f2-410a-a095-6355c7b5b426') LIMIT 10 OFFSET 0 2022-04-10T08:38:39,889 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&lang=en HTTP_1_1 200 775 4 tid=diku OK 2022-04-10T08:38:39,891 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3Dd1aa94ab-77f2-410a-a095-6355c7b5b426%29&limit=1000 HTTP_1_1 200 2273 9 tid=diku OK 2022-04-10T08:38:39,923 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,924 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,924 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:38:39 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:38:39,925 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:38:39,926 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:38:39,928 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:10,079 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:39:10,080 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 976 1 tid=diku OK 2022-04-10T08:39:10,081 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderInvoiceRelns Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,082 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 1000 OFFSET 0 2022-04-10T08:39:10,082 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,083 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,084 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/order-invoice-relns limit=1000&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d HTTP_1_1 200 61 3 tid=diku OK 2022-04-10T08:39:10,085 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2697 3 tid=diku OK 2022-04-10T08:39:10,089 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,089 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:39:10,090 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,091 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,092 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 2 tid=diku OK 2022-04-10T08:39:10,092 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,092 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,093 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,093 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,094 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,094 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,095 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:39:10,095 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK 2022-04-10T08:39:10,096 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:10,097 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54238 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:10,097 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageConfigurationReasonsForClosure Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,098 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: cql.allRecords=1 sortby reason >>>WHERE true ORDER BY left(lower(f_unaccent(reasons_for_closure.jsonb->>'reason')),600), lower(f_unaccent(reasons_for_closure.jsonb->>'reason')) LIMIT 1000 OFFSET 0 2022-04-10T08:39:10,099 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,100 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 1000 OFFSET 0 2022-04-10T08:39:10,100 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrders Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,101 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not acqUnitIds <> [])) and (id==0fcf7614-0638-475a-baf3-d787e22cea9d) >>>WHERE ((get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041'))) OR ((true) AND ( (CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END) IS NOT TRUE))) AND (id='0fcf7614-0638-475a-baf3-d787e22cea9d') LIMIT 10 OFFSET 0 2022-04-10T08:39:10,102 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/configuration/reasons-for-closure offset=0&query=cql.allRecords%3D1+sortby+reason&limit=1000 HTTP_1_1 200 2314 4 tid=diku OK 2022-04-10T08:39:10,103 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,104 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,104 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,105 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,106 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&limit=1000 HTTP_1_1 200 2697 7 tid=diku OK 2022-04-10T08:39:10,107 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:39:10,111 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54242 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 7 tid=diku OK 2022-04-10T08:39:10,113 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 GET /orders-storage/purchase-orders limit=10&offset=0&query=%28acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d%29&lang=en HTTP_1_1 200 1079 13 tid=diku OK 2022-04-10T08:39:10,152 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,153 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,153 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:10 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:10,154 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:10,156 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:39:10,156 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:10,568 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:39:10,569 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 1 tid=diku OK 2022-04-10T08:39:14,758 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,759 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,759 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,760 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,762 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 4 tid=diku OK 2022-04-10T08:39:14,763 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:14,763 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,764 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,764 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,765 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,765 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,766 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (purchaseOrder.acqUnitIds=(0ebb1f7d-983f-3026-8a4c-5318e0ebc041) or (cql.allRecords=1 not purchaseOrder.acqUnitIds <> [])) and (id==14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE ((po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE get_tsvector(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) @@ tsquery_phrase(f_unaccent('0ebb1f7d-983f-3026-8a4c-5318e0ebc041')))) OR ((true) AND ( (po_line.purchaseOrderId IN ( SELECT id FROM purchase_order WHERE CASE WHEN length(lower(f_unaccent('[]'))) <= 600 THEN left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE lower(f_unaccent('[]')) ELSE left(lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')),600) NOT LIKE left(lower(f_unaccent('[]')),600) OR lower(f_unaccent(purchase_order.jsonb->>'acqUnitIds')) NOT LIKE lower(f_unaccent('[]')) END)) IS NOT TRUE))) AND (id='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47') LIMIT 10 OFFSET 0 2022-04-10T08:39:14,767 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:39:14,768 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:14,775 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54234 GET /orders-storage/po-lines offset=0&query=%28purchaseOrder.acqUnitIds%3D%280ebb1f7d-983f-3026-8a4c-5318e0ebc041%29+or+%28cql.allRecords%3D1+not+purchaseOrder.acqUnitIds+%3C%3E+%5B%5D%29%29+and+%28id%3D%3D14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=10 HTTP_1_1 200 2697 9 tid=diku OK 2022-04-10T08:39:14,793 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePurchaseOrdersById 2022-04-10T08:39:14,794 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/purchase-orders/0fcf7614-0638-475a-baf3-d787e22cea9d null HTTP_1_1 200 976 1 tid=diku OK 2022-04-10T08:39:14,796 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStoragePoLines Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,797 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: purchaseOrderId==0fcf7614-0638-475a-baf3-d787e22cea9d >>>WHERE purchaseOrderId='0fcf7614-0638-475a-baf3-d787e22cea9d' LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,800 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/po-lines offset=0&query=purchaseOrderId%3D%3D0fcf7614-0638-475a-baf3-d787e22cea9d&limit=2147483647 HTTP_1_1 200 2697 4 tid=diku OK 2022-04-10T08:39:14,803 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,804 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId==(14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47) >>>WHERE poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47' LIMIT 15 OFFSET 0 2022-04-10T08:39:14,805 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/titles offset=0&query=poLineId%3D%3D%2814bb9eee-42a7-4b06-aa5c-3fc6dff9ce47%29&limit=15 HTTP_1_1 200 911 2 tid=diku OK 2022-04-10T08:39:14,842 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,843 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,843 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:14 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:14,844 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:14,845 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:39:14,846 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 2 tid=diku OK 2022-04-10T08:39:15,102 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:15,102 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:15,103 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:15,103 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:15,104 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships limit=2147483647&offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd HTTP_1_1 200 63 3 tid=diku OK 2022-04-10T08:39:15,106 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54244 GET /acquisitions-units-storage/units limit=2147483647&offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:15,209 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageOrderTemplatesById 2022-04-10T08:39:15,210 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/order-templates/4dee318b-f5b3-40dc-be93-cc89b8c45b6f null HTTP_1_1 200 1067 1 tid=diku OK 2022-04-10T08:39:15,248 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageAcquisitionMethodsById 2022-04-10T08:39:15,249 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/acquisition-methods/796596c4-62b5-4b64-a2ce-524c747afaa2 null HTTP_1_1 200 230 1 tid=diku OK 2022-04-10T08:39:15,278 INFO [vert.x-eventloop-thread-1] RestRouting invoking getOrdersStorageTitles Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:39:15,279 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: poLineId=14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47 and instanceId="" sortby title >>>WHERE (poLineId='14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47') AND (titles.jsonb->>'instanceId' ~ '') ORDER BY left(lower(f_unaccent(titles.jsonb->>'title')),600), lower(f_unaccent(titles.jsonb->>'title')) LIMIT 1000 OFFSET 0 Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON queryByFt WARNING: Doing FT search without index for titles.jsonb->>'instanceId', CQL >>> SQL: instanceId = "" >>> titles.jsonb->>'instanceId' ~ '' 2022-04-10T08:39:15,282 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /orders-storage/titles offset=0&query=poLineId%3D14bb9eee-42a7-4b06-aa5c-3fc6dff9ce47+and+instanceId%3D%22%22+sortby+title&limit=1000 HTTP_1_1 200 911 3 tid=diku OK 2022-04-10T08:39:15,310 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageUnits Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:15,311 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: (isDeleted==false) and (protectRead==false) >>>WHERE (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'isDeleted')) LIKE lower(f_unaccent('false')) END) AND (CASE WHEN length(lower(f_unaccent('false'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE lower(f_unaccent('false')) ELSE left(lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')),600) LIKE left(lower(f_unaccent('false')),600) AND lower(f_unaccent(acquisitions_unit.jsonb->>'protectRead')) LIKE lower(f_unaccent('false')) END) LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:15,313 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/units offset=0&query=%28isDeleted%3D%3Dfalse%29+and+%28protectRead%3D%3Dfalse%29&limit=2147483647 HTTP_1_1 200 401 3 tid=diku OK 2022-04-10T08:39:15,338 INFO [vert.x-eventloop-thread-1] RestRouting invoking getAcquisitionsUnitsStorageMemberships Apr 10, 2022 8:39:15 AM org.folio.cql2pgjson.CQL2PgJSON loadDbSchema INFO: loadDbSchema: Loaded templates/db_scripts/schema.json OK 2022-04-10T08:39:15,339 INFO [vert.x-eventloop-thread-1] CQLWrapper CQL >>> SQL: userId==539a0c25-f50a-595e-8cd6-3b7ff127c2dd >>>WHERE CASE WHEN length(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd'))) <= 600 THEN left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) ELSE left(lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')),600) LIKE left(lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')),600) AND lower(f_unaccent(acquisitions_unit_membership.jsonb->>'userId')) LIKE lower(f_unaccent('539a0c25-f50a-595e-8cd6-3b7ff127c2dd')) END LIMIT 2147483647 OFFSET 0 2022-04-10T08:39:15,340 INFO [vert.x-eventloop-thread-1] LogUtil 10.36.1.28:54246 GET /acquisitions-units-storage/memberships offset=0&query=userId%3D%3D539a0c25-f50a-595e-8cd6-3b7ff127c2dd&limit=2147483647 HTTP_1_1 200 63 2 tid=diku OK