aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-03-07 12:18:41 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-03-07 12:22:14 +0200
commit51616dcda47a416ef3169dc3d1f3ca199d7a4a5d (patch)
treecfc28e7651d09538e811eeae5c8b9fdcb363419c /src/backend/executor/nodeModifyTable.c
parentd009f9036d62762b6a261055e7417ae911233853 (diff)
downloadpostgresql-51616dcda47a416ef3169dc3d1f3ca199d7a4a5d.tar.gz
postgresql-51616dcda47a416ef3169dc3d1f3ca199d7a4a5d.zip
Fix tli history file fetching, broken by the archive after crash recevery patch.
If we were about to enter archive recovery after crash recovery, we scanned the archive for the latest tli history file, and set the recovery target timeline to that. However, when we actually tried to read the history file, we would not fetch the file from the archive, because we were not in archive recovery yet. To fix, make readTimeLineHistory and existsTimeLineHistory to always fetch the file from archive if archive recovery is requested, even if we're not in archive recovery yet. Backpatch to 9.2. Mitsumasa KONDO
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions