Giter VIP home page Giter VIP logo

Comments (4)

greg-rychlewski avatar greg-rychlewski commented on June 1, 2024 1

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.

josevalim avatar josevalim commented on June 1, 2024 1

Awesome @benjamg, thanks for reporting back! We are glad we helped in a small way. ❤️

from postgrex.

benonymus avatar benonymus commented on June 1, 2024

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.

benjamg avatar benjamg commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.