Re: PANIC :Call AbortTransaction when transaction id is no normal

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thunder <thunder1(at)126(dot)com>
Cc: "Michael Paquier" <michael(at)paquier(dot)xyz>, "Kuntal Ghosh" <kuntalghosh(dot)2007(at)gmail(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PANIC :Call AbortTransaction when transaction id is no normal
Date: 2019-05-14 03:28:51
Message-ID: 13093.1557804531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

[ please don't top-post on the PG lists ]

Thunder <thunder1(at)126(dot)com> writes:
> At 2019-05-14 07:53:36, "Michael Paquier" <michael(at)paquier(dot)xyz> wrote:
>> On Mon, May 13, 2019 at 09:37:32AM -0400, Tom Lane wrote:
>>> But ... that code's been like that for decades and nobody's complained
>>> before. Why are we worried about bootstrap's response to signals at all?

> On our server when process crash and core dump file generated we will receive complaining phone call.
> That's why i try to fix it.

OK, that's fair. The SIG_DFL change I suggested will fix that problem
for SIGINT etc (except SIGQUIT, for which you should be *expecting*
a core file). I agree with Michael that we do not wish to change what
happens for an internal error; but external signals do not represent
a bug in PG, so forcing a PANIC for those seems unwarranted.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-05-14 03:29:59 Re: VACUUM can finish an interrupted nbtree page split -- is that okay?
Previous Message Peter Geoghegan 2019-05-14 03:18:20 Re: VACUUM can finish an interrupted nbtree page split -- is that okay?