Commit 5a38af7f authored by Tom Lane's avatar Tom Lane

Rearrange XLogFileInit so that control-file spinlock is not held while filling

the new log file with zeroes, only while renaming it into place.  This should
prevent problems with 'stuck spinlock' errors under heavy load.
parent 5dc0e67b
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment