Re: [GENERAL] Unexpected WAL-archive restore behaviour

2017-02-19 Thread Nikolay Petrov
> On 02/18/2017 02:06, Tomas Vondra wrote: > > What do you mean by "became unavailable"? The restore_command may be called > for segments that do not exist - that's expected, and I suspect the "gzip: > stdin: unexpected end of file" error messages are caused by that. > Sorry for my unclear de

[GENERAL] Unexpected WAL-archive restore behaviour

2017-02-18 Thread Nikolay Petrov
Hello everyone. I use postgresql 9.6.1 running under a debian 8 (master - slave hot standby streaming replication). I found out unexpected WAL-archive restore behaviour. master: wal_level = replica archive_mode = on archive_command = 'gzip < %p > /var/lib/postgres/archives/%f' slave