Run PostgreSQL query with context timeout

We found (2017/06) that on PostgreSQL 9.6 sometimes some session goes into kind of “drowsy” state. It is running – just incredibly slowly. When we kill this session and start again it runs with normal speed. Therefore we use golang solution with...

Golang + pgbouncer + postgresql

If you try to connect from go to pgbouncer you may see error message “pq: SSL is not enabled on the server” although when you connect directly into postgresql everything is working. If so you have possibilities: enable SSL on pgbouncer...