目前,我使用的是PostgreSQL Professional Advanced Server (PPAS) 9.3 ( PostgreSQL 9.3的修订版)。我正在尝试在postgresql数据库中插入一行,并收到以下错误:javax.ejb.EJBTransactionRolledbackException: [2] An exceptionorg.jboss.resource.adapter.jdbc.WrappedPreparedSta
我在Kubernetes中运行了几个springboot应用。每个应用程序都使用spring JPA连接到PostgreSQL10.6数据库。假设在数据库上运行SELECT sum(numbackends) FROM pg_stat_database;返回50,在杀死运行spring应用程序的几个pod并重新运行查询后,这个数字跳到60,这最终导致到postgresql的连接数量超过最大值,并阻止