diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-01-02 14:35:15 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-01-02 14:35:15 +0200 |
commit | d194d7a52630d855f43edbf0129e131099af6c14 (patch) | |
tree | 89ece4099f524f5d25234b10aba20ea55fc3c0b4 /src/backend/tcop/postgres.c | |
parent | 4ffd589f44b8687cee1714c5c63f03487b2ae570 (diff) | |
download | postgresql-d194d7a52630d855f43edbf0129e131099af6c14.tar.gz postgresql-d194d7a52630d855f43edbf0129e131099af6c14.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions