mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix inconsistencies and typos in the tree, take 9
This addresses more issues with code comments, variable names and unreferenced variables. Author: Alexander Lakhin Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
This commit is contained in:
@ -265,7 +265,6 @@ CreateSharedProcArray(void)
|
||||
&found);
|
||||
}
|
||||
|
||||
/* Register and initialize fields of ProcLWLockTranche */
|
||||
LWLockRegisterTranche(LWTRANCHE_PROC, "proc");
|
||||
}
|
||||
|
||||
|
@ -1251,7 +1251,7 @@ shm_mq_inc_bytes_written(shm_mq *mq, Size n)
|
||||
pg_atomic_read_u64(&mq->mq_bytes_written) + n);
|
||||
}
|
||||
|
||||
/* Shim for on_dsm_callback. */
|
||||
/* Shim for on_dsm_detach callback. */
|
||||
static void
|
||||
shm_mq_detach_callback(dsm_segment *seg, Datum arg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user