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 }}
This repository was archived by the owner on Jan 14, 2021. It is now read-only.
Not sure if this would be possible to support, but it would be nice to use this vs. setting up and running our own instance of pgbouncer if at all possible!
The text was updated successfully, but these errors were encountered:
ok, I'll look into it. Our app itself isn't hosted on Heroku, just our DB is so I would need to find some way to send the modified database url to our app. Not sure if that is possible. I might also need to host our own copy of pgbouncer, but I'm also not sure how to do that :D
We implemented a new PgBouncer mode in prisma/prisma#2520 that is activated by adding ?pgbouncer=true (or &pgbouncer=true of course) to your connection string. Available in the current alpha, and the next normal beta release 🚀
We will now try to test this with Heroku in our e2e tests to make sure this indeed works and will keep working long term: prisma/ecosystem-tests#385
If you try it out yourself @chrisdrackett, let us know if it works or not - until then we assume it does ;)
Heroku has a pgbouncer that is one line to install (https://devcenter.heroku.com/articles/postgres-connection-pooling).
Currently its options do not seem to line up 100% with the requirements of prisma and it isn't possible to change them.
When running we see errors like the following:
Not sure if this would be possible to support, but it would be nice to use this vs. setting up and running our own instance of pgbouncer if at all possible!
The text was updated successfully, but these errors were encountered: