"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> I've now thought about how to fix that without doing that rather crude rsync-pg_xlog-hack.
> I've read through the code, and learned that wal-segments are expected to have a specific size -
> thus rotating them "early" is not that easy.
Simon was working on a patch for this at the code sprint; I think it's
submitted to -patches already. Explicitly filling the segment as you
propose would be really bad for performance.
regards, tom lane