pgsql: Fix bug in streaming replication over multiple tli switches.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in streaming replication over multiple tli switches.
Date: 2013-01-02 12:37:46
Message-ID: E1TqNZq-00071J-8N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bug in streaming replication over multiple tli switches.

After receiving some WAL over streaming replication, try to open the file
from the timeline we're currently recieving, not recoveryTargetTLI. They
are usually the same, which is why wasn't noticed before, but you'd get
an error if there have been more than one timeline switch between the
current point in WAL and the recovery target.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d194d7a52630d855f43edbf0129e131099af6c14

Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2013-01-02 13:25:48 Re: pgsql: Unify some tar functionality across different parts
Previous Message Magnus Hagander 2013-01-02 09:06:14 Re: pgsql: Unify some tar functionality across different parts