1 S postgres 5038 876 0 80 0 - 11962 sk_wai 09:57 ? 00:00:00 postgres: postgres my_app ::1(45035) idle
A possible workaround that allows to enable database session timeout without an external scheduled task is to use the extension pg_timeout that I have developped.