Re: Starting Postgre DB in read write mode

From: Chander Jamwal <silvi(dot)jamwal(at)gmail(dot)com>
To: Ashwani Kumar B <ashwani(dot)b(dot)kumar(at)ericsson(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Starting Postgre DB in read write mode
Date: 2018-01-18 09:43:20
Message-ID: CABbzzyiTyFnGNR57iY0wPce6EMfppyWWuE2ZahtFPy_Sp8djsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Just set following and try to start your DB:

default_transaction_read_only=on;

in your postgresql.conf fie.

Regards,
Chander

On Thu, Jan 18, 2018 at 3:01 PM, Ashwani Kumar B <
ashwani(dot)b(dot)kumar(at)ericsson(dot)com> wrote:

> Hi
>
>
>
> Due to some upgrade activity, I break the master slave DB sync on two site.
>
>
>
> Now I want to start the DB of secondary site [Slave DB ] in read write
> mode so that I can update the DB manually. How can I do that as after break
> slave DB is working in read only mode.
>
>
>
>
>
> *Regards,*
>
> [image: Description: Description: Description: Description: line]
>
> *Ashwani Kumar*
> Ericsson India Global Services Private Limited
>
> [image: Description: Description:
> http://www.yourconferencecentre.com/ericsson/Brand/images/other/other_logo.gif]
> ashwani(dot)b(dot)kumar(at)ericsson(dot)com
>
> Mobile : +91 9999771339
>
> Skype ID : Ashwani.k.07
> www.ericsson.com
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2018-01-18 09:44:27 Re: Starting Postgre DB in read write mode
Previous Message Ashwani Kumar B 2018-01-18 09:31:51 Starting Postgre DB in read write mode