-
Notifications
You must be signed in to change notification settings - Fork 26
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
Compatibility Issue with Prisma ORM #581
Comments
Thanks for reaching out. We have not yet tested Prisma with PGAdapter, so we can't make any statements on how well/bad it will work with Prisma. This specific issue however is a PGAdapter problem. The |
Thanks for the response. I wasn't aware of this and had wrongly assumed that Prisma may have been accidentally sending mysql commands based on some quick google searches. I noticed this project doesn't accept pull requests. Could I submit compatibility with Prisma as a feature request? |
Hmm.... Maybe it's time to update that part of the documentation. Let me check with a couple of other people as well.
Certainly! |
Would love to see a popular type-safe typescript ORM get Spanner compatibility! FYI, I tried |
Hey, Prisma here 👋 Amazing to see this issue, and how @NOT-HAL9000 is pushing forward to figure out what is standing in the way of Prisma and Google Cloud Spanner (via PgAdapter) to work together (they mentioned it in our issue prisma/prisma#717 (comment)). Might it be as simple as accepting As we are currently basically just trying to find the real blockers down the line (which probably will be other, not supported queries), if someone (*hint @NOT-HAL9000 *hint 😆) opens a PR is there a simple way to test that code/adapter locally? |
PostgreSQL supports the alias `set names '<value>'` for setting the client encoding. This is an alias for `set client_encoding to '<value>'`. Fixes #581
@NOT-HAL9000 I've created #589 for the more generic request to add support for Prisma, so we can treat this issue as a specific issue with the |
PostgreSQL supports the alias `set names '<value>'` for setting the client encoding. This is an alias for `set client_encoding to '<value>'`. Fixes #581
Trying to see if Prisma can be used with PGAdapter and Cloud Spanner. Getting the following error. Trying to understand if this is a Prisma or PGAdapter problem. Thanks!
Error querying the database: db error: ERROR: Invalid SET statement: SET NAMES 'UTF8'. Expected TO or =.
Referenced Discussion and reproducibility steps on Prisma Repo here: prisma/prisma#717 (comment)
The text was updated successfully, but these errors were encountered: