aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2024-04-11 16:30:32 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2024-04-11 17:28:15 +0300
commit772faafca1b288c4dd66b7150a7831c27b768003 (patch)
tree53ccb481bb8e8ca93feff18555734b706aa4ad7c /src/backend/access/transam/xlog.c
parent922c4c461d213a422ee7eb6c38e399607539210a (diff)
downloadpostgresql-772faafca1b288c4dd66b7150a7831c27b768003.tar.gz
postgresql-772faafca1b288c4dd66b7150a7831c27b768003.zip
Revert: Implement pg_wal_replay_wait() stored procedure
This commit reverts 06c418e163, e37662f221, bf1e650806, 25f42429e2, ee79928441, and 74eaf66f98 per review by Heikki Linnakangas. Discussion: https://postgr.es/m/b155606b-e744-4218-bda5-29379779da1a%40iki.fi
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index e3fb26f5abe..34a2c71812d 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -66,7 +66,6 @@
#include "catalog/catversion.h"
#include "catalog/pg_control.h"
#include "catalog/pg_database.h"
-#include "commands/waitlsn.h"
#include "common/controldata_utils.h"
#include "common/file_utils.h"
#include "executor/instrument.h"
@@ -6131,12 +6130,6 @@ StartupXLOG(void)
LWLockRelease(ControlFileLock);
/*
- * Wake up all waiters for replay LSN. They need to report an error that
- * recovery was ended before achieving the target LSN.
- */
- WaitLSNSetLatches(InvalidXLogRecPtr);
-
- /*
* Shutdown the recovery environment. This must occur after
* RecoverPreparedTransactions() (see notes in lock_twophase_recover())
* and after switching SharedRecoveryState to RECOVERY_STATE_DONE so as