diff options
author | Noah Misch <noah@leadboat.com> | 2021-06-28 18:34:55 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2021-06-28 18:34:55 -0700 |
commit | c53c6b98d38a4d238b2fe2ddcea63c33b0a61376 (patch) | |
tree | f57742a551845e4816f4a51cba7c518a5550855f /src/include/access/xlog.h | |
parent | 7ac10f692054e2690aa6f80efdd98bd283c94b10 (diff) | |
download | postgresql-c53c6b98d38a4d238b2fe2ddcea63c33b0a61376.tar.gz postgresql-c53c6b98d38a4d238b2fe2ddcea63c33b0a61376.zip |
Remove XLogFileInit() ability to skip ControlFileLock.
Cold paths, initdb and end-of-recovery, used it. Don't optimize them.
Discussion: https://postgr.es/m/20210202151416.GB3304930@rfd.leadboat.com
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 77187c12beb..a1756490bf8 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -296,7 +296,7 @@ extern XLogRecPtr XLogInsertRecord(struct XLogRecData *rdata, extern void XLogFlush(XLogRecPtr RecPtr); extern bool XLogBackgroundFlush(void); extern bool XLogNeedsFlush(XLogRecPtr RecPtr); -extern int XLogFileInit(XLogSegNo segno, bool *use_existent, bool use_lock); +extern int XLogFileInit(XLogSegNo segno, bool *use_existent); extern int XLogFileOpen(XLogSegNo segno); extern void CheckXLogRemoved(XLogSegNo segno, TimeLineID tli); |