mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Remove leftover LWLockRelease() call
This code was refactored in d5497b95
but an extra LWLockRelease call was
left behind.
Per report from Erik Rijkers
This commit is contained in:
parent
732740e7d4
commit
fa12cb7f02
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user