Обсуждение: pgsql: If we don't have a backup-end-location, don't claim we've reache

Поиск
Список
Период
Сортировка

pgsql: If we don't have a backup-end-location, don't claim we've reache

От
Heikki Linnakangas
Дата:
If we don't have a backup-end-location, don't claim we've reached it.

This was apparently a typo, which caused recovery to think that it
immediately reached the end of backup, and allowed the database to start
up too early.

Reported by Jeff Janes. Backpatch to 9.2, where this code was introduced.

Branch
------
REL9_2_STABLE

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

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