Nico Sabbi wrote:
>
>
> but "cp /tmp/pg//000000010000000000000021 pg_xlog/RECOVERYXLOG" looks
suspicious to me.
>
Works for me [clip from process listing]:
postgres 12864 12863 0 18:36 ? 00:00:00 cp
/wal/00000001000000E100000035 pg_xlog/RECOVERYXLOG
I think RECOVERYXLOG should be overwritten every time (the -l mode also
recreates RECOVERYXLOG link that points to the latest wal).
BTW thanks to Simon Riggs for pg_standby, it works very well!
Regards
MP