Re: Replication err - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Replication err
Date
Msg-id 20121003131806.GB3711@tux
Whole thread Raw
In response to Replication err  (Khizer <khizer@srishtisoft.com>)
List pgsql-general
Khizer <khizer@srishtisoft.com> wrote:

> Hi,
>
>       I am doing streaming replication master-slave with
> postgresql-9.0.4 , i am getting following err
> how do i correct this
>
>
>  streaming replication successfully connected to primary
> 2012-10-03 00:00:06 IST FATAL:  could not receive data from WAL stream:
> FATAL:  requested WAL segment 000000010000000000000011 has already been
> removed

Increase wal_keep_segments. Default is IIRC 0, set it, for instance, to 20 or higher.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pros and cons of two security models
Next
From: Shaun Thomas
Date:
Subject: Re: Replication err