Re: Postgres abort found in 9.3.11 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Postgres abort found in 9.3.11
Date
Msg-id 13741.1473161663@sss.pgh.pa.us
Whole thread Raw
In response to Postgres abort found in 9.3.11  ("K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com>)
Responses Re: Postgres abort found in 9.3.11
List 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 by date:

Previous
From: Rajkumar Raghuwanshi
Date:
Subject: Re: Declarative partitioning - another take
Next
From: David Steele
Date:
Subject: Re: Proposal for changes to recovery.conf API