pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reimplement nullification of walsender timestamp
Date: Wed, 08 Jan 2020 17:34:18 +0000
Message-ID: <E1ipFDm-0002G8-Oj@gemulon.postgresql.org> (raw)

Reimplement nullification of walsender timestamp

Make the value null only at pg_stat_activity-output time, as suggested
by Tom Lane, instead of messing with the internal state.  This should
appease buildfarm members with force_parallel_mode=regress, which are
running parallel queries on logical replication walsenders.

The fact that walsenders can run parallel queries should perhaps be
studied more carefully, but for the moment let's get rid of the red
blots in buildfarm.

Backpatch to pg10, like the previous commit.

Discussion: https://postgr.es/m/30804.1578438763@sss.pgh.pa.us

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/af43581e8b297b2527e0b1716b616b7ea1fc496f

Modified Files
--------------
src/backend/access/transam/xact.c   | 7 -------
src/backend/utils/adt/pgstatfuncs.c | 8 +++++++-
2 files changed, 7 insertions(+), 8 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1ipFDm-0002G8-Oj@gemulon.postgresql.org>
Permalink:  ../E1ipFDm-0002G8-Oj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ipFDm-0002G8-Oj@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Reimplement nullification of walsender timestamp
  In-Reply-To: <E1ipFDm-0002G8-Oj@gemulon.postgresql.org>
  References: <E1ipFDm-0002G8-Oj@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox