Remove duplication definitions of NAMEDATALEN.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 20 Sep 2023 06:07:26 +0000 (15:07 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 20 Sep 2023 06:07:26 +0000 (15:07 +0900)
commit3bd6941f193073ae9b9a646db096e78a2b6dd4ce
tree998e80827c45e118f848ed2b178b0006bca83a6f
parentd5861cef47fa3c50ca4e76d1b264bdad6f58387e
Remove duplication definitions of NAMEDATALEN.

The definition for NAMEDATALEN is now in
src/include/pg_config_manual.h only.  Also replace POOL_NAMEDATALEN
with NAMEDATALEN in src/utils/pool_select_walker.c.

I tried to eliminate copying pool_config_manual.h from PostgreSQL but
it seems it is a little bit difficult to do that at this moment.
There are some definitions like pg_attribute_format_arg were added to
it.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2023-August/004366.html
src/include/parser/pool_parser.h
src/include/pcp/libpcp_ext.h
src/include/pool.h
src/include/utils/pool_select_walker.h
src/protocol/pool_process_query.c
src/utils/pool_select_walker.c