From: Robert Zenz <robert.zenz@sibvisions.com>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Stopping writes in master
Date: Thu, 14 Jun 2018 11:06:41 +0000
Message-ID: <5B224C42.6060107@sibvisions.com> (raw)
In-Reply-To: <CAF6DVKMNN845W+MCRPXhJQH=a2-uBcKwktx7353a-fs4YR1OQg@mail.gmail.com>
References: <CAF6DVKMNN845W+MCRPXhJQH=a2-uBcKwktx7353a-fs4YR1OQg@mail.gmail.com>
Can existing connections be dropped or do they need to stay established? Also,
are you trying to switch the database to a read-only mode for backup purposes or
something different?
On 14.06.2018 12:46, Debraj Manna wrote:
> Hi
>
> In a 3 node cluster with 1 master and 2 slaves with postgres 10.4 is there
> any configuration setting that will stop all writes to the master from the
> client. But the clients can read data from master and other slaves ?
>
> Thanks,
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: robert.zenz@sibvisions.com, pgsql-admin@lists.postgresql.org
Subject: Re: Stopping writes in master
In-Reply-To: <5B224C42.6060107@sibvisions.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox