Permalink
Browse files

test: add test for insert batch that changes server-prepared statemen…

…t names

The test causes query executor to re-prepare statement in case types of binds change.
The bug is caused by late creation of PhantomReference->statementName cache entry (as both ParseComplete messages arrive, the Query has changed its statement name)
  • Loading branch information...
vlsi committed Dec 6, 2015
1 parent cf40cf2 commit e5ac89945ec4905c82bc5d1fd033103edbe6f1d6
Showing with 437 additions and 0 deletions.
  1. +437 −0 pgjdbc/src/test/java/org/postgresql/test/jdbc2/BatchExecuteTest.java
Oops, something went wrong.

0 comments on commit e5ac899

Please sign in to comment.