Commit 55ef8555 authored by Andres Freund's avatar Andres Freund
parent 881933f1
...@@ -1385,7 +1385,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn ...@@ -1385,7 +1385,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
* a) allow isolationtester to notice that we're currently waiting for * a) allow isolationtester to notice that we're currently waiting for
* something. * something.
* b) log a new xl_running_xacts record where it'd be helpful, without having * b) log a new xl_running_xacts record where it'd be helpful, without having
* to write for bgwriter or checkpointer. * to wait for bgwriter or checkpointer.
* --- * ---
*/ */
static void static void
...@@ -1414,7 +1414,7 @@ SnapBuildWaitSnapshot(xl_running_xacts *running, TransactionId cutoff) ...@@ -1414,7 +1414,7 @@ SnapBuildWaitSnapshot(xl_running_xacts *running, TransactionId cutoff)
/* /*
* All transactions we needed to finish finished - try to ensure there is * All transactions we needed to finish finished - try to ensure there is
* another xl_running_xacts record in a timely manner, without having to * another xl_running_xacts record in a timely manner, without having to
* write for bgwriter or checkpointer to log one. During recovery we * wait for bgwriter or checkpointer to log one. During recovery we
* can't enforce that, so we'll have to wait. * can't enforce that, so we'll have to wait.
*/ */
if (!RecoveryInProgress()) if (!RecoveryInProgress())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment