## Postgre - Auditing Database Connections How to audit user connections in Postgre database using event based trigger/function. The idea is to record all user database login/logout actions in the table, and capture basic information i.e. userid, machineName and timestamp. Please help.
How to audit user connections in PostgreSQL database using event based database trigger/function. And record the results in the table.