mirror of
https://github.com/postgres/postgres.git
synced 2025-09-06 13:46:51 +03:00
Fix typos in the code
Author: Vignesh C Reviewed-by: Dilip Kumar, Michael Paquier Discussion: https://postgr.es/m/CALDaNm0ni+GAOe4+fbXiOxNrVudajMYmhJFtXGX-zBPoN8ixhw@mail.gmail.com
This commit is contained in:
@@ -1208,7 +1208,7 @@ BufferAlloc(SMgrRelation smgr, char relpersistence, ForkNumber forkNum,
|
||||
LWLockAcquire(newPartitionLock, LW_EXCLUSIVE);
|
||||
/* remember we have no old-partition lock or tag */
|
||||
oldPartitionLock = NULL;
|
||||
/* this just keeps the compiler quiet about uninit variables */
|
||||
/* keep the compiler quiet about uninitialized variables */
|
||||
oldHash = 0;
|
||||
}
|
||||
|
||||
|
@@ -636,7 +636,7 @@ PublishStartupProcessInformation(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Used from bufgr to share the value of the buffer that Startup waits on,
|
||||
* Used from bufmgr to share the value of the buffer that Startup waits on,
|
||||
* or to reset the value to "not waiting" (-1). This allows processing
|
||||
* of recovery conflicts for buffer pins. Set is made before backends look
|
||||
* at this value, so locking not required, especially since the set is
|
||||
|
Reference in New Issue
Block a user