From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use pg_stat_get_xact* functions within xacts
Date: Wed, 28 Mar 2018 04:22:07 +0000
Message-ID: <E1f12b9-0001h9-O4@gemulon.postgresql.org> (raw)
Use pg_stat_get_xact* functions within xacts
Resolve build farm failures from c203d6cf81b4d7e43,
diagnosed by Tom Lane.
The output of pg_stat_get_xact_tuples_hot_updated() and friends
is not guaranteed to show anything after the transaction completes.
Data is flushed slowly to stats collector, so using them can
give timing issues.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5b0d7f6996abfc1e3e51bac62af6076903635dc8
Modified Files
--------------
src/test/regress/expected/func_index.out | 9 ++++++---
src/test/regress/sql/func_index.sql | 9 ++++++---
2 files changed, 12 insertions(+), 6 deletions(-)
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: simon@2ndQuadrant.com
Subject: Re: pgsql: Use pg_stat_get_xact* functions within xacts
In-Reply-To: <E1f12b9-0001h9-O4@gemulon.postgresql.org>
References: <E1f12b9-0001h9-O4@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