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

Memory corruption in output when large number of queries are supplied #24

Open
alexanderkjall opened this issue Aug 28, 2018 · 1 comment

Comments

@alexanderkjall
Copy link
Collaborator

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

@alexanderkjall
Copy link
Collaborator Author

I think I have found the two bugs that was responsible for this, those are fixed in alexanderkjall@cd861cd and alexanderkjall@2e1fc7a .

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.

@alexanderkjall alexanderkjall changed the title Bind messages broken when large number of queries are supplied Memory corruption in output when large number of queries are supplied Sep 1, 2018
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

No branches or pull requests

1 participant