Feature: Import PostgreSQL 18 new parser. master
authorBo Peng <pengbo@sraoss.co.jp>
Fri, 3 Oct 2025 10:29:19 +0000 (19:29 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Fri, 3 Oct 2025 10:38:02 +0000 (19:38 +0900)
commitdf277163720a248f108192329de58077cd35ea4e
tree1d46905bd083411bfc2a94c99755c88721402d25
parent9e6408c58d50b65adb73e93c44131c1c53980fa7
Feature: Import PostgreSQL 18 new parser.

Major changes of PostgreSQL 18 parser include:
- Allow generated columns to be virtual
- Add OLD/NEW support to RETURNING in DML queries
- Addition of various constraints (e.g. WITHOUT OVERLAPS, ENFORCED / NOT ENFORCED)
- etc.
43 files changed:
src/include/parser/gramparse.h
src/include/parser/keywords.h
src/include/parser/kwlist.h
src/include/parser/kwlist_d.h
src/include/parser/makefuncs.h
src/include/parser/miscnodes.h [new file with mode: 0644]
src/include/parser/nodes.h
src/include/parser/nodetags.h
src/include/parser/parsenodes.h
src/include/parser/parser.h
src/include/parser/pg_class.h
src/include/parser/pg_config_manual.h
src/include/parser/pg_list.h
src/include/parser/pg_trigger.h
src/include/parser/pg_wchar.h
src/include/parser/pool_parser.h
src/include/parser/primnodes.h
src/include/parser/scanner.h
src/include/parser/scansup.h
src/include/parser/stringinfo.h
src/include/parser/unicode_east_asian_fw_table.h [new file with mode: 0644]
src/include/parser/unicode_nonspacing_table.h [new file with mode: 0644]
src/include/parser/value.h
src/main/pgpool_logger.c
src/parser/copyfuncs.c
src/parser/gram.y
src/parser/gram_minimal.y
src/parser/gram_template.y
src/parser/keywords.c
src/parser/kwlookup.c
src/parser/list.c
src/parser/makefuncs.c
src/parser/outfuncs.c
src/parser/parser.c
src/parser/scan.l
src/parser/scansup.c
src/parser/snprintf.c
src/parser/stringinfo.c
src/parser/value.c
src/parser/wchar.c
src/rewrite/pool_timestamp.c
src/tools/pgindent/enums.list
src/tools/pgindent/typedefs.list