Advertisement
fedorm

Untitled

May 28th, 2019
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 194.98 KB | None | 0 0
  1. Listening for transport dt_socket at address: 8787
  2.  
  3.   .   ____          _            __ _ _
  4.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  5. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  6.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  7.   '  |____| .__|_| |_|_| |_\__, | / / / /
  8.  =========|_|==============|___/=/_/_/_/
  9.  :: Spring Boot ::        (v2.1.3.RELEASE)
  10.  
  11. 28.05 12:42:24.565 INFO [SpringApplication:679] - The following profiles are active: dev
  12. 28.05 12:42:25.795 INFO [GenericScope:295] - BeanFactory id=1ffe271a-3124-37e2-9d1f-96e6265922be
  13. 28.05 12:42:27.030 INFO [HikariDataSource:110] - DbPool-1559036546417 - Starting...
  14. 28.05 12:42:27.164 INFO [HikariDataSource:123] - DbPool-1559036546417 - Start completed.
  15. 28.05 12:42:27.189 INFO [DatabaseConfiguration:75] - Database "segments" has the following exportable http functions:
  16. segments.http_get_get_client_segments
  17. segments.http_get_get_segment
  18. segments.http_get_get_segment_clients
  19. segments.http_get_get_segments_by_filter
  20. utils.http_get_get_status_by_task
  21. segments.http_post_add_client_to_segment
  22. segments.http_post_archive_segment
  23. segments.http_post_count_clients_in_segments
  24. segments.http_post_create_segment
  25. segments.http_post_remove_client_from_segment
  26. utils.http_upload_post_upload_import_clients_to_specific_segment
  27. utils.http_upload_post_upload_import_segments
  28. utils.http_upload_post_upload_remove_clients
  29. utils.http_upload_post_upload_remove_clients_from_specific_segment
  30. utils.http_upload_pre_upload_import_clients_to_specific_segment
  31. utils.http_upload_pre_upload_import_segments
  32. utils.http_upload_pre_upload_remove_clients
  33. utils.http_upload_pre_upload_remove_clients_from_specific_segment
  34. 28.05 12:42:27.310 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  35. 28.05 12:42:27.311 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  36. 28.05 12:42:27.324 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  37. 28.05 12:42:27.325 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  38. 28.05 12:42:28.110 INFO [EndpointLinksResolver:59] - Exposing 2 endpoint(s) beneath base path '/actuator'
  39. 28.05 12:42:28.886 WARN [CoreAutoConfiguration:37] - This module is deprecated. It will be removed in the next major release. Please use spring-cloud-netflix-hystrix instead.
  40. 28.05 12:42:29.125 INFO [NettyWebServer:77] - Netty started on port(s): 8080
  41. 28.05 12:42:29.128 INFO [StartupInfoLogger:59] - Started DBApiApplication in 5.735 seconds (JVM running for 6.524)
  42. 28.05 12:43:30.247 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  43. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  44.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  45.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  46.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  47.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  48.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  49.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  50.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  51.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  52.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  53.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  54.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  55.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  56.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  57.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  58.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  59.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  60.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  61.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  62.     at java.lang.Thread.run(Thread.java:748)
  63. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  64.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  65.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  66.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  67.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  68.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  69.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  70.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  71.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  72.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  73.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  74.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  75.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  76.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  77.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  78.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  79.     ... 11 common frames omitted
  80. 28.05 12:43:51.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  81. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  82.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  83.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  84.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  85.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  86.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  87.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  88.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  89.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  90.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  91.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  92.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  93.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  94.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  95.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  96.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  97.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  98.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  99.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  100.     at java.lang.Thread.run(Thread.java:748)
  101. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  102.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  103.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  104.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  105.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  106.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  107.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  108.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  109.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  110.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  111.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  112.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  113.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  114.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  115.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  116.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  117.     ... 11 common frames omitted
  118. 28.05 12:44:11.248 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  119. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  120.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  121.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  122.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  123.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  124.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  125.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  126.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  127.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  128.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  129.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  130.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  131.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  132.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  133.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  134.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  135.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  136.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  137.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  138.     at java.lang.Thread.run(Thread.java:748)
  139. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  140.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  141.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  142.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  143.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  144.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  145.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  146.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  147.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  148.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  149.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  150.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  151.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  152.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  153.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  154.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  155.     ... 11 common frames omitted
  156. 28.05 12:44:30.240 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  157. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  158.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  159.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  160.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  161.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  162.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  163.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  164.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  165.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  166.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  167.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  168.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  169.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  170.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  171.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  172.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  173.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  174.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  175.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  176.     at java.lang.Thread.run(Thread.java:748)
  177. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  178.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  179.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  180.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  181.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  182.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  183.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  184.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  185.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  186.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  187.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  188.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  189.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  190.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  191.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  192.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  193.     ... 11 common frames omitted
  194. 28.05 12:44:37.244 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  195. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  196.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  197.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  198.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  199.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  200.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  201.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  202.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  203.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  204.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  205.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  206.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  207.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  208.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  209.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  210.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  211.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  212.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  213.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  214.     at java.lang.Thread.run(Thread.java:748)
  215. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  216.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  217.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  218.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  219.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  220.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  221.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  222.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  223.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  224.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  225.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  226.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  227.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  228.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  229.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  230.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  231.     ... 11 common frames omitted
  232. 28.05 12:44:40.242 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  233. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  234.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  235.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  236.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  237.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  238.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  239.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  240.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  241.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  242.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  243.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  244.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  245.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  246.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  247.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  248.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  249.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  250.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  251.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  252.     at java.lang.Thread.run(Thread.java:748)
  253. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  254.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  255.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  256.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  257.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  258.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  259.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  260.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  261.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  262.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  263.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  264.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  265.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  266.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  267.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  268.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  269.     ... 11 common frames omitted
  270. 28.05 12:44:43.240 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  271. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  272.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  273.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  274.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  275.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  276.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  277.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  278.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  279.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  280.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  281.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  282.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  283.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  284.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  285.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  286.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  287.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  288.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  289.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  290.     at java.lang.Thread.run(Thread.java:748)
  291. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  292.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  293.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  294.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  295.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  296.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  297.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  298.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  299.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  300.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  301.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  302.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  303.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  304.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  305.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  306.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  307.     ... 11 common frames omitted
  308. 28.05 12:44:47.320 ERROR [StoredProcedureHandler:100] - Execute http stored procedure error: {}
  309. org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [SELECT * FROM segments.HTTP_POST_archive_segment('{"Accept-Encoding":"gzip,deflate","Content-Length":"0","Content-Type":"application/json; charset=UTF-8","User-Agent":"Apache-HttpClient/4.5.3 (Java/1.8.0_152)","Accept":"application/json, application/javascript, text/javascript, text/json","Host":"localhost:33289"}','{"id":"Archive_Segments_ID"}')]; ERROR: array must have even number of elements
  310.   Where: SQL statement "SELECT jsonb_object('{result, -3, message, Cannot archive segment, quantity limit reached}'), 404"
  311. PL/pgSQL function segments.http_post_archive_segment(jsonb,jsonb) line 46 at RETURN QUERY; nested exception is org.postgresql.util.PSQLException: ERROR: array must have even number of elements
  312.   Where: SQL statement "SELECT jsonb_object('{result, -3, message, Cannot archive segment, quantity limit reached}'), 404"
  313. PL/pgSQL function segments.http_post_archive_segment(jsonb,jsonb) line 46 at RETURN QUERY
  314.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104)
  315.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  316.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  317.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  318.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  319.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  320.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  321.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callHttpStoredProcedure(JdbcStoredProcedureRepository.java:177)
  322.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeHttpStoredProcedure$0(JdbcStoredProcedureRepository.java:58)
  323.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  324.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  325.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  326.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  327.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  328.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  329.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  330.     at java.lang.Thread.run(Thread.java:748)
  331. Caused by: org.postgresql.util.PSQLException: ERROR: array must have even number of elements
  332.   Where: SQL statement "SELECT jsonb_object('{result, -3, message, Cannot archive segment, quantity limit reached}'), 404"
  333. PL/pgSQL function segments.http_post_archive_segment(jsonb,jsonb) line 46 at RETURN QUERY
  334.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  335.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  336.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  337.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  338.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  339.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  340.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  341.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  342.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  343.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  344.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  345.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  346.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  347.     ... 11 common frames omitted
  348. 28.05 12:44:51.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  349. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  350.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  351.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  352.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  353.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  354.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  355.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  356.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  357.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  358.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  359.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  360.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  361.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  362.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  363.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  364.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  365.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  366.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  367.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  368.     at java.lang.Thread.run(Thread.java:748)
  369. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  370.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  371.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  372.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  373.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  374.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  375.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  376.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  377.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  378.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  379.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  380.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  381.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  382.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  383.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  384.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  385.     ... 11 common frames omitted
  386. 28.05 12:44:57.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  387. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  388.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  389.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  390.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  391.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  392.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  393.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  394.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  395.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  396.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  397.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  398.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  399.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  400.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  401.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  402.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  403.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  404.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  405.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  406.     at java.lang.Thread.run(Thread.java:748)
  407. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  408.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  409.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  410.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  411.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  412.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  413.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  414.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  415.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  416.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  417.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  418.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  419.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  420.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  421.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  422.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  423.     ... 11 common frames omitted
  424. 28.05 12:44:59.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  425. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  426.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  427.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  428.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  429.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  430.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  431.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  432.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  433.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  434.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  435.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  436.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  437.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  438.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  439.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  440.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  441.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  442.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  443.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  444.     at java.lang.Thread.run(Thread.java:748)
  445. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  446.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  447.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  448.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  449.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  450.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  451.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  452.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  453.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  454.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  455.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  456.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  457.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  458.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  459.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  460.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  461.     ... 11 common frames omitted
  462. 28.05 12:45:08.236 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  463. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  464.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  465.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  466.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  467.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  468.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  469.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  470.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  471.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  472.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  473.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  474.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  475.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  476.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  477.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  478.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  479.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  480.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  481.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  482.     at java.lang.Thread.run(Thread.java:748)
  483. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  484.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  485.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  486.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  487.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  488.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  489.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  490.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  491.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  492.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  493.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  494.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  495.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  496.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  497.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  498.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  499.     ... 11 common frames omitted
  500. 28.05 12:45:12.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  501. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  502.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  503.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  504.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  505.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  506.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  507.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  508.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  509.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  510.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  511.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  512.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  513.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  514.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  515.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  516.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  517.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  518.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  519.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  520.     at java.lang.Thread.run(Thread.java:748)
  521. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  522.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  523.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  524.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  525.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  526.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  527.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  528.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  529.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  530.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  531.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  532.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  533.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  534.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  535.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  536.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  537.     ... 11 common frames omitted
  538. 28.05 12:45:19.239 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  539. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  540.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  541.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  542.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  543.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  544.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  545.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  546.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  547.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  548.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  549.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  550.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  551.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  552.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  553.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  554.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  555.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  556.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  557.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  558.     at java.lang.Thread.run(Thread.java:748)
  559. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  560.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  561.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  562.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  563.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  564.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  565.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  566.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  567.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  568.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  569.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  570.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  571.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  572.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  573.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  574.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  575.     ... 11 common frames omitted
  576. 28.05 12:45:32.242 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  577. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  578.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  579.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  580.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  581.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  582.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  583.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  584.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  585.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  586.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  587.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  588.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  589.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  590.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  591.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  592.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  593.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  594.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  595.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  596.     at java.lang.Thread.run(Thread.java:748)
  597. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  598.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  599.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  600.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  601.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  602.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  603.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  604.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  605.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  606.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  607.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  608.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  609.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  610.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  611.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  612.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  613.     ... 11 common frames omitted
  614. 28.05 12:45:41.239 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  615. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  616.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  617.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  618.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  619.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  620.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  621.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  622.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  623.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  624.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  625.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  626.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  627.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  628.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  629.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  630.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  631.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  632.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  633.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  634.     at java.lang.Thread.run(Thread.java:748)
  635. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  636.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  637.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  638.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  639.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  640.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  641.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  642.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  643.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  644.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  645.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  646.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  647.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  648.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  649.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  650.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  651.     ... 11 common frames omitted
  652. 28.05 12:45:58.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  653. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  654.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  655.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  656.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  657.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  658.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  659.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  660.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  661.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  662.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  663.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  664.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  665.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  666.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  667.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  668.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  669.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  670.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  671.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  672.     at java.lang.Thread.run(Thread.java:748)
  673. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  674.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  675.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  676.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  677.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  678.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  679.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  680.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  681.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  682.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  683.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  684.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  685.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  686.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  687.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  688.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  689.     ... 11 common frames omitted
  690. 28.05 12:46:07.502 ERROR [StoredProcedureHandler:100] - Execute http stored procedure error: {}
  691. org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [SELECT * FROM segments.HTTP_POST_archive_segment('{"Accept":"*/*","accept-encoding":"gzip, deflate","User-Agent":"PostmanRuntime/7.13.0","Postman-Token":"21a36562-405f-4b3e-8a86-6fb0395c4624","Content-Type":"application/json","Cache-Control":"no-cache","Host":"localhost:33287","content-length":"0"}','{"id":"Archive_Segments_ID"}')]; ERROR: array must have even number of elements
  692.   Where: SQL statement "SELECT jsonb_object('{result, -3, message, Cannot archive segment, quantity limit reached}'), 404"
  693. PL/pgSQL function segments.http_post_archive_segment(jsonb,jsonb) line 46 at RETURN QUERY; nested exception is org.postgresql.util.PSQLException: ERROR: array must have even number of elements
  694.   Where: SQL statement "SELECT jsonb_object('{result, -3, message, Cannot archive segment, quantity limit reached}'), 404"
  695. PL/pgSQL function segments.http_post_archive_segment(jsonb,jsonb) line 46 at RETURN QUERY
  696.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104)
  697.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  698.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  699.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  700.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  701.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  702.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  703.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callHttpStoredProcedure(JdbcStoredProcedureRepository.java:177)
  704.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeHttpStoredProcedure$0(JdbcStoredProcedureRepository.java:58)
  705.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  706.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  707.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  708.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  709.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  710.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  711.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  712.     at java.lang.Thread.run(Thread.java:748)
  713. Caused by: org.postgresql.util.PSQLException: ERROR: array must have even number of elements
  714.   Where: SQL statement "SELECT jsonb_object('{result, -3, message, Cannot archive segment, quantity limit reached}'), 404"
  715. PL/pgSQL function segments.http_post_archive_segment(jsonb,jsonb) line 46 at RETURN QUERY
  716.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  717.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  718.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  719.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  720.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  721.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  722.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  723.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  724.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  725.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  726.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  727.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  728.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  729.     ... 11 common frames omitted
  730. 28.05 12:46:45.244 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  731. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  732.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  733.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  734.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  735.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  736.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  737.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  738.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  739.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  740.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  741.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  742.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  743.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  744.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  745.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  746.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  747.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  748.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  749.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  750.     at java.lang.Thread.run(Thread.java:748)
  751. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  752.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  753.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  754.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  755.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  756.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  757.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  758.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  759.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  760.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  761.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  762.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  763.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  764.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  765.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  766.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  767.     ... 11 common frames omitted
  768. 28.05 12:46:46.239 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  769. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  770.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  771.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  772.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  773.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  774.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  775.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  776.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  777.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  778.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  779.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  780.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  781.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  782.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  783.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  784.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  785.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  786.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  787.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  788.     at java.lang.Thread.run(Thread.java:748)
  789. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  790.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  791.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  792.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  793.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  794.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  795.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  796.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  797.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  798.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  799.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  800.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  801.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  802.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  803.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  804.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  805.     ... 11 common frames omitted
  806. 28.05 12:46:53.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  807. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  808.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  809.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  810.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  811.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  812.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  813.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  814.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  815.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  816.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  817.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  818.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  819.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  820.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  821.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  822.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  823.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  824.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  825.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  826.     at java.lang.Thread.run(Thread.java:748)
  827. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  828.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  829.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  830.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  831.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  832.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  833.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  834.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  835.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  836.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  837.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  838.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  839.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  840.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  841.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  842.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  843.     ... 11 common frames omitted
  844. 28.05 12:47:01.240 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  845. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  846.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  847.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  848.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  849.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  850.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  851.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  852.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  853.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  854.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  855.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  856.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  857.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  858.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  859.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  860.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  861.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  862.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  863.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  864.     at java.lang.Thread.run(Thread.java:748)
  865. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  866.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  867.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  868.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  869.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  870.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  871.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  872.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  873.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  874.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  875.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  876.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  877.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  878.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  879.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  880.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  881.     ... 11 common frames omitted
  882. 28.05 12:47:10.242 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  883. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  884.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  885.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  886.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  887.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  888.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  889.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  890.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  891.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  892.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  893.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  894.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  895.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  896.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  897.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  898.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  899.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  900.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  901.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  902.     at java.lang.Thread.run(Thread.java:748)
  903. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  904.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  905.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  906.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  907.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  908.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  909.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  910.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  911.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  912.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  913.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  914.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  915.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  916.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  917.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  918.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  919.     ... 11 common frames omitted
  920. 28.05 12:47:13.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  921. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  922.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  923.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  924.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  925.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  926.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  927.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  928.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  929.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  930.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  931.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  932.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  933.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  934.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  935.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  936.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  937.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  938.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  939.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  940.     at java.lang.Thread.run(Thread.java:748)
  941. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  942.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  943.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  944.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  945.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  946.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  947.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  948.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  949.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  950.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  951.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  952.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  953.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  954.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  955.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  956.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  957.     ... 11 common frames omitted
  958. 28.05 12:47:34.240 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  959. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  960.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  961.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  962.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  963.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  964.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  965.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  966.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  967.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  968.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  969.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  970.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  971.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  972.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  973.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  974.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  975.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  976.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  977.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  978.     at java.lang.Thread.run(Thread.java:748)
  979. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  980.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  981.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  982.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  983.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  984.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  985.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  986.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  987.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  988.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  989.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  990.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  991.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  992.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  993.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  994.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  995.     ... 11 common frames omitted
  996. 28.05 12:47:35.242 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  997. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  998.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  999.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1000.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1001.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1002.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1003.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1004.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1005.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1006.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1007.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1008.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1009.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1010.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1011.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1012.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1013.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1014.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1015.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1016.     at java.lang.Thread.run(Thread.java:748)
  1017. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1018.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1019.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1020.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1021.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1022.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1023.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1024.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1025.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1026.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1027.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1028.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1029.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1030.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1031.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1032.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1033.     ... 11 common frames omitted
  1034. 28.05 12:48:19.235 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1035. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1036.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1037.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1038.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1039.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1040.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1041.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1042.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1043.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1044.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1045.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1046.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1047.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1048.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1049.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1050.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1051.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1052.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1053.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1054.     at java.lang.Thread.run(Thread.java:748)
  1055. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1056.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1057.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1058.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1059.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1060.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1061.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1062.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1063.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1064.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1065.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1066.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1067.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1068.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1069.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1070.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1071.     ... 11 common frames omitted
  1072. 28.05 12:48:40.244 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1073. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1074.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1075.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1076.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1077.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1078.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1079.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1080.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1081.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1082.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1083.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1084.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1085.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1086.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1087.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1088.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1089.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1090.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1091.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1092.     at java.lang.Thread.run(Thread.java:748)
  1093. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1094.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1095.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1096.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1097.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1098.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1099.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1100.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1101.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1102.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1103.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1104.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1105.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1106.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1107.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1108.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1109.     ... 11 common frames omitted
  1110. 28.05 12:48:55.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1111. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1112.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1113.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1114.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1115.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1116.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1117.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1118.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1119.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1120.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1121.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1122.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1123.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1124.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1125.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1126.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1127.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1128.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1129.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1130.     at java.lang.Thread.run(Thread.java:748)
  1131. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1132.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1133.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1134.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1135.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1136.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1137.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1138.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1139.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1140.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1141.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1142.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1143.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1144.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1145.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1146.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1147.     ... 11 common frames omitted
  1148. 28.05 12:49:44.238 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1149. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1150.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1151.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1152.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1153.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1154.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1155.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1156.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1157.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1158.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1159.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1160.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1161.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1162.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1163.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1164.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1165.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1166.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1167.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1168.     at java.lang.Thread.run(Thread.java:748)
  1169. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1170.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1171.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1172.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1173.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1174.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1175.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1176.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1177.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1178.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1179.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1180.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1181.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1182.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1183.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1184.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1185.     ... 11 common frames omitted
  1186. 28.05 12:49:57.242 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1187. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1188.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1189.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1190.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1191.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1192.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1193.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1194.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1195.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1196.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1197.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1198.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1199.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1200.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1201.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1202.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1203.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1204.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1205.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1206.     at java.lang.Thread.run(Thread.java:748)
  1207. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1208.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1209.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1210.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1211.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1212.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1213.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1214.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1215.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1216.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1217.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1218.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1219.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1220.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1221.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1222.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1223.     ... 11 common frames omitted
  1224. 28.05 12:50:13.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1225. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1226.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1227.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1228.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1229.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1230.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1231.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1232.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1233.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1234.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1235.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1236.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1237.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1238.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1239.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1240.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1241.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1242.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1243.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1244.     at java.lang.Thread.run(Thread.java:748)
  1245. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1246.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1247.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1248.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1249.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1250.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1251.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1252.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1253.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1254.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1255.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1256.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1257.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1258.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1259.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1260.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1261.     ... 11 common frames omitted
  1262. 28.05 12:50:15.245 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1263. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1264.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1265.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1266.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1267.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1268.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1269.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1270.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1271.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1272.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1273.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1274.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1275.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1276.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1277.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1278.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1279.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1280.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1281.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1282.     at java.lang.Thread.run(Thread.java:748)
  1283. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1284.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1285.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1286.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1287.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1288.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1289.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1290.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1291.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1292.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1293.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1294.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1295.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1296.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1297.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1298.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1299.     ... 11 common frames omitted
  1300. 28.05 12:50:17.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1301. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1302.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1303.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1304.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1305.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1306.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1307.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1308.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1309.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1310.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1311.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1312.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1313.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1314.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1315.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1316.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1317.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1318.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1319.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1320.     at java.lang.Thread.run(Thread.java:748)
  1321. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1322.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1323.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1324.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1325.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1326.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1327.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1328.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1329.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1330.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1331.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1332.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1333.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1334.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1335.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1336.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1337.     ... 11 common frames omitted
  1338. 28.05 12:50:50.240 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1339. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1340.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1341.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1342.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1343.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1344.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1345.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1346.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1347.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1348.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1349.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1350.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1351.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1352.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1353.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1354.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1355.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1356.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1357.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1358.     at java.lang.Thread.run(Thread.java:748)
  1359. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1360.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1361.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1362.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1363.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1364.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1365.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1366.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1367.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1368.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1369.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1370.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1371.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1372.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1373.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1374.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1375.     ... 11 common frames omitted
  1376. 28.05 12:51:13.237 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1377. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1378.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1379.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1380.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1381.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1382.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1383.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1384.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1385.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1386.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1387.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1388.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1389.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1390.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1391.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1392.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1393.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1394.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1395.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1396.     at java.lang.Thread.run(Thread.java:748)
  1397. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1398.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1399.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1400.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1401.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1402.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1403.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1404.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1405.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1406.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1407.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1408.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1409.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1410.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1411.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1412.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1413.     ... 11 common frames omitted
  1414. 28.05 12:51:46.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1415. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1416.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1417.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1418.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1419.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1420.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1421.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1422.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1423.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1424.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1425.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1426.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1427.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1428.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1429.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1430.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1431.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1432.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1433.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1434.     at java.lang.Thread.run(Thread.java:748)
  1435. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1436.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1437.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1438.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1439.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1440.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1441.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1442.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1443.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1444.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1445.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1446.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1447.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1448.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1449.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1450.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1451.     ... 11 common frames omitted
  1452. 28.05 12:52:34.242 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1453. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1454.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1455.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1456.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1457.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1458.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1459.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1460.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1461.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1462.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1463.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1464.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1465.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1466.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1467.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1468.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1469.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1470.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1471.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1472.     at java.lang.Thread.run(Thread.java:748)
  1473. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1474.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1475.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1476.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1477.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1478.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1479.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1480.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1481.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1482.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1483.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1484.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1485.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1486.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1487.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1488.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1489.     ... 11 common frames omitted
  1490. 28.05 12:52:43.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1491. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1492.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1493.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1494.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1495.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1496.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1497.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1498.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1499.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1500.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1501.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1502.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1503.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1504.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1505.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1506.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1507.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1508.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1509.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1510.     at java.lang.Thread.run(Thread.java:748)
  1511. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1512.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1513.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1514.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1515.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1516.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1517.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1518.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1519.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1520.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1521.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1522.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1523.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1524.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1525.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1526.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1527.     ... 11 common frames omitted
  1528. 28.05 12:53:01.237 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1529. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1530.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1531.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1532.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1533.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1534.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1535.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1536.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1537.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1538.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1539.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1540.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1541.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1542.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1543.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1544.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1545.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1546.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1547.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1548.     at java.lang.Thread.run(Thread.java:748)
  1549. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1550.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1551.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1552.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1553.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1554.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1555.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1556.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1557.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1558.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1559.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1560.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1561.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1562.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1563.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1564.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1565.     ... 11 common frames omitted
  1566. 28.05 12:53:36.243 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1567. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1568.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1569.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1570.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1571.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1572.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1573.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1574.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1575.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1576.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1577.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1578.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1579.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1580.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1581.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1582.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1583.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1584.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1585.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1586.     at java.lang.Thread.run(Thread.java:748)
  1587. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1588.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1589.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1590.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1591.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1592.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1593.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1594.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1595.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1596.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1597.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1598.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1599.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1600.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1601.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1602.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1603.     ... 11 common frames omitted
  1604. 28.05 12:53:39.239 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1605. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1606.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1607.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1608.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1609.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1610.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1611.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1612.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1613.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1614.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1615.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1616.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1617.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1618.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1619.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1620.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1621.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1622.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1623.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1624.     at java.lang.Thread.run(Thread.java:748)
  1625. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1626.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1627.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1628.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1629.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1630.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1631.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1632.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1633.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1634.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1635.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1636.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1637.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1638.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1639.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1640.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1641.     ... 11 common frames omitted
  1642. 28.05 12:53:52.240 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1643. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1644.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1645.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1646.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1647.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1648.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1649.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1650.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1651.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1652.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1653.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1654.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1655.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1656.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1657.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1658.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1659.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1660.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1661.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1662.     at java.lang.Thread.run(Thread.java:748)
  1663. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1664.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1665.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1666.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1667.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1668.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1669.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1670.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1671.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1672.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1673.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1674.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1675.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1676.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1677.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1678.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1679.     ... 11 common frames omitted
  1680. 28.05 12:54:00.239 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1681. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1682.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1683.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1684.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1685.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1686.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1687.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1688.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1689.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1690.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1691.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1692.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1693.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1694.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1695.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1696.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1697.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1698.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1699.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1700.     at java.lang.Thread.run(Thread.java:748)
  1701. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1702.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1703.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1704.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1705.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1706.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1707.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1708.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1709.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1710.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1711.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1712.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1713.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1714.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1715.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1716.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1717.     ... 11 common frames omitted
  1718. 28.05 12:54:28.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1719. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1720.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1721.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1722.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1723.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1724.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1725.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1726.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1727.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1728.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1729.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1730.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1731.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1732.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1733.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1734.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1735.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1736.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1737.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1738.     at java.lang.Thread.run(Thread.java:748)
  1739. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1740.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1741.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1742.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1743.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1744.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1745.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1746.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1747.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1748.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1749.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1750.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1751.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1752.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1753.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1754.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1755.     ... 11 common frames omitted
  1756. 28.05 12:54:51.236 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1757. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1758.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1759.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1760.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1761.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1762.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1763.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1764.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1765.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1766.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1767.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1768.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1769.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1770.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1771.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1772.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1773.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1774.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1775.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1776.     at java.lang.Thread.run(Thread.java:748)
  1777. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1778.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1779.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1780.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1781.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1782.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1783.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1784.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1785.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1786.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1787.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1788.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1789.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1790.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1791.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1792.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1793.     ... 11 common frames omitted
  1794. 28.05 12:55:37.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1795. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1796.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1797.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1798.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1799.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1800.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1801.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1802.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1803.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1804.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1805.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1806.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1807.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1808.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1809.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1810.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1811.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1812.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1813.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1814.     at java.lang.Thread.run(Thread.java:748)
  1815. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1816.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1817.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1818.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1819.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1820.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1821.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1822.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1823.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1824.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1825.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1826.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1827.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1828.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1829.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1830.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1831.     ... 11 common frames omitted
  1832. 28.05 12:55:52.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1833. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1834.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1835.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1836.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1837.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1838.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1839.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1840.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1841.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1842.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1843.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1844.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1845.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1846.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1847.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1848.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1849.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1850.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1851.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1852.     at java.lang.Thread.run(Thread.java:748)
  1853. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1854.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1855.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1856.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1857.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1858.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1859.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1860.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1861.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1862.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1863.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1864.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1865.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1866.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1867.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1868.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1869.     ... 11 common frames omitted
  1870. 28.05 12:56:06.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1871. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1872.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1873.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1874.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1875.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1876.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1877.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1878.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1879.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1880.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1881.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1882.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1883.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1884.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1885.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1886.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1887.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1888.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1889.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1890.     at java.lang.Thread.run(Thread.java:748)
  1891. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1892.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1893.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1894.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1895.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1896.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1897.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1898.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1899.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1900.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1901.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1902.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1903.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1904.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1905.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1906.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1907.     ... 11 common frames omitted
  1908. 28.05 12:56:09.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1909. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1910.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1911.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1912.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1913.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1914.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1915.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1916.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1917.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1918.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1919.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1920.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1921.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1922.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1923.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1924.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1925.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1926.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1927.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1928.     at java.lang.Thread.run(Thread.java:748)
  1929. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1930.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1931.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1932.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1933.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1934.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1935.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1936.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1937.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1938.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1939.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1940.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1941.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1942.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1943.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1944.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1945.     ... 11 common frames omitted
  1946. 28.05 12:56:12.241 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1947. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1948.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1949.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1950.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1951.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1952.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1953.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1954.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1955.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1956.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1957.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1958.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1959.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1960.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1961.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  1962.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  1963.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  1964.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  1965.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  1966.     at java.lang.Thread.run(Thread.java:748)
  1967. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1968.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1969.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1970.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  1971.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  1972.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  1973.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  1974.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  1975.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  1976.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  1977.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  1978.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  1979.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  1980.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  1981.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  1982.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  1983.     ... 11 common frames omitted
  1984. 28.05 12:56:21.239 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  1985. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  1986.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  1987.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  1988.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  1989.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  1990.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1991.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  1992.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  1993.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  1994.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  1995.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  1996.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  1997.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  1998.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  1999.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  2000.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  2001.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  2002.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  2003.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  2004.     at java.lang.Thread.run(Thread.java:748)
  2005. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2006.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2007.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2008.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  2009.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  2010.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  2011.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  2012.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  2013.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  2014.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  2015.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  2016.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  2017.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  2018.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  2019.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  2020.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  2021.     ... 11 common frames omitted
  2022. 28.05 12:57:25.235 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  2023. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2024.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2025.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2026.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  2027.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  2028.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  2029.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  2030.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  2031.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  2032.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  2033.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  2034.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  2035.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  2036.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  2037.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  2038.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  2039.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  2040.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  2041.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  2042.     at java.lang.Thread.run(Thread.java:748)
  2043. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2044.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2045.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2046.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  2047.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  2048.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  2049.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  2050.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  2051.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  2052.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  2053.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  2054.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  2055.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  2056.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  2057.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  2058.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  2059.     ... 11 common frames omitted
  2060. 28.05 12:57:34.235 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  2061. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2062.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2063.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2064.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  2065.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  2066.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  2067.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  2068.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  2069.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  2070.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  2071.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  2072.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  2073.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  2074.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  2075.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  2076.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  2077.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  2078.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  2079.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  2080.     at java.lang.Thread.run(Thread.java:748)
  2081. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2082.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2083.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2084.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  2085.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  2086.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  2087.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  2088.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  2089.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  2090.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  2091.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  2092.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  2093.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  2094.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  2095.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  2096.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  2097.     ... 11 common frames omitted
  2098. 28.05 12:57:40.235 ERROR [Loggers$Slf4JLogger:319] - Operator called default onErrorDropped
  2099. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM utils.scheduled_archive_segment('{}')]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2100.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2101.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2102.     at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
  2103.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
  2104.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  2105.     at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
  2106.     at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
  2107.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
  2108.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  2109.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.callStoredProcedure(JdbcStoredProcedureRepository.java:190)
  2110.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeStoredProcedure$1(JdbcStoredProcedureRepository.java:66)
  2111.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  2112.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  2113.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  2114.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  2115.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  2116.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  2117.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  2118.     at java.lang.Thread.run(Thread.java:748)
  2119. Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = bigint
  2120.   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
  2121.   Where: PL/pgSQL function utils.scheduled_archive_segment(jsonb) line 44 at SQL statement
  2122.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  2123.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  2124.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  2125.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  2126.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  2127.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
  2128.     at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
  2129.     at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
  2130.     at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
  2131.     at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
  2132.     at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
  2133.     at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
  2134.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
  2135.     ... 11 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement