postgresql/src
Heikki Linnakangas 7ccefe8610 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
2013-03-07 12:33:24 +02:00
..
backend Fix tli history file fetching, broken by the archive after crash recevery patch. 2013-03-07 12:33:24 +02:00
bin Add fe_memutils.c to nls.mk where used 2013-03-06 23:45:16 -05:00
common Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
include Fix tli history file fetching, broken by the archive after crash recevery patch. 2013-03-07 12:33:24 +02:00
interfaces Fix overflow check in tm2timestamp (this time for sure). 2013-03-04 15:13:31 -05:00
makefiles Blind attempt at fixing the non-MSVC Windows builds 2013-02-22 11:51:15 -03:00
pl Remove dependency on the DLL of pythonxx.def file. 2013-03-05 19:24:29 -05:00
port Add standard file header comment to quotes.c. 2013-02-27 18:42:40 +02:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Add a materialized view relations. 2013-03-03 18:23:31 -06:00
timezone Add new timezone abbrevation "FET". 2013-01-14 14:45:40 -05:00
tools Fix message typo. 2013-03-06 09:53:38 -05:00
tutorial Modernize string literal syntax in tutorial example. 2013-01-19 17:20:32 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.shlib Remove configure flag --disable-shared, as it is no longer used by any 2012-08-30 16:26:53 -04:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00