On 2/20/2015 5:21 PM, Patrick Donnelly wrote: > This conflicts with [2]: > > "Whenever a write operation occurs, the writer checks how much > progress the checkpointer has made, and if the entire WAL has been > transferred into the database and synced and if no readers are making > use of the WAL, then the writer will rewind the WAL back to the > beginning and start putting new transactions at the beginning of the > WAL. This mechanism prevents a WAL file from growing without bound." > > So if a reader begins a transaction before the next writer, then the > log file will not be restarted?
"Begins a transaction" != "is making use of the WAL". -- Igor Tandetnik