Re: pgbnech: allow to cancel queries during benchmark - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbnech: allow to cancel queries during benchmark
Date
Msg-id 7691ade8-78-dd4-e26-135ccfbf0e9@mines-paristech.fr
Whole thread Raw
In response to Re: pgbnech: allow to cancel queries during benchmark  (Yugo NAGATA <nagata@sraoss.co.jp>)
Responses Re: pgbnech: allow to cancel queries during benchmark
List pgsql-hackers
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.

pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: Remove distprep
Next
From: Amit Kapila
Date:
Subject: Re: logical decoding issue with concurrent ALTER TYPE