log shipping pg_standby

Lists: pgsql-hackers
From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: log shipping pg_standby
Date: 2008-10-14 10:25:02
Message-ID: 8D63158C-5DD2-4852-9F26-9EE6D9AE5CEC@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

After terminating recovery mode by creating a trigger file postgres
starts up and complains about missing WAL files in pg_xlog; The last
two which were replayed. Is this normal ?

Dave


From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Dave Cramer" <pg(at)fastcrypt(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log shipping pg_standby
Date: 2008-10-14 14:06:13
Message-ID: 48F46105.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

>>> Dave Cramer <pg(at)fastcrypt(dot)com> wrote:
> After terminating recovery mode by creating a trigger file postgres

> starts up and complains about missing WAL files in pg_xlog; The last

> two which were replayed. Is this normal ?

It is normal for recovery to ask for one or more files a second time
at the end. It's important not to discard files after processing the
first time. I don't know if that's the problem you're seeing.

-Kevin