Intermittent connection issues from Springboot to Postgres
问题 I have a springboot application which connects to a postgres DB.Connection pool used is Hikari. I have a select query running every 5 minutes.Though it gets executed properly most of the times, i encounter a PSQLException intermittently org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:333) ~[postgresql-42.2.2.jar!/:42.2.2] at org.postgresql.jdbc.PgStatement.executeInternal