Re: possible bug not in open items - Mailing list pgsql-bugs

From Tom Lane
Subject Re: possible bug not in open items
Date
Msg-id 2115.1239401042@sss.pgh.pa.us
Whole thread Raw
In response to Re: possible bug not in open items  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-bugs
Jeff Davis <pgsql@j-davis.com> writes:
> Thank you for the explanation. My initial thinking was that either
> DoingCommandRead would protect us (for SIGINT to the backend), or we
> were going to terminate the process anyway (for SIGTERM). But it sounds
> like it leaves us in a state so unsafe that we can't even abort the
> transaction nicely.

Well, we could presumably do exit(1) regardless.  But if the idea is to
have a clean shutdown, you have to get through proc_exit(), and that
requires essentially all the backend subsystems to be alive and
undamaged.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Jeff Davis
Date:
Subject: Re: possible bug not in open items
Next
From: Martin Pitt
Date:
Subject: Re: libpq 8.4 beta1: $PGHOST complains about missing root.crt