Commit 1d468b9
committed
Add query cancellation capabilities in pgbench init phase
This can be useful to stop data generation happening on the server for
long-running queries caused by large scale factors. This cannot happen
by default as data is generated on the client, but it is possible to
control the initialization steps of pgbench to do that.
Reported-by: Fujii Masao
Author: Fabien Coelho
Discussion: https://postgr.es/m/alpine.DEB.2.21.1910311939430.27369@lancre
Discussion: https://postgr.es/m/CAHGQGwHWEyTXxZh46qgFY8a2bDF_EYeUdp3+_Hy=qLZSzwVPKg@mail.gmail.com1 parent a4fd3aa commit 1d468b9
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
3894 | 3895 | | |
3895 | 3896 | | |
3896 | 3897 | | |
| 3898 | + | |
| 3899 | + | |
| 3900 | + | |
3897 | 3901 | | |
3898 | 3902 | | |
3899 | 3903 | | |
| |||
4109 | 4113 | | |
4110 | 4114 | | |
4111 | 4115 | | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
4112 | 4119 | | |
4113 | 4120 | | |
4114 | 4121 | | |
| |||
4176 | 4183 | | |
4177 | 4184 | | |
4178 | 4185 | | |
| 4186 | + | |
4179 | 4187 | | |
4180 | 4188 | | |
4181 | 4189 | | |
| |||
0 commit comments