Re: fe-utils - share query cancellation code - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: fe-utils - share query cancellation code
Date
Msg-id 20191101133019.GA14405@alvherre.pgsql
Whole thread Raw
In response to Re: fe-utils - share query cancellation code  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: fe-utils - share query cancellation code  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On 2019-Nov-01, Fabien COELHO wrote:

> diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
> index 03bcd22996..389b4d7bcd 100644
> --- a/src/bin/pgbench/pgbench.c
> +++ b/src/bin/pgbench/pgbench.c
> @@ -59,9 +59,10 @@
>  
>  #include "common/int.h"
>  #include "common/logging.h"
> -#include "fe_utils/conditional.h"
>  #include "getopt_long.h"
>  #include "libpq-fe.h"
> +#include "fe_utils/conditional.h"
> +#include "fe_utils/cancel.h"
>  #include "pgbench.h"
>  #include "portability/instr_time.h"

wtf?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Add a GUC variable that control logical replication
Next
From: Justin Pryzby
Date:
Subject: Re: update ALTER TABLE with ATTACH PARTITION lock mode (docs)