Problem with selfhosted Postgres + PGBounce #1329
-
Hey, I ran into an issue wth an external postgres with pgbounce in front of it. The website does run, but throws every 2nd or 3rd request a 500 error with the following error in the log:
I think this is the error which is described here: This could be fixable by: https://github.com/elixir-ecto/postgrex/#pgbouncer I looked a short time into the code here, but I have no clue about elixir and I don't unterstand a word ;) Is there some way to fix that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I wonder what the downside of using unnamed prepared statements is. I'm thinking that if there were no downside to this, it would be the default setting in Postgrex. We could certainly provide an option to use unnamed statements for Plausible users. We're always open for PRs, otherwise I have no idea when I'll get to adding it :/ |
Beta Was this translation helpful? Give feedback.
I wonder what the downside of using unnamed prepared statements is. I'm thinking that if there were no downside to this, it would be the default setting in Postgrex.
We could certainly provide an option to use unnamed statements for Plausible users. We're always open for PRs, otherwise I have no idea when I'll get to adding it :/