]> granicus.if.org Git - postgresql/commit
Use pg_stat_get_xact* functions within xacts
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 28 Mar 2018 04:21:00 +0000 (05:21 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 28 Mar 2018 04:21:00 +0000 (05:21 +0100)
commit5b0d7f6996abfc1e3e51bac62af6076903635dc8
treea83fc97c532ee762a68ae012496f85c1b0980388
parentf4f5845b3182ab930e525b1419bca47ac611604e
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.
src/test/regress/expected/func_index.out
src/test/regress/sql/func_index.sql