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 20191101191742.GA10250@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:

> Because "cancel.h" requires PGconn declaration, thus must appear after
> "libpq-fe.h",

Then you need to add #include libpq-fe.h in cancel.h.  Our policy is
that headers compile standalone (c.h / postgres_fe.h / postgres.h
excluded).

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



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Remove configure --disable-float4-byval and --disable-float8-byval
Next
From: Robert Haas
Date:
Subject: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)