Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxvpi-0002ER-NH for pgsql-jdbc@arkaria.postgresql.org; Sun, 24 Feb 2019 15:36:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gxvoi-0001df-VW for pgsql-jdbc@arkaria.postgresql.org; Sun, 24 Feb 2019 15:35:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxvoi-0001d6-HK for pgsql-jdbc@lists.postgresql.org; Sun, 24 Feb 2019 15:35:48 +0000 Received: from out-5.smtp.github.com ([192.30.252.196]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxvod-00021e-Tg for pgsql-jdbc@lists.postgresql.org; Sun, 24 Feb 2019 15:35:46 +0000 Date: Sun, 24 Feb 2019 07:35:42 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1551022542; bh=QiNL7jDObPoYwa5GpLCKRalUQvUzZrocLwQw8FvT3WM=; h=Date:From:To:Subject:From; b=WQmLqpEAwtkMavOLiQhVFNQUG7Z8g2LIHLznc4CxUvr5XJO+dEl/3ESLDDvgXPhHx UZzr0wne4SvNXJw5leSEm5QpFkBqa6HEYpgZMeSOzOr0kFeCw88yUp+9oukBO8CNDZ z2d29Tg6W8ajNQWpasVsr7U1oucn8sM5Un+fnfGw= From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] af8f88: Fix:save points causing server to run out of resou... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: af8f8836d004d7227017774dff895c1ee706c03d https://github.com/pgjdbc/pgjdbc/commit/af8f8836d004d7227017774dff895c1ee706c03d Author: Dave Cramer Date: 2019-02-24 (Sun, 24 Feb 2019) Changed paths: M README.md M docs/documentation/head/connect.md M pgjdbc/src/main/java/org/postgresql/PGProperty.java M pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java M pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/AutoRollbackTestSuite.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/PGPropertyTest.java Log Message: ----------- Fix:save points causing server to run out of resources (#1409) * Savepoints created by autosavepoint logic will be cleaned up after 1000 successful transactions * if setSavePoint is called on the connection any automatically created savepoints will be released and autosave disabled.