Re: pgbench: allow to exit immediately when any client is aborted - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench: allow to exit immediately when any client is aborted
Date
Msg-id 2e3deb8a-9577-57cd-fd93-21917284b1@mines-paristech.fr
Whole thread Raw
In response to Re: pgbench: allow to exit immediately when any client is aborted  (Yugo NAGATA <nagata@sraoss.co.jp>)
Responses Re: pgbench: allow to exit immediately when any client is aborted
List pgsql-hackers
Hello Yugo-san,

>> I attached the updated patch v3 including changes above, a test,
>> and fix of the typo you pointed out.
>
> I'm sorry but the test in the previous patch was incorrect.
> I attached the correct one.

About pgbench exit on abort v3:

Patch does not "git apply", but is ok with "patch" although there are some
minor warnings.

Compiles. Code is ok. Tests are ok.

About Test:

The code is simple to get an error quickly but after a few transactions, 
good. I'll do a minimal "-c 2 -j 2 -t 10" instead of "-c 4 -j 4 -T 10".

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: Make psql's qeury canceling test simple by using signal() routine of IPC::Run
Next
From: Fabien COELHO
Date:
Subject: pgbench with libevent?