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

Tatsuo Ishii ishii at sraoss.co.jp
Wed Sep 20 15:17:04 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
------
master

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

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         | 28 ++++++++++++++--------------
6 files changed, 21 insertions(+), 43 deletions(-)



More information about the pgpool-committers mailing list