From fa12cb7f0241c767a072c980d75780c9ec036e01 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 9 Nov 2012 10:12:09 -0300 Subject: [PATCH] Remove leftover LWLockRelease() call This code was refactored in d5497b95 but an extra LWLockRelease call was left behind. Per report from Erik Rijkers --- src/backend/access/transam/xlogarchive.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/access/transam/xlogarchive.c b/src/backend/access/transam/xlogarchive.c index 93aca7375c..ce9dfaa960 100644 --- a/src/backend/access/transam/xlogarchive.c +++ b/src/backend/access/transam/xlogarchive.c @@ -342,7 +342,6 @@ ExecuteRecoveryCommand(char *command, char *commandName, bool failOnSignal) GetOldestRestartPoint(&restartRedoPtr, &restartTli); XLByteToSeg(restartRedoPtr, restartSegNo); XLogFileName(lastRestartPointFname, restartTli, restartSegNo); - LWLockRelease(ControlFileLock); /* * construct the command to be executed -- 2.40.0