pgpool: Feature: Import PostgreSQL 19 parser.

From: Taiki Koshino <koshino(at)sraoss(dot)co(dot)jp>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Feature: Import PostgreSQL 19 parser.
Date: 2026-11-06 06:34:00
Message-ID: E1xPDWS-0000000Db2l-2TDI@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Feature: Import PostgreSQL 19 parser.

Major changes of PostgreSQL 19 parser include:
- Allow GROUP BY to process target list subqueries that have expressions referencing non-subquery columns.
- Allow window functions to ignore NULLs with the IGNORE NULLS/RESPECT NULLS clause.
- Add support for INSERT ... ON CONFLICT DO SELECT ... RETURNING.
- Add the REPACK command, which unifies the functionality of VACUUM FULL and CLUSTER. The old commands are retained for compatibility.
- Allow REPACK to rebuild tables without long-term access-exclusive locking by using the CONCURRENTLY option.
- Allow GRANT/REVOKE to specify the effective role performing the privileges adjustment.
- Support forward references in FOREIGN KEY constraints within CREATE SCHEMA.
- Allow CHECKPOINT to accept a list of options.
- Add CONNECTION clause to CREATE FOREIGN DATA WRAPPER to specify a function to be called for subscription connection parameters.
- Add memory usage and parallelism reporting to VACUUM (VERBOSE) and autovacuum logs.

Branch
------
master

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

Modified Files
--------------
src/include/parser/kwlist.h | 9 +-
src/include/parser/kwlist_d.h | 828 ++++++++++++-----------
src/include/parser/makefuncs.h | 6 +-
src/include/parser/nodes.h | 27 +-
src/include/parser/nodetags.h | 452 +++++++------
src/include/parser/parsenodes.h | 193 ++++--
src/include/parser/parser.h | 8 +-
src/include/parser/pg_class.h | 8 +-
src/include/parser/pg_config_manual.h | 27 +-
src/include/parser/pg_list.h | 44 +-
src/include/parser/pg_trigger.h | 8 +-
src/include/parser/pg_wchar.h | 244 ++-----
src/include/parser/primnodes.h | 110 +--
src/include/parser/scanner.h | 9 +-
src/include/parser/scansup.h | 4 +-
src/include/parser/stringinfo.h | 6 +-
src/include/parser/unicode_east_asian_fw_table.h | 21 +-
src/include/parser/unicode_nonspacing_table.h | 9 +-
src/include/parser/value.h | 4 +-
src/include/utils/elog.h | 27 +-
src/include/utils/palloc.h | 5 +
src/parser/copyfuncs.c | 16 +-
src/parser/gram.y | 687 ++++++++++++++-----
src/parser/gram_minimal.y | 687 ++++++++++++++-----
src/parser/gram_template.y | 687 ++++++++++++++-----
src/parser/keywords.c | 4 +-
src/parser/kwlookup.c | 4 +-
src/parser/list.c | 4 +-
src/parser/makefuncs.c | 9 +-
src/parser/outfuncs.c | 23 +-
src/parser/parser.c | 19 +-
src/parser/scan.l | 97 +--
src/parser/scansup.c | 4 +-
src/parser/snprintf.c | 103 +--
src/parser/stringinfo.c | 8 +-
src/parser/value.c | 4 +-
src/parser/wchar.c | 294 ++------
src/protocol/pool_process_query.c | 6 +-
src/sql/pgpool-regclass/pgpool-regclass.c | 1 +
src/test/parser/main.c | 5 -
40 files changed, 2730 insertions(+), 1981 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-11-06 10:59:56 pgpool: Feature: remove frontend/backend protocol v2 support.
Previous Message Tatsuo Ishii 2026-10-22 12:29:17 pgpool: Doc: add restriction on libpq's target_session_attrs.