Move the check for whether we've reached a safe starting point *before*
authorHeikki Linnakangas <heikki@enterprisedb.com>
Thu, 29 Jan 2009 19:46:43 +0000 (21:46 +0200)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Thu, 29 Jan 2009 19:46:43 +0000 (21:46 +0200)
commitd464d8e87c7bea818abbc68b83886105f2171e65
treec5a3e4b6740bfd1341e1a6f94150ef79ea8f5ff3
parent8d912e1bddeee43bbe657ca7ab7ae6154a8ed93b
Move the check for whether we've reached a safe starting point *before*
checking if we've reached the recovery target. Otherwise, if the first safe
starting point is at the exact same record as the recovery target, we'd
fail to start up.
src/backend/access/transam/xlog.c