Simon Riggs <simon@xxxxxxxxxxxxxxx> writes: > PreallocXlogFiles() adds only a *single* xlog file, sometimes. Hm, you are right. I wonder why it's so unaggressive ... perhaps because under normal circumstances we soon settle into a steady state where each checkpoint recycles the right number of files. regards, tom lane