I believe the library is spawning a new connection for each query so that makes perfect sense. I will see what improvements can be made at the application layer and look at using pgbouncer if required =) Thank you for sharing your knowledge!
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных