8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796d1e8 commit 1e29e63Copy full SHA for 1e29e63
src/backend/access/transam/xlog.c
@@ -7862,13 +7862,11 @@ GetInsertRecPtr(void)
7862
XLogRecPtr
7863
GetFlushRecPtr(void)
7864
{
7865
- XLogRecPtr recptr;
7866
-
7867
SpinLockAcquire(&XLogCtl->info_lck);
7868
- recptr = XLogCtl->LogwrtResult.Flush;
+ LogwrtResult = XLogCtl->LogwrtResult;
7869
SpinLockRelease(&XLogCtl->info_lck);
7870
7871
- return recptr;
+ return LogwrtResult.Flush;
7872
}
7873
7874
/*
0 commit comments