[pgpool-committers: 9590] pgpool: Fix compiler warnings regarding DEFAULT_PGSOCKET_DIR.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Oct 3 11:07:56 JST 2023


Fix compiler warnings regarding DEFAULT_PGSOCKET_DIR.

Commit 3bd6941f accidentally add "#include "pg_config_manual.h", which
should have been "#include parser/pg_config_manual.h".  This caused to
include parser/pg_config_manual.h and pg_config_manual.h, which caused
compiler warning:

../src/include/parser/pg_config_manual.h:227:0: warning: "DEFAULT_PGSOCKET_DIR" redefined [enabled by default]
 #define DEFAULT_PGSOCKET_DIR  "/tmp"

If DEFAULT_PGSOCKET_DIR value was different among these header files.

Reported by: Peng Bo.

Branch
------
V4_3_STABLE

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

Modified Files
--------------
src/include/pcp/libpcp_ext.h      | 2 +-
src/protocol/pool_process_query.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list