Re: Re: [COMMITTERS] pgsql: Log replication connections only when log_connections is on

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Log replication connections only when log_connections is on
Date: 2011-01-19 15:16:39
Message-ID: 1295450199.3282.10177.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, 2011-01-19 at 09:08 -0500, Robert Haas wrote:
> On Wed, Jan 19, 2011 at 7:55 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> > How will we diagnose erratic connection problems now?
>
> As Heikki pointed out, the slave still logs this information, so we
> can look there. If that's enough, yeah, you'll have to turn
> log_connections on on the master, but I don't think that will be very
> frequent, and it's not an unmanageable burden anyway.

So now we have to check *all* of the standby logs in order to check that
replication on the master is working without problems. There will be no
default capability to tie up events on the master with failures of
replication. Events occurring on multiple standbys will not be picked up
as a correlated set of events.

It's possible, but its not a realistic alternative.

We've lost something and gained almost nothing. We need to avoid making
this kind of improvement.

--
Simon Riggs http://www.2ndQuadrant.com/books/
PostgreSQL Development, 24x7 Support, Training and Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Florian Pflug 2011-01-19 15:42:39 Re: Re: [COMMITTERS] pgsql: Log replication connections only when log_connections is on
Previous Message Robert Haas 2011-01-19 14:08:31 Re: Re: [COMMITTERS] pgsql: Log replication connections only when log_connections is on

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2011-01-19 15:35:22 Re: pl/python refactoring
Previous Message Heikki Linnakangas 2011-01-19 14:13:26 Re: limiting hint bit I/O