Do we have a odbc based connection pooling library


Hi All,

I tried connecting to Vertica database using odbc crate. However odbc crate is allowing me to connect to database only with the function and the few structs in the crate did not implement sync trait ,so that I can use the static variables for environment variable. Is there a way to solve this. If not could you please share how to create the odbc connection pool using crate odbc


Hi, I’m one of authors of odbc crate.

I’ve created recently very simple adapter for r2d2 so you could try to use it, but of course don’t consider it production ready:


Thanks. I will try and let you know the comments