Replies: 3 comments 1 reply
-
It's almost impossible to help with problems with proprietary postgresql offerings as I have no easy way to reproduce the problem on my own. Based on the error messages I would guess that there is some additional postgres connection pooling application in front of the actual postgres database and that pooling application doesn't support prepared statements as generated by diesel. That's something that's not supported by diesel. |
Beta Was this translation helpful? Give feedback.
-
@weiznich I appreciate your response and knew it was a long shot so I kept plugging away at it. I have something that works in this commit. Not sure if it is the correct approach but it does seem to run. |
Beta Was this translation helpful? Give feedback.
-
@weiznich What is the r2d2 package doing on starup or every 10 minutes? I'm getting this error from ORM when the app isn't getting any traffic.When the app actually makes a request through an Axum router to the db, I don't get that error. |
Beta Was this translation helpful? Give feedback.
-
I'm using R2D2 pools for an Axum web server and getting this error. At the time the error happens, no API calls have been made. The server has just started up. The pool manager is in state. Any help on how to resolve this or debug it to understand it better?
My Cargo.toml is:
My pool connection looks like:
Beta Was this translation helpful? Give feedback.
All reactions