> 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).
Ok. I do not make a habit of adding headers in postgres, so I did not
notice there was an alphabetical logic to that.
Attached patch v4 does it.
--
Fabien.