Re: [HACKERS] Postgres process invoking exit resulting in sh-QUIT core - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: [HACKERS] Postgres process invoking exit resulting in sh-QUIT core
Date
Msg-id CAMsr+YE_Bvf4+WFkJQ+m3X4bmj-jwX6N4C8JqF4qxWBK9yzGfQ@mail.gmail.com
Whole thread Raw
In response to [HACKERS] Postgres process invoking exit resulting in sh-QUIT core  ("K S, Sandhya (Nokia - IN/Bangalore)" <sandhya.k_s@nokia.com>)
Responses Re: [HACKERS] Postgres process invoking exit resulting in sh-QUITcore
List pgsql-hackers
On 7 July 2017 at 15:10, K S, Sandhya (Nokia - IN/Bangalore) <sandhya.k_s@nokia.com> wrote:

Hi Craig,

 

You were right about the restore_command.


This all makes sense then.

PostgreSQL sends SIGQUIT for immediate shutdown to its children. So the restore_command would get signalled too.

Can't immediately explain the exit code, and SIGQUIT should _not_ generate a core file. Can you show the result of attaching 'gdb' to the core file and running 'bt full' ?

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] pg_stop_backup(wait_for_archive := true) on standby server
Next
From: Kuntal Ghosh
Date:
Subject: Re: [HACKERS] Error while copying a large file in pg_rewind