Re: How to enable Logon Trigger in postgres?

From: Greg Spiegelberg <gspiegelberg(at)gmail(dot)com>
To: pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>
Cc: "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to enable Logon Trigger in postgres?
Date: 2018-08-20 13:45:11
Message-ID: CAEtnbpXhk6N8_UozWpibwtfMuYHt7agvmexMBLYt7vUAXgkZ+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(dot)postgresdba(at)gmail(dot)com> 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
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Williams 2018-08-20 14:51:46 RE: Setting up SSL for postgre
Previous Message Evan Bauer 2018-08-20 13:36:14 Re: Setting up SSL for postgre