Fix compiler warnings regarding DEFAULT_PGSOCKET_DIR.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 3 Oct 2023 01:46:46 +0000 (10:46 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 3 Oct 2023 01:52:35 +0000 (10:52 +0900)
commit9b95270c3073c3cc7878cd71d0e53b06aae7da1f
tree048b8d608ee4039c3323ee0134ce556f2f02e78e
parent72a171cb3e748eac0a968d295747a8b5d12e2467
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.
src/include/pcp/libpcp_ext.h
src/protocol/pool_process_query.c