I forgot, about the test:
I think that it should be integrated in the existing
"001_pgbench_with_server.pl" script, because a TAP script is pretty
expensive as it creates a cluster, starts it… before running the test.
I'm surprise that IPC::Run does not give any access to the process number.
Anyway, its object interface seems to allow sending signal:
$h->signal("...")
So the code could be simplified to use that after a small delay.
--
Fabien.