Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> 2008-11-05 11:43:45 EST [14853] LOG: selected new timeline ID: 4
> 2008-11-05 11:43:45 EST [14853] LOG: archive recovery complete
> 2008-11-05 11:43:48 EST [14853] FATAL: could not open file "pg_xlog/
> 00000004000016ED0000007F" (log file 5869, segment 127): Invalid argument
"Invalid argument"?? On the platforms I have handy, the only documented
reason for open(2) to fail with EINVAL is illegal value of the flags
argument, which should be impossible. What platform is this and what
wal_sync_method are you using?
regards, tom lane