]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Reimplement nullification of walsender timestamp
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 8 Jan 2020 17:33:49 +0000 (14:33 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 8 Jan 2020 17:33:49 +0000 (14:33 -0300)
commitaf43581e8b297b2527e0b1716b616b7ea1fc496f
treeda6994e3166f7b3881dc274bc007d05a27f9be2e
parent789bc293b3419cd4437dc6a7e99ec47882f91d04
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
src/backend/access/transam/xact.c
src/backend/utils/adt/pgstatfuncs.c