Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby - Mailing list pgsql-admin

From Julien Rouhaud
Subject Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby
Date
Msg-id CAOBaU_ZGojCrNv9=H1QY0Kq_Qi=FMO5Y6whGL=g52OQmU=yWVA@mail.gmail.com
Whole thread Raw
In response to Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby  (Hong Yao <yahoon1982@gmail.com>)
List pgsql-admin
Le mar. 29 sept. 2020 à 11:05, Hong Yao <yahoon1982@gmail.com> a écrit :
Thank you, Ian.

Is there a way to get rid of these msgs?

Please don't top post on this mailing list. 

Those logs are harmless, but if you want to get rid of them you simply need to write a small script that first check if the file exists, and exit with a non zero return code if the wanted file doesn't exist. 

pgsql-admin by date:

Previous
From: Hong Yao
Date:
Subject: Re: many "cp: cannot stat xxx No such file or directory" logs in warm standby
Next
From: "David G. Johnston"
Date:
Subject: many "cp: cannot stat xxx No such file or directory" logs in warm standby