One more point here why do we need CommitLock before callingSimpleLruReadPage_ReadOnly() in the patch and if it is not required,then can we use LWLockAcquire(shared->buffer_locks[slotno], LW_EXCLUSIVE);instead of CommitLock?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных