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:59:44 +0300 |
commit | 476945c451d675cc31cd89bce202b775cef45a8e (patch) | |
tree | b34b4fedbf03688205da2a3521f8a91bb6114e59 /src/backend/executor/nodeWorktablescan.c | |
parent | ca93b816f823d3be3088095832c44232738b6553 (diff) |
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/executor/nodeWorktablescan.c')
0 files changed, 0 insertions, 0 deletions