mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Avoid unnecessary public struct declaration in slru.h
Instead, declare a public wrapper of the sole function using it for external callers, so that they don't have to always pass a NULL argument. Author: Kevin Grittner
This commit is contained in:
@ -205,7 +205,7 @@ BootStrapSUBTRANS(void)
|
||||
slotno = ZeroSUBTRANSPage(0);
|
||||
|
||||
/* Make sure it's written out */
|
||||
SimpleLruWritePage(SubTransCtl, slotno, NULL);
|
||||
SimpleLruWritePage(SubTransCtl, slotno);
|
||||
Assert(!SubTransCtl->shared->page_dirty[slotno]);
|
||||
|
||||
LWLockRelease(SubtransControlLock);
|
||||
|
Reference in New Issue
Block a user