You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to run queries using PostgresProtocolPlugin #215
We used psql client to develop the driver initially, then we switched to the Java official JDBC driver so we can have automatic tests and regression tests, but it looks like the protocol is quite wide and we have to check again with psql what's going on. I guess we have to change slightly the behavior based on the client type.
I was able to reproduce the error. When the query returns many records I got ERROR: Error on executing query: null. If you do the same select with the limit works. So there must be an issue with the management of pagination.
@scwagner the issue was with the buffer allocated for sending the result back to the client. Now it's fixed. Thanks for reporting it (and to be a sponsor!).
Activity
lvca commentedon Nov 19, 2021
We used psql client to develop the driver initially, then we switched to the Java official JDBC driver so we can have automatic tests and regression tests, but it looks like the protocol is quite wide and we have to check again with psql what's going on. I guess we have to change slightly the behavior based on the client type.
lvca commentedon Nov 19, 2021
From a quick test seems to work with the simple database used for testing Postgres when I'm connecting through psql:
lvca commentedon Nov 19, 2021
I was able to reproduce the error. When the query returns many records I got
ERROR: Error on executing query: null. If you do the same select with the limit works. So there must be an issue with the management of pagination.lvca commentedon Nov 19, 2021
Fixed by 1dc352a.
lvca commentedon Nov 19, 2021
@scwagner the issue was with the buffer allocated for sending the result back to the client. Now it's fixed. Thanks for reporting it (and to be a sponsor!).
scwagner commentedon Nov 21, 2021
@lvca Thanks I can confirm that with the latest image from Docker Hub I am able to connect with both
psqland using JDBC. Thank you for the quick fix!build(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions …
chore(deps): bump org.apache.maven.plugins:maven-assembly-plugin from…
chore(studio-deps-dev)(deps-dev): bump serialize-javascript from 7.0.…
build(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions …
chore(deps): bump org.apache.maven.plugins:maven-assembly-plugin from…