On Tue, 2013-06-25 at 09:46 -0400, Tom Lane wrote:
> "Yuri Levinsky" <yuril@celltick.com> writes:
> > PANIC: could not write to log file 81, segment 125 at offset 13959168,
> > length 1392640: No space left on device
>
> That's definitely telling you it got ENOSPC from a write in
> $PGDATA/pg_xlog.
Either that, or write() wrote less than expected but did not set errno.
It looks like we assume ENOSPC when errno is not set.
Regards,
Jeff Davis