[pgpool-committers: 9614] pgpool: Fix breakage in making pgpool_adm.
Tatsuo Ishii
ishii at sraoss.co.jp
Sat Oct 7 06:31:39 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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3158ef278cdc8b2edcbbb5e709d54dfa1f4c8e47
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