On Jun 10, 2020, at 4:25 PM, Michael Paquier <mich...@paquier.xyz<mailto:mich...@paquier.xyz>> wrote:
Idle sessions staying around can be a problem in the long run as they impact snapshot building. You could for example use a background worker to do this work, like that: https://github.com/michaelpq/pg_plugins/tree/master/kill_idle Why not implement it in the core of Postgres? Are there any disadvantages of implementing it in the core of Postgres? Japin Li