[PATCH]Add a tip to the check mode

Поиск
Список
Период
Сортировка
От Wen Yi
Тема [PATCH]Add a tip to the check mode
Дата
Msg-id tencent_A8FDAB49A68A90F171166E30D2982E507508@qq.com
обсуждение исходный текст
Ответы Re: [PATCH]Add a tip to the check mode
Список pgsql-hackers
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);
        CheckerModeMain();
        abort();
    }

Instead of

if (check_only)
    {
        SetProcessingMode(NormalProcessing);
        CheckerModeMain();
        printf("PostgreSQL check success, there's no problem\n");
        abort();
    }

Yours,
Wen Yi
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Support to define custom wait events for extensions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: unrecognized node type while displaying a Path due to dangling pointer