[pgpool-committers: 9612] pgpool: Fix breakage in making pgpool_adm.

Tatsuo Ishii ishii at sraoss.co.jp
Sat Oct 7 06:31:28 JST 2023


Fix breakage in making pgpool_adm.

Since commit f54efc50 "Fix compiler warnings regarding
DEFAULT_PGSOCKET_DIR.", src/sql/pgpool_adm cannot be compiled with
error:
In file included from pgpool_adm.c:35:0:
../../include/pcp/libpcp_ext.h:32:37: fatal error: parser/pg_config_manual.h: No such file or directory
 #include "parser/pg_config_manual.h"

Since pgpool_adm is a PostgreSQL extension module, it should not
include Pgpool-II's pg_config_manual.h.  Rather than fixing pgpool_adm
to allow to include pgpool's pg_config_manual.h, modify libpcp_ext.h
so that it does not include pgpool's pg_config_manual.h if PGPOOL_ADM
is defined.

Branch
------
V4_3_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=9bf7dc03b20f4b04638bcad0e6ed5140ea890a8e

Modified Files
--------------
src/include/pcp/libpcp_ext.h | 2 ++
src/sql/pgpool_adm/Makefile  | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list