Close connections when done
PietrH opened this issue · 2 comments
PietrH commented
When running examples, I run into the following error:
Error: nanodbc/nanodbc.cpp:1118: 00000: [unixODBC]FATAL: remaining connection slots are reserved for non-replication superuser connections
It seems we have a connection leak, it's probably prudent to close connections after we are done with them if we will not be reusing them.
Originally posted by @PietrH in #35 (comment)
PietrH commented
After adding a disconnect to all functions, and restarting the R session to close all connections (probably?) I was able to run the tests once more. Closing for now.