Re: Some 9.5beta2 backend processes not terminating properly?

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Shay Rojansky <roji(at)roji(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Some 9.5beta2 backend processes not terminating properly?
Date: 2015-12-30 17:44:54
Message-ID: 20151230174454.f2ls6vt6jjcofy27@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2015-12-30 12:41:56 -0500, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > FWIW, the
> > if (sock == PGINVALID_SOCKET)
> > wakeEvents &= ~(WL_SOCKET_READABLE | WL_SOCKET_WRITEABLE);
> > block in both latch implementations looks like a problem waiting to happen.
>
> You think it should throw an error instead? Seems reasonable to me.

Yea. Error or maybe just an assert. That path seems to always indicate
something having gone wrong.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shay Rojansky 2015-12-30 17:47:11 Re: Some 9.5beta2 backend processes not terminating properly?
Previous Message Tom Lane 2015-12-30 17:44:40 Re: rows estimate in explain analyze for the BRIN index