Use pgbouncer and leverage auth_query option. Can capture logins to table, trigger if necessary. No logout / disconnect equivalent tho.
-Greg
On Mon, Aug 20, 2018, 5:08 AM pavan95 <pavan.postgresdba@xxxxxxxxx> wrote:
Hi Shreyansh,
Is there any alternate approach without logging into log file??
Regards,
Pavan
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html