Memory corruption in output when large number of queries are supplied
Unit test that reproduces the issue 2 times out of 3 here: https://github.com/pgjdbc/pgsql2/blob/bd92a7d0272fdaaa23b1311a92dc53a65698c688/src/test/java/org/postgresql/sql2/SelectDataTypesTest.java#L321
I think I have found the two bugs that was responsible for this, those are fixed in https://github.com/alexanderkjall/pgsql2/commit/cd861cdf8565db615226ac23f4dde323e3cc49cf and https://github.com/alexanderkjall/pgsql2/commit/2e1fc7ad9a550b09920c64dd28949fd0b368498e .
But performance have once against tanked with those two commit's, so they are not yet pulled into the main branch.
@sagenschneider would you mind doing some code review? I will continue to try to figure out how to solve this without the performance hit.