Re: Can database access for roles be different on the hot standby server vs the master server?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Mark Steben <mark(dot)steben(at)drivedominion(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Can database access for roles be different on the hot standby server vs the master server?
Date: 2018-05-14 18:00:02
Message-ID: CAKFQuwZFLYcBTnJTykFciLhtB2Yf3twkACNkcUvbr5Cb-g49=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday, May 14, 2018, Mark Steben <mark(dot)steben(at)drivedominion(dot)com> wrote:

> Hello,
>
> I just implemented two instances of hot standby psql databases on a server
> for the purpose of developer queries and reports. The primary servers are
> our production servers. Is it possible to revoke the access by developers
> on production while giving them read access on the standby?
>

Setup the pg_hba.conf file to prevent connection on the master? Said file
isn't part of the replication.

David J.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Johannes Truschnigg 2018-05-14 18:31:54 Re: Streaming Replication Networking Best Practices?
Previous Message arvind chikne 2018-05-14 17:59:22 Master slave replication