pgsql: Reimplement nullification of walsender timestamp - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Reimplement nullification of walsender timestamp
Date
Msg-id E1ipFDm-0002G4-Nq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve the handling of result type coercions in SQL functions.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Modernize Python exception syntax in tests