Allow user to connect to replicas only

From: Wiwwo Staff <wiwwo(at)wiwwo(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Allow user to connect to replicas only
Date: 2022-08-04 13:42:00
Message-ID: CAFe70G5zC4RujDs-OCoN+B3sbR7zTAWvkcV=zHiYkUyC5K_8XA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!
Is there any way to create a user allowed to connect to a/any read replica
only, as in "not allowed to connect to primary"?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2022-08-04 13:56:53 Re: Allow user to connect to replicas only
Previous Message Tom Lane 2022-08-04 13:38:36 Re: Index only scans for expressional indices when querying for the expression