The community member is using PGVectorStore and is seeing a lot of open connections to the Postgres database. They are unsure if they need to close the connections manually or if it's handled automatically. The comments suggest that the connections should be closed automatically using the with statement, similar to how files are closed automatically. However, the community members are still seeing warnings about open connections, so it seems there may be an issue with their custom code that is not properly closing the connections.
Hi there, we're now using PGVectorStore and we're seeing that there's a lot of open connections to the postgres db. Do we need to close the connections somehow, has anyone every run into this issue?