Re: [PATCH]Add a tip to the check mode

2023-07-12 Thread Wen Yi
I'm so sorry for my careless, you're right. But I still think there should add a tip to our user when there's check ok, because when I use the check mode, it didn't give me any message (If there's no error happend) and just exit, like this: [beginnerc@bogon devel]$ postgres --check -D

Re: [PATCH]Add a tip to the check mode

2023-07-11 Thread Matthias van de Meent
On Tue, 11 Jul 2023 at 15:11, Wen Yi wrote: > > Hi community, > when I learn the source of PostgreSQL, I think it's better to add a tip to > the postgres "check mode", this can help the postgres's user when they check > the postgres's data directory. > > src/backend/bootstrap/bootstrap.c > > if

[PATCH]Add a tip to the check mode

2023-07-11 Thread Wen Yi
Hi community, when I learn the source of PostgreSQL, I think it's better to add a tip to the postgres "check mode", this can help the postgres's user when they check the postgres's data directory. src/backend/bootstrap/bootstrap.c if (check_only) { SetProcessingMode(NormalProcessing);