Re: please update ps display for recovery checkpoint - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: please update ps display for recovery checkpoint
Date
Msg-id YMFsVC8vMa+lGFrG@paquier.xyz
Whole thread Raw
In response to Re: please update ps display for recovery checkpoint  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
On Sun, Jun 06, 2021 at 09:13:48PM -0500, Justin Pryzby wrote:
> Putting this into fd.c seems to assume that we can clobber "ps", which is fine
> when called by StartupXLOG(), but it's a public interface, so I'm not sure if
> it's okay to assume that's the only caller.  Maybe it should check if
> MyAuxProcType == B_STARTUP.

I would be tempted to just add that into StartupXLOG() rather than
implying that callers of SyncDataDirectory() are fine to get their ps
output enforced all the time.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: please update ps display for recovery checkpoint
Next
From: Michael Paquier
Date:
Subject: Re: alter table set TABLE ACCESS METHOD