You can also control the connectivity at application layer by using the tokens to connect to read only servers itself at the beginning. This can take care of failover scenerios as well
Thanks
Deepak
From: Fabio Pardi <f.pardi@xxxxxxxxxxxx>
Sent: Monday, May 27, 2019 4:02:27 PM
To: pgsql-admin@xxxxxxxxxxxxxxxxxxxx
Subject: Re: User management
Sent: Monday, May 27, 2019 4:02:27 PM
To: pgsql-admin@xxxxxxxxxxxxxxxxxxxx
Subject: Re: User management
Hi Anjul,
while not handy in case of failovers, you can easily handle it from
pg_hba.conf
regards,
fabio pardi
On 5/27/19 9:58 AM, Anjul Tyagi wrote:
>
> Is there to block the user on primary server and only access to
> replication server?
>
> We want to move all the read-only individual users to replication
> server, so that primary server will be available for application only.
>
>
>
>
>
> Regards,
>
> Anjul *TYAGI*
>
> * *
>
> *ü** **Go Green*
>
>
while not handy in case of failovers, you can easily handle it from
pg_hba.conf
regards,
fabio pardi
On 5/27/19 9:58 AM, Anjul Tyagi wrote:
>
> Is there to block the user on primary server and only access to
> replication server?
>
> We want to move all the read-only individual users to replication
> server, so that primary server will be available for application only.
>
>
>
>
>
> Regards,
>
> Anjul *TYAGI*
>
> * *
>
> *ü** **Go Green*
>
>