Commit fa12cb7f authored by Alvaro Herrera's avatar Alvaro Herrera

Remove leftover LWLockRelease() call

This code was refactored in d5497b95 but an extra LWLockRelease call was
left behind.

Per report from Erik Rijkers
parent 732740e7
...@@ -342,7 +342,6 @@ ExecuteRecoveryCommand(char *command, char *commandName, bool failOnSignal) ...@@ -342,7 +342,6 @@ ExecuteRecoveryCommand(char *command, char *commandName, bool failOnSignal)
GetOldestRestartPoint(&restartRedoPtr, &restartTli); GetOldestRestartPoint(&restartRedoPtr, &restartTli);
XLByteToSeg(restartRedoPtr, restartSegNo); XLByteToSeg(restartRedoPtr, restartSegNo);
XLogFileName(lastRestartPointFname, restartTli, restartSegNo); XLogFileName(lastRestartPointFname, restartTli, restartSegNo);
LWLockRelease(ControlFileLock);
/* /*
* construct the command to be executed * construct the command to be executed
......
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