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:55:43 +0300 |
commit | 40c3fe4980e73acb0db75a3c737a4a52e09d4cf4 (patch) | |
tree | bcd60d2ad9c63dcf8263dc7e5c8c1d2d55332117 /src/backend/access/gist/gistutil.c | |
parent | 6cc54f38a9fe1f4103c45a9858804d1d5d4de0fd (diff) | |
download | postgresql-40c3fe4980e73acb0db75a3c737a4a52e09d4cf4.tar.gz postgresql-40c3fe4980e73acb0db75a3c737a4a52e09d4cf4.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/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions