Replies: 1 comment 8 replies
-
|
Hi @Ace002, we do support the extended protocol there might be a bug in the protocol causing Prisma to receive a unexpected message from the PSQL wire protocol. Would you be able to share a small sample project with me allowing us to replicate the issue? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! 👋
I’m building a custom PostgreSQL wire-compatible proxy using
psql-wire, and it works perfectly withpsqlor other simple clients.However, I’m running into trouble when trying to support Prisma (prisma reference), which relies on the extended query protocol. When Prisma connects, the connection dies silently — no error, no panic, and nothing gets logged. After some digging, I noticed Prisma sends:
ParseDescribeBindExecuteI can't find documentation or hooks in
psql-wireto handle these message types. I saw there’s noWithDescribeor similar extension points — onlyNewStatementfor simpleQuery.Questions:
psql-wiresupport the extended query protocol (Parse,Describe,Bind,Execute)?Thanks in advance! 🙏
Loving how simple
psql-wireis to work with — hoping to extend it just enough to make it work with Prisma as well.Beta Was this translation helpful? Give feedback.
All reactions