Re: Postgres abort found in 9.3.11

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres abort found in 9.3.11
Дата
Msg-id 13741.1473161663@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres abort found in 9.3.11  ("K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com>)
Ответы Re: Postgres abort found in 9.3.11  ("K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com>)
Список pgsql-hackers
"K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com> writes:
> I was able to find a patch file where there is a call to ExitPostmaster() in postmaster.c . 

> @@ -3081,6 +3081,11 @@
>         shmem_exit(1);
>         reset_shared(PostPortNumber);
> +       /* recovery termination */
> +       ereport(FATAL,
> +           (errmsg("recovery termination due to process crash")));
> +       ExitPostmaster(99);
> +
>         StartupPID = StartupDataBase();
>         Assert(StartupPID != 0); 
>         pmState = PM_STARTUP;

There's no such code in the community sources, and I can't say that
such a patch looks like a bright idea to me.  It would disable any
restart after a crash (not only during recovery).

If you're running a version with assorted random non-community patches,
we can't really offer much support for that.
        regards, tom lane



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

Предыдущее
От: Rajkumar Raghuwanshi
Дата:
Сообщение: Re: Declarative partitioning - another take
Следующее
От: David Steele
Дата:
Сообщение: Re: Proposal for changes to recovery.conf API