1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00
Files
postgres/src/backend
Heikki Linnakangas e45057e0a7 Don't set reachedMinRecoveryPoint during crash recovery. In crash recovery,
we don't reach consistency before replaying all of the WAL. Rename the
variable to reachedConsistency, to make its intention clearer.

In master, that was an active bug because of the recent patch to
immediately PANIC if a reference to a missing page is found in WAL after
reaching consistency, as Tom Lane's test case demonstrated. In 9.1 and 9.0,
the only consequence was a misleading "consistent recovery state reached at
%X/%X" message in the log at the beginning of crash recovery (the database
is not consistent at that point yet). In 8.4, the log message was not
printed in crash recovery, even though there was a similar
reachedMinRecoveryPoint local variable that was also set early. So,
backpatch to 9.1 and 9.0.
2011-12-09 15:30:23 +02:00
..
2011-06-19 00:39:19 +03:00
2011-01-01 13:18:15 -05:00
2011-06-09 14:32:50 -04:00
2011-12-01 23:03:05 +02:00
2011-06-09 14:32:50 -04:00
2011-01-01 13:18:15 -05:00
2011-06-09 14:32:50 -04:00
2011-09-22 23:24:25 +03:00