Skip to content
Browse files

fix: add release save point into execute with batch (#1583)

release auto save points in batch processing in order to avoid out of
shared memory error

fix for the issue #1582
  • Loading branch information
junixar authored and davecramer committed Oct 30, 2019
1 parent 003ea83 commit 504bb316b91fdbc6506a2e9870453fb75fbbb083
Showing with 3 additions and 0 deletions.
  1. +3 −0 pgjdbc/src/main/java/org/postgresql/core/v3/
@@ -518,6 +518,9 @@ public synchronized void execute(Query[] queries, ParameterList[] parameterLists

try {
if (cleanupSavePoints) {
releaseSavePoint(autosave, flags);
} catch (SQLException e) {
rollbackIfRequired(autosave, e);

0 comments on commit 504bb31

Please sign in to comment.
You can’t perform that action at this time.