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

Tatsuo Ishii ishii at sraoss.co.jp
Sat Oct 7 06:31:18 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_1_STABLE

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

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