mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Revert 0f5ca02f53
0f5ca02f53
introduces 3 new keywords. It appears to be too much for relatively
small feature. Given now we past feature freeze, it's already late for
discussion of the new syntax. So, revert.
Discussion: https://postgr.es/m/28209.1586294824%40sss.pgh.pa.us
This commit is contained in:
@ -42,7 +42,6 @@
|
||||
#include "catalog/pg_database.h"
|
||||
#include "commands/progress.h"
|
||||
#include "commands/tablespace.h"
|
||||
#include "commands/wait.h"
|
||||
#include "common/controldata_utils.h"
|
||||
#include "executor/instrument.h"
|
||||
#include "miscadmin.h"
|
||||
@ -7157,7 +7156,6 @@ StartupXLOG(void)
|
||||
do
|
||||
{
|
||||
bool switchedTLI = false;
|
||||
XLogRecPtr minWaitedLSN;
|
||||
|
||||
#ifdef WAL_DEBUG
|
||||
if (XLOG_DEBUG ||
|
||||
@ -7361,17 +7359,6 @@ StartupXLOG(void)
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* If we replayed an LSN that someone was waiting for, set
|
||||
* latches in shared memory array to notify the waiter.
|
||||
*/
|
||||
minWaitedLSN = WaitLSNGetMin();
|
||||
if (!XLogRecPtrIsInvalid(minWaitedLSN) &&
|
||||
minWaitedLSN <= XLogCtl->lastReplayedEndRecPtr)
|
||||
{
|
||||
WaitLSNSetLatch(XLogCtl->lastReplayedEndRecPtr);
|
||||
}
|
||||
|
||||
/* Else, try to fetch the next WAL record */
|
||||
record = ReadRecord(xlogreader, LOG, false);
|
||||
} while (record != NULL);
|
||||
|
Reference in New Issue
Block a user