Rust diesel R2D2 runtime error prepared statement
I'm switching from non-pooled to pooled and using R2D2 in diesel. I don't get any compile time errors but I do get repeating errors in the log of
ERROR r2d2: unnamed prepared statement does not exist
. I see some others on Reddit having the same problem and adding some name/value pair to the connection string but saying it is Host specific. How do I fix this on Neon for my Rust/Diesel/R2D2 async pooled connection?1 Reply
xenial-blackOP•7mo ago
I figured it out - shown in this commit if anyone else is looking for an answer - https://github.com/dfberry/rust/commit/5a119fc939da9b03ad20f5cd33f800e520cb7f26.