Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> LOG: restored log file "00000001000000170000002B" from archive
> LOG: record with zero length at 17/2B6EACC8
> LOG: redo done at 17/2B6EAC84
It looks to me like you archived this log file before it was fully
written. You should take a close look at your archiving procedures.
regards, tom lane