[pgpool-committers: 8784] pgpool: Retire pool_string module.

Tatsuo Ishii ishii at sraoss.co.jp
Fri Aug 26 14:33:01 JST 2022


Retire pool_string module.

Currently there are two string manipulation modules: pool_string and
StringInfo. StringInfo is more feature rich and PostgreSQL compatible
because it was imported from PostgreSQL. So replace all usages of
pool_string by StringInfo. This also solves a problem reported by
Peng: i.e. struct name "String" collision: pool_string uses "String"
and PostgreSQL 15's parser also uses "String".

Branch
------
master

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

Modified Files
--------------
src/include/parser/pg_list.h      |    2 +
src/include/parser/pool_string.h  |   38 -
src/main/pgpool_main.c            |   64 +-
src/parser/Makefile.am            |    1 -
src/parser/gram.y                 |    5 +-
src/parser/gram_minimal.y         |    5 +-
src/parser/outfuncs.c             | 3226 ++++++++++++++++++-------------------
src/parser/pool_string.c          |   95 --
src/protocol/CommandComplete.c    |   33 +-
src/protocol/pool_process_query.c |   37 +-
src/protocol/pool_proto_modules.c |   50 +-
src/test/parser/Makefile          |    5 +-
12 files changed, 1695 insertions(+), 1866 deletions(-)



More information about the pgpool-committers mailing list