Re: add recovery, backup, archive, streaming etc. activity messages to server logs along with ps display
От | Bharath Rupireddy |
---|---|
Тема | Re: add recovery, backup, archive, streaming etc. activity messages to server logs along with ps display |
Дата | |
Msg-id | CALj2ACVNCfCe51uqYMFNT+1KDFXqpSd6FiONRg6ghyz+mAs4WQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: add recovery, backup, archive, streaming etc. activity messages to server logs along with ps display (Michael Paquier <michael@paquier.xyz>) |
Ответы |
Re: add recovery, backup, archive, streaming etc. activity messages to server logs along with ps display
|
Список | pgsql-hackers |
On Thu, Dec 9, 2021 at 7:56 AM Michael Paquier <michael@paquier.xyz> wrote: > > On Wed, Dec 08, 2021 at 04:57:49PM +0530, Bharath Rupireddy wrote: > > Done in the attached v5 patch. > > Thanks for the new version. FWIW, as the information logged when > recovering a WAL segment from the local pg_wal could be rather > confusing at bootstrap phase, I would suggest to simplify things as of > the attached and call it a day. Thanks for the patch. It looks good to me. I have a suggestion: It's better if we specify why we are not emitting any message if the WAL segment is found in pg_wal directory, something like "we are intentionally not emitting any messages in case if the required WAL segment is found in the pg_wal directory to avoid noise in the server logs". + case XLOG_FROM_PG_WAL: + case XLOG_FROM_ANY: + break; Regards, Bharath Rupireddy.
В списке pgsql-hackers по дате отправления: