Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24
Date
Msg-id 16671.1507645188@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Tom Lane wrote:
>> Hmm ... I suppose it's possible that that happens if the listening
>> backend isn't executing any SQL commands but is just sitting.
>> While that might describe your test harness, does it describe any
>> real-world application?

> I think it's not totally unreasonable to have processes sitting idle for
> long periods of time.

Sure, but if they're truly idle, they aren't looking at RecentXmin ;-)

> Would they not recompute RecentXmin if they did a
> sinval reset?

Not sure, but if not, maybe making that code path update it would be
a suitable fix in practice?  I'm a bit hesitant to put a GetSnapshotData
call into ProcessIncomingNotify, because of the possibility of adding a
lot of contention on the ProcArray if there's very heavy notify traffic.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: John McKown
Date:
Subject: Re: [BUGS] please quote POSTGRESQL
Next
From: Дилян Палаузов
Date:
Subject: [BUGS] ./configure error: Cannot find a working 64-bit integer type