Comments (4)
Hi @benonymus,
Thank you for reporting. I never heard of https://www.polyscale.ai/, is it basically a database that accepts the Postgres wire protocol?
The issue is happening because the function here: close_parse_describe_flush
is first sending a close message and then the parse/describe messages.
By the Postgres protocol we are supposed to receive a CloseComplete
message or an error if it is not closed properly. But it is not coming back and skipping right ahead to the parse response.
Is this something you could report upstream?
from postgrex.
Awesome @benjamg, thanks for reporting back! We are glad we helped in a small way.
from postgrex.
Hey @greg-rychlewski,
Thanks a lot for checking this!
I am in contact with the team at Polyscale and I will let them know!
from postgrex.
Thanks for taking the time in finding this.
PolyScale is a caching frontend that accepts the PostgreSQL wire protocol rather than a database in it's own right and this was indeed a bug in my code due to the way I was trying to avoid a round-trip to the database wherever possible, knowing it was a missing CloseComplete helped me hunt down the flaw :)
from postgrex.
Related Issues (20)
- Type matching issues when using different schemas HOT 5
- SSL Config - no longer accepts functions? HOT 2
- Crashes on non binary parameters passed to select queries HOT 1
- (CaseClauseError) no case clause matching: {:connect, :reconnect, %Postgrex.ReplicationConnection
- Upgrading to OTP 25 causes an issue with SSL with client validation HOT 2
- (Postgrex.Error) ERROR 42P01 (undefined_table) relation "bsc.lib_blks" does not exist HOT 2
- `Postgrex.QueryError` thrown with extensions installed in `heroku_ext` schema HOT 22
- `ArgumentError` when trying to upgrade to elixir 1.14 and otp25 HOT 3
- [Documentation] Broken parameters documentation HOT 1
- scram-sha-256 authentication is slow enough to cause connect timeouts HOT 7
- Jason fails to encode HOT 1
- Pipe in a list within a map not being encoded correctly? HOT 3
- Notifications: auto-reconnect introduces race condition HOT 7
- Error Postgrex.DefaultTypes timestamp with Postgres Wire Protocol v3 compatible db : CrateDB HOT 8
- Unable to connect to QuestDB (postgresql compatible protocol) HOT 2
- Supervisor keyword arguments require a specific order to work HOT 2
- Unhandled gen_statem Timout Event
- There seems to be something wrong with 0.17 when using subscriptions HOT 5
- Dialyzer error in TypeModule HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgrex.