[pgpool-committers: 9573] pgpool: Remove duplication definitions of NAMEDATALEN.

Tatsuo Ishii ishii at sraoss.co.jp
Wed Sep 20 18:48:09 JST 2023


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

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/include/parser/pool_parser.h       | 12 +-----------
src/include/pcp/libpcp_ext.h           |  5 +++--
src/include/pool.h                     | 13 -------------
src/include/utils/pool_select_walker.h |  5 ++---
src/protocol/pool_process_query.c      |  1 +
src/utils/pool_select_walker.c         | 12 ++++++------
6 files changed, 13 insertions(+), 35 deletions(-)



More information about the pgpool-committers mailing list