Hello guys,<br /><br />I'm writing a function that will read data from the buffer in xlog (i.e. from XLogCtl->pages
andXLogCtl->xlblocks). I want to make sure that I am doing it correctly.<br />For reading from the buffer, do I need
tolock WALInsertLock or WALWriteLock? Also, can you explain a bit the usage of 'LW_SHARED'. Can we use it for read
purposes?<br/><br />Thanks a lot.<br /><br /><br />