Forums

How to use connection pool for Postgresql

Hello, is it possible to create connection pool once per day and to use these connections during the day from different files? If it possible, how should i do that? Should i create a file for connections pool and export them to other files or there is another solution? thanks for pythonanywhere!

Are you thinking of having the connection pool shared between multiple processes? I don't think that's possible, unfortunately :-(