diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-09-19 22:55:43 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2016-09-19 22:58:03 +0300 |
commit | edb5c4097604c90e12649cdf24accc6052140b78 (patch) | |
tree | 2a020d3e8a1138b9a58f3252da97a80741b42701 /src/include/access/gist_private.h | |
parent | 52acf020a11945ae22a910e3ea784bb23ccdd3a7 (diff) | |
download | postgresql-edb5c4097604c90e12649cdf24accc6052140b78.tar.gz postgresql-edb5c4097604c90e12649cdf24accc6052140b78.zip |
Fix latency calculation when there are \sleep commands in the script.
We can't use txn_scheduled to hold the sleep-until time for \sleep, because
that interferes with calculation of the latency of the transaction as whole.
Backpatch to 9.4, where this bug was introduced.
Fabien COELHO
Discussion: <alpine.DEB.2.20.1608231622170.7102@lancre>
Diffstat (limited to 'src/include/access/gist_private.h')
0 files changed, 0 insertions, 0 deletions