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 15645.1507643938@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24  (Marko Tiikkaja <marko@joh.to>)
Responses Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24
Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24
List pgsql-bugs
Marko Tiikkaja <marko@joh.to> writes:
> So I managed to accidentally kill and/or restart both servers while trying
> to install debug symbols, but I'm doing a new run now and I noticed
> something interesting: the listening backend's RecentXmin doesn't seem to
> ever go forward.  By my reading of this code, that would mean trouble for
> this piece of code in TransactionIdIsInProgress:

>   if (TransactionIdPrecedes(xid, RecentXmin))
>       return false;

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?
        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: Petr Jelinek
Date:
Subject: Re: [BUGS] 10.0: Logical replication doesn't execute BEFORE UPDATE OF trigger
Next
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #14830: Missed NOTIFications, PostgreSQL 9.1.24