pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Craig Ringer <ringerc@ringerc.id.au>
Cc: petsku@petteriraty.eu
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7549: max_connections check should query master when starting standby
Date: Wed, 26 Sep 2012 12:04:04 -0400
Message-ID: <20120926160404.GD11785@momjian.us> (raw)
In-Reply-To: <CAHGQGwGw1BTuNa+F3m1CXtcVP3Gr2Mved+rC4Q+c0pMG2npAsw@mail.gmail.com>
References: <E1TDgQA-0003l9-Hq@wrigleys.postgresql.org>
	<CAHGQGwE8D9QhK1f-=ExWkp3MjR4Hrpkf4Di5a_fi4Tr-8wnNAA@mail.gmail.com>
	<505818AD.9000405@ringerc.id.au>
	<5058193F.4020402@vmware.com>
	<CAHGQGwGw1BTuNa+F3m1CXtcVP3Gr2Mved+rC4Q+c0pMG2npAsw@mail.gmail.com>

On Tue, Sep 18, 2012 at 09:09:13PM +0900, Fujii Masao wrote:
> On Tue, Sep 18, 2012 at 3:48 PM, Heikki Linnakangas
> <hlinnakangas@vmware.com> wrote:
> > On 18.09.2012 09:46, Craig Ringer wrote:
> >>
> >> On 09/18/2012 07:57 AM, Fujii Masao wrote:
> >>>
> >>> If you change the max_connections on the master, you need to take a
> >>> fresh backup from the master and start the standby from it.
> >>
> >>
> >> WTF, really?
> >
> >
> > No. It's enough to bump up max_connections on the standby, and restart.
> 
> Hmm... Petteri wants to solve the issue without changing anything
> on the standby, according to his original post. So in his case, a fresh
> backup is required.
> 
> Of course my previous answer was confusing...

I assume you mean the slave needs an updated copy of the master's
config file changes, not an entire copy of the data directory.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +




view thread (8+ messages)

Message-ID: <20120926160404.GD11785@momjian.us>
Permalink:  ../20120926160404.GD11785@momjian.us/
Also on:    postgresql.org/message-id/20120926160404.GD11785@momjian.us

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, masao.fujii@gmail.com, hlinnakangas@vmware.com, ringerc@ringerc.id.au, petsku@petteriraty.eu
  Subject: Re: BUG #7549: max_connections check should query master when starting standby
  In-Reply-To: <20120926160404.GD11785@momjian.us>
  References: <E1TDgQA-0003l9-Hq@wrigleys.postgresql.org> <CAHGQGwE8D9QhK1f-=ExWkp3MjR4Hrpkf4Di5a_fi4Tr-8wnNAA@mail.gmail.com> <505818AD.9000405@ringerc.id.au> <5058193F.4020402@vmware.com> <CAHGQGwGw1BTuNa+F3m1CXtcVP3Gr2Mved+rC4Q+c0pMG2npAsw@mail.gmail.com> <20120926160404.GD11785@momjian.us>

* 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