Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use server-prepared statements for batch inserts when prepareThreshold>0 #841

Merged
merged 1 commit into from
Jun 8, 2017

Conversation

vlsi
Copy link
Member

@vlsi vlsi commented Jun 7, 2017

Use server-prepared statements when more than 1 row is inserted via executeBatch() API.
Previously it could take up to prepareThresolds batch executions.

see #836

@vlsi vlsi added this to the 42.1.2 milestone Jun 7, 2017
@codecov-io
Copy link

codecov-io commented Jun 7, 2017

Codecov Report

Merging #841 into master will increase coverage by 0.01%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master     #841      +/-   ##
============================================
+ Coverage     65.56%   65.57%   +0.01%     
- Complexity     3545     3548       +3     
============================================
  Files           166      166              
  Lines         15250    15252       +2     
  Branches       2475     2475              
============================================
+ Hits           9998    10002       +4     
+ Misses         4074     4070       -4     
- Partials       1178     1180       +2

…eshold>0

Use server-prepared statements when more than 1 row is inserted via executeBatch() API.
Previously it could take up to prepareThresolds batch executions.

see pgjdbc#836
@vlsi vlsi force-pushed the server_prepare_on_batch branch from 0ef9f61 to edc7c01 Compare June 7, 2017 19:14
@vlsi vlsi merged commit abc3d9d into pgjdbc:master Jun 8, 2017
@vlsi vlsi deleted the server_prepare_on_batch branch June 8, 2017 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants