pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix latency calculation when there are \sleep commands in the sc 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix latency calculation when there are \sleep commands in the sc @ 2016-09-19 20:04 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2016-09-19 20:04 UTC (permalink / raw) To: pgsql-committers 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> Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/40c3fe4980e73acb0db75a3c737a4a52e09d4cf4 Modified Files -------------- src/bin/pgbench/pgbench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix latency calculation when there are \sleep commands in the sc @ 2016-09-19 20:04 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2016-09-19 20:04 UTC (permalink / raw) To: pgsql-committers 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> Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/476945c451d675cc31cd89bce202b775cef45a8e Modified Files -------------- contrib/pgbench/pgbench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix latency calculation when there are \sleep commands in the sc @ 2016-09-19 20:04 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2016-09-19 20:04 UTC (permalink / raw) To: pgsql-committers 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> Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f65764a04a0cccbcd53bf413d6f73ecedaae21c6 Modified Files -------------- src/bin/pgbench/pgbench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix latency calculation when there are \sleep commands in the sc @ 2016-09-19 20:04 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 4+ messages in thread From: Heikki Linnakangas @ 2016-09-19 20:04 UTC (permalink / raw) To: pgsql-committers 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> Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/edb5c4097604c90e12649cdf24accc6052140b78 Modified Files -------------- src/bin/pgbench/pgbench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2016-09-19 20:04 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-09-19 20:04 pgsql: Fix latency calculation when there are \sleep commands in the sc Heikki Linnakangas <heikki.linnakangas@iki.fi> 2016-09-19 20:04 pgsql: Fix latency calculation when there are \sleep commands in the sc Heikki Linnakangas <heikki.linnakangas@iki.fi> 2016-09-19 20:04 pgsql: Fix latency calculation when there are \sleep commands in the sc Heikki Linnakangas <heikki.linnakangas@iki.fi> 2016-09-19 20:04 pgsql: Fix latency calculation when there are \sleep commands in the sc Heikki Linnakangas <heikki.linnakangas@iki.fi>
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