Skip to content

Commit fa12cb7

Browse files
committed
Remove leftover LWLockRelease() call
This code was refactored in d5497b9 but an extra LWLockRelease call was left behind. Per report from Erik Rijkers
1 parent 732740e commit fa12cb7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/access/transam/xlogarchive.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ ExecuteRecoveryCommand(char *command, char *commandName, bool failOnSignal)
342342
GetOldestRestartPoint(&restartRedoPtr, &restartTli);
343343
XLByteToSeg(restartRedoPtr, restartSegNo);
344344
XLogFileName(lastRestartPointFname, restartTli, restartSegNo);
345-
LWLockRelease(ControlFileLock);
346345

347346
/*
348347
* construct the command to be executed

0 commit comments

Comments
 (0)